/* =========================================================
   CHICKEN WAY — couche Direction Artistique « panneau vitrine »
   Blanc dominant, rouge #c41c1b + bleu royal #24408f (logo/panneaux ext.)
   Écrit main le 2026-08-23 — remplace la couche AD paramétrique du générateur.
   ========================================================= */

/* Bowlby One n'a qu'une graisse : pas de gras synthétique (rendu baveux),
   tous les font-weight retombent sur la vraie graisse de la police. */
body {
  font-synthesis: none;
}

/* Sélection de texte aux couleurs de l'enseigne */
::selection {
  background: rgba(36, 64, 143, 0.18);
  color: var(--text-main);
}

/* Focus clavier : anneau bleu net sur fond blanc */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.nav-btn:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.5);
  outline-offset: 2px;
}

/* L'éyebrow de section légèrement penché — le dynamisme du lettrage du logo */
.section-subtitle {
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

/* Filet rouge sous les titres de section (soulignés du flyer) */
.section-title::after {
  content: '';
  position: absolute;
  left: 2px;
  right: -8px;
  bottom: -10px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}

.section-header {
  margin-bottom: 42px;
}

/* Icônes monolignes du header (SVG inline dans layout.html) */
.nav-btn svg {
  display: block;
}

.cart-btn {
  color: var(--primary);
}

/* Héros : léger cadre d'accent — deux rubans inclinés dans le coin haut,
   clin d'œil au split diagonal rouge/bleu des panneaux */
.hero::after {
  content: '';
  position: absolute;
  top: -70px;
  left: -140px;
  width: 420px;
  height: 150px;
  background:
    linear-gradient(115deg, var(--primary) 0 54%, transparent 54%),
    linear-gradient(115deg, var(--accent) 0 62%, transparent 62%);
  background-repeat: no-repeat;
  transform: rotate(-8deg);
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

@media (max-width: 640px) {
  .hero::after {
    top: -80px;
    left: -180px;
  }
}

/* Le CTA du héros, un cran plus grand */
.hero-content .btn-primary {
  padding: 17px 44px;
  font-size: 1.05rem;
}

/* Produit sans photo : coq en filigrane sur fond bleuté (jamais d'image cassée) */
.card-img--empty {
  display: block;
  background:
    url('/static/img/favicon.png') center / 96px auto no-repeat,
    linear-gradient(160deg, #f4f6fb 0%, #eaeef9 100%);
  opacity: 0.9;
}

/* =========================================================
   HÉROS sans bandeau déroulant : plus compact, double liseré en pied
   ========================================================= */
.hero {
  min-height: min(64vh, 600px);
  padding-bottom: 64px;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 8px 0 -4px var(--accent);
}

/* Le sous-titre du héros est désormais le H1 de la page (SEO) —
   même rendu que l'ancien paragraphe, on neutralise le style h1 de base. */
.hero-tagline {
  font-family: var(--font-family-accent);
  font-size: clamp(0.95rem, 3vw, 1.35rem);
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 36px;
}

/* =========================================================
   SECTION « NOTRE SAVOIR-FAIRE »
   ========================================================= */
.savoir-faire {
  padding: 40px 20px 90px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(var(--accent-rgb), 0.05) 0%, transparent 55%),
    #ffffff;
}

.sf-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .sf-inner { grid-template-columns: 1fr; gap: 40px; }
}

.sf-text .section-title { margin-bottom: 26px; }

.sf-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin: 18px 0 22px;
}

.sf-lead strong { color: var(--primary); }

.sf-points {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  line-height: 1.6;
}

.sf-points li strong { color: var(--accent); }

.sf-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 5px;
  border-radius: 3px;
  background: var(--primary);
  transform: skewX(-18deg);
}

.sf-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.sf-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-badge--red { background: var(--primary); color: #fff; }
.sf-badge--blue { background: var(--accent); color: #fff; }
.sf-badge--outline { background: #fff; color: var(--accent); border: 2px solid rgba(var(--accent-rgb), 0.4); }

/* Carte « échelle de force » — écrin bleu profond, chips vert → rouge (cf. flyer) */
.sf-scale {
  background: linear-gradient(170deg, var(--accent) 0%, var(--purple) 100%);
  border-radius: var(--radius-xl);
  border-top: 5px solid var(--primary);
  box-shadow: 0 22px 44px rgba(12, 20, 54, 0.3);
  padding: 34px 30px 28px;
  color: #fff;
}

.sf-scale-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffd9d9;
  transform: skewX(-6deg);
}

.sf-scale-title {
  color: #fff;
  font-size: 1.5rem;
  margin: 6px 0 22px;
}

.sf-heat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 20px;
}

.sf-heat li {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 8px;
  transform: skewX(-8deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.heat-1 { background: #3f9d4e; width: 58%; }
.heat-2 { background: #8db32f; width: 68%; }
.heat-3 { background: #e8a20c; width: 78%; }
.heat-4 { background: #e05a17; width: 88%; }
.heat-5 { background: var(--primary); width: 100%; }

.sf-scale-note {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Accessibilité : plus d'animations si l'utilisateur les refuse */
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  .hero-logo { animation: none; }
  .flash { animation: none; }
  .nav-drawer { animation: none; }
  .success-icon { animation: none; }
}
