/* ══════════════════════════════════════════════════════════════
   SYA CULTURE — Hero bannière cinématique wide
   Fichier : css/hero-mobile-fix.css
   ══════════════════════════════════════════════════════════════ */

/* ══ DESKTOP : bannière wide pleine largeur ═══════════════════ */
.hero-home {
  padding: 0;
  min-height: unset;
  height: auto;
  position: relative;
  overflow: hidden;
}

/* Container pleine largeur */
.hero-home .container {
  min-height: unset;
  padding: 0;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Layout : image en fond pleine largeur, texte par-dessus */
.hero-home-inner {
  display: block;
  position: relative;
  height: 320px; /* hauteur bannière — ajuste si besoin */
  width: 100%;
  margin: 0;
  max-width: 100%;
}

/* ── Image : fond pleine largeur ── */
.hero-home-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img-wrap {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  box-shadow: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Overlay sombre pour lisibilité du texte */
.hero-home-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,20,10,.82) 0%,
    rgba(8,20,10,.55) 50%,
    rgba(8,20,10,.15) 100%
  );
  z-index: 1;
}

.hero-img-glow  { display: none; }
.hero-img-badge { display: none; }

/* ── Texte : par-dessus l'image, aligné à gauche ── */
.hero-home-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 4rem;
  max-width: 600px;
  background: none;
}

.hero-badge {
  font-size: .55rem;
  padding: .28rem .75rem;
  margin-bottom: .5rem;
}

.hero-home-content h1 {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 .5rem;
}

.hero-home .hero-sub {
  font-size: .82rem;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: .85;
}

.hero-ctas {
  gap: .5rem;
  margin-bottom: .75rem;
}

.hero-ctas .btn {
  padding: .45rem 1rem;
  font-size: .8rem;
}

.hero-stats {
  padding-top: .65rem;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: .1rem;
}

.hero-stat-num   { font-size: 1.1rem; }
.hero-stat-label { font-size: .58rem; }
.hero-scroll-indicator { display: none; }

/* ══ TABLET 769–1024px ════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-home-inner  { height: 260px; }
  .hero-home-content { padding: 1.25rem 2.5rem; max-width: 500px; }
  .hero-home-content h1 { font-size: clamp(1.2rem, 3vw, 1.9rem); }
}

/* ══ MOBILE ≤768px ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-home-inner { height: 210px; }

  .hero-home-visual::after {
    background: linear-gradient(
      to bottom,
      rgba(8,20,10,.3) 0%,
      rgba(8,20,10,.75) 100%
    );
  }

  .hero-home-content {
    padding: 1rem 1.1rem;
    max-width: 100%;
    justify-content: flex-end;
  }

  .hero-badge { display: none; }

  .hero-home-content h1 {
    font-size: 1.2rem;
    margin-bottom: .3rem;
  }

  .hero-home .hero-sub { display: none; }

  .hero-ctas { margin-bottom: .5rem; gap: .35rem; }
  .hero-ctas .btn { padding: .38rem .8rem; font-size: .75rem; }

  .hero-stats       { padding-top: .5rem; }
  .hero-stat-num    { font-size: .95rem; }
  .hero-stat-label  { font-size: .52rem; }
  .hero-stat-divider { height: 18px; }
}

/* ══ PETIT MOBILE ≤480px ══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-home-inner  { height: 180px; }
  .hero-home-content h1 { font-size: 1.05rem; }
  .hero-ctas .btn   { padding: .32rem .7rem; font-size: .72rem; }
}

/* ══ RECETTES — 2 colonnes comme artisans ═════════════════════ */
#recettes .grid-cards {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
  #recettes .grid-cards { grid-template-columns: 1fr; }
}
