/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

/* Fond dégradé chaleureux */
.hero__bg {
  position: absolute;
  inset: 0;
  /* Photo de fond : images/fond-accueil.jpg
     (si le fichier est absent, le dégradé brun/vert s'affiche à la place) */
  background:
    linear-gradient(rgba(25, 15, 8, 0.45), rgba(25, 15, 8, 0.60)),
    url("../images/fond-accueil.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 30% 60%, rgba(92,107,58,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgba(192,122,74,0.2) 0%, transparent 55%),
    linear-gradient(155deg, #2e1a0c 0%, #4a3020 50%, #3a4a28 100%);
  z-index: 0;
}

/* Texture grain discrète */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* Motif subtil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  animation: heroFadeIn 1s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.hero__badge {
  display: inline-block;
  background: rgba(192, 122, 74, 0.18);
  border: 1px solid rgba(192, 122, 74, 0.42);
  color: #f0c896;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 1.75rem;
}

/* Titre principal */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300;
  color: #faf7f2;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__title em {
  color: var(--color-clay);
  font-style: italic;
}

/* Sous-titre */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-light);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

/* Boutons */
.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 3px;
  transition: all var(--transition);
  cursor: pointer;
  display: inline-block;
}

.btn--primary {
  background: var(--color-clay);
  color: #fff;
  border: 1px solid var(--color-clay);
}

.btn--primary:hover {
  background: var(--color-clay-light);
  border-color: var(--color-clay-light);
}

.btn--outline {
  background: transparent;
  color: #f0e6d3;
  border: 1px solid rgba(240, 230, 211, 0.35);
}

.btn--outline:hover {
  border-color: rgba(240, 230, 211, 0.7);
  color: #fff;
}

/* Pills */
.hero__pills {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Flèche scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
  color: rgba(255,255,255,0.65);
}

.hero__scroll-arrow {
  font-size: 1rem;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 600px) {
  .hero__title { font-size: 2.4rem; }
  .hero__subtitle { font-size: 0.88rem; }
  .hero__scroll { display: none; }
}

/* ---- Note moyenne ---- */
.hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 20px;
  border-radius: 30px;
  display: inline-flex;
}

.hero__stars {
  color: #f0c050;
  font-size: 1rem;
  letter-spacing: 2px;
}

.hero__rating-score {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: #faf7f2;
}

.hero__rating-count {
  font-size: 0.75rem;
  color: var(--color-light);
  font-family: var(--font-body);
}
