/* ==========================================================================
   Homepage hero (loaded on index pages only; shared design lives in modern.css)
   To add a real photo: put it at assets/img/hero.jpg and add class "has-photo"
   to <section class="hero-x"> in fr/index.html and en/index.html.
   ========================================================================== */
/* ---- Hero ---- */
.hero-x{
  position:relative; overflow:hidden; color:#fff; isolation:isolate;
  min-height:min(100svh, 880px); display:flex; align-items:center; justify-content:center;
  padding:130px 20px 110px; text-align:center;
  background:
    radial-gradient(520px 340px at 78% 22%, rgba(255,196,90,.26), transparent 62%),
    radial-gradient(460px 320px at 12% 30%, rgba(32,107,84,.55), transparent 65%),
    radial-gradient(380px 260px at 60% 82%, rgba(255,140,60,.14), transparent 65%),
    linear-gradient(180deg,#0f1513 0%,#121a17 55%,#0a0d0c 100%);
}
.hero-x.has-photo{
  background:
    linear-gradient(180deg, rgba(8,12,10,.62) 0%, rgba(8,12,10,.38) 45%, rgba(8,12,10,.80) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-x::after{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,0) 40%,rgba(0,0,0,.45)); }
.hero-inner{ position:relative; width:100%; max-width:980px; display:flex; flex-direction:column; align-items:center; }

.open-pill{
  display:inline-flex; align-items:center; gap:9px; margin-bottom:22px; padding:8px 16px; border-radius:999px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  font-size:14px; font-weight:600;
}
.open-pill i{ width:9px; height:9px; border-radius:50%; background:var(--open); animation:pulse 2s infinite; }
.open-pill.is-closed i{ background:#F59E0B; animation:none; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(74,222,128,.7)} 70%,100%{box-shadow:0 0 0 10px rgba(74,222,128,0)} }

.hero-x h1{
  font-family:var(--font-body); text-transform:none; font-weight:800; color:#fff;
  font-size:clamp(40px, 7vw, 88px); line-height:1.02; letter-spacing:-.025em; margin:0 0 20px; max-width:15ch;
  text-wrap:balance;
}
.hero-x h1 em{ font-style:normal; color:#8FD1B3; }
.hero-sub{ font-size:clamp(16px,1.6vw,20px); color:#E3E6E3; max-width:56ch; margin:0 auto 30px; font-weight:500; }

.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:26px; }
.cta-big{
  display:inline-flex; align-items:center; gap:12px; padding:19px 30px; border-radius:16px;
  font-family:var(--font-body); font-weight:700; font-size:18px; border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-big:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.35); }
.cta-big.--gold{ background:var(--cta); color:#111; }
.cta-big.--dark{ background:rgba(22,25,26,.85); color:#fff; border-color:#33393b; }
.cta-big svg{ width:24px; height:24px; }

.hero-search{
  width:min(760px,100%); display:flex; align-items:center; gap:10px; background:#fff; color:var(--ink);
  border-radius:999px; padding:7px 7px 7px 22px; box-shadow:0 14px 40px rgba(0,0,0,.35);
}
.hero-search svg{ color:#7a807c; }
.hero-search input{ flex:1; min-width:0; border:0; outline:0; background:none; font:500 17px var(--font-body); color:var(--ink); padding:12px 0; }
.hero-search input::placeholder{ color:#7a807c; }
.hero-search button{ border:0; cursor:pointer; background:var(--ink); color:#fff; border-radius:999px; padding:14px 26px; font:700 15px var(--font-body); }
.hero-search button:hover{ background:var(--forest); }
.hero-chips{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:16px; max-width:760px; }
.hero-chips a{
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:9px 16px;
  font-size:14px; font-weight:600; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:background .15s ease;
}
.hero-chips a:hover{ background:rgba(255,255,255,.24); }

.hero-badge{
  position:absolute; z-index:2; display:none; align-items:center; gap:10px; border-radius:999px;
  padding:12px 20px; font-weight:600; font-size:15px; background:rgba(20,26,24,.62);
  border:1px solid rgba(255,255,255,.2); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  animation:floaty 6s ease-in-out infinite;
}
.hero-badge svg{ stroke:#8FD1B3; }
.hero-badge.b1{ left:4%; bottom:13%; } .hero-badge.b2{ right:4%; bottom:22%; animation-delay:-2s; } .hero-badge.b3{ left:28%; bottom:5%; animation-delay:-4s; }
@keyframes floaty{ 50%{ transform:translateY(-8px); } }
@media (min-width:1100px){ .hero-badge{ display:inline-flex; } }

/* entrance */
.hero-inner > *{ opacity:0; transform:translateY(16px); animation:rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-inner > *:nth-child(2){ animation-delay:.08s } .hero-inner > *:nth-child(3){ animation-delay:.16s }
.hero-inner > *:nth-child(4){ animation-delay:.24s } .hero-inner > *:nth-child(5){ animation-delay:.32s } .hero-inner > *:nth-child(6){ animation-delay:.40s }
@keyframes rise{ to{ opacity:1; transform:none; } }

@media (max-width:680px){
  .hero-x{ min-height:0; padding:112px 18px 56px; }
  .hero-ctas{ flex-direction:column; width:100%; }
  .cta-big{ justify-content:center; width:100%; padding:17px; font-size:17px; }
  .hero-search{ padding-left:16px; }
  .hero-search input{ font-size:15px; }
  .hero-search button{ padding:12px 16px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-inner > *{ opacity:1; transform:none; animation:none; }
  .hero-badge, .open-pill i{ animation:none; }
}
