/* =========================================================
   Soleva — Réalisations & avis (Soleva Home + Soleva Pro)
   Maquette Figma : desktop 1600 / mobile 390
   ========================================================= */

:root {
  --navy: #082849;
  --navy-60: rgba(8, 40, 73, .6);
  --navy-20: rgba(8, 40, 73, .2);
  --navy-08: rgba(8, 40, 73, .08);
  --green: #07b230;
  --green-dark: #176b52;
  --green-tint: #eaf3ef;
  --blue: #0376d1;
  --blue-tint: #e6f1fb;
  --orange: #f7931e;
  --grey: #f7f7f7;
  --white: #fff;
  --home-bg: #f5f9fd;
  --pro-bg: #f4f9f6;
  --footer-bg: #0e1218;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-btn: "Inter", var(--font);

  --container: 1300px;
  --gutter: 20px;
  --section-y: 140px;
  --radius: 4px;
  --radius-lg: 8px;
  --nav-h: 101px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding-block: var(--section-y); border-top: 1px solid var(--navy-08); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Typo ---------- */
.h2 { font-size: 40px; font-weight: 600; line-height: 1.1; }
.lead { font-size: 19px; line-height: 1.5; color: rgba(8, 40, 73, .8); }
.center { text-align: center; }
.c-green { color: var(--green); }
.c-blue { color: var(--blue); }
.c-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px 12px 24px;
  border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font-btn); font-weight: 500; font-size: 16px; line-height: 1.15;
  letter-spacing: -.6px; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn svg { width: 19px; height: 11px; flex: none; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--green { background: var(--green-dark); color: var(--white); }
.btn--bright { background: var(--green); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); }
.btn--outline-blue { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline-green { background: var(--white); color: var(--green-dark); border: 1.5px solid var(--green-dark); }

.reassurance {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 400; line-height: 1; color: rgba(8, 40, 73, .4);
}
.reassurance svg { width: 16px; height: 16px; }
.reassurance--light { color: rgba(255, 255, 255, .64); }

.cta-stack { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .6px; text-transform: uppercase;
}
.pill--home { background: var(--blue-tint); color: var(--blue); }
.pill--pro { background: var(--green-tint); color: var(--green-dark); }

/* ---------- Logos ---------- */
.logo-home { height: 60px; width: auto; }
.logo-pro { height: 60px; width: auto; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(8, 40, 73, .08);
}
.nav__inner {
  height: 100%; width: min(1457px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brands { display: flex; align-items: center; gap: 20px; }
.nav__sep { width: 1px; height: 40px; background: var(--navy-20); }
.nav__links { display: flex; gap: 36px; font-size: 16px; color: rgba(8, 40, 73, .72); }
.nav__links a:hover { color: var(--navy); }
.nav__ctas { display: flex; gap: 12px; }
.nav__burger { display: none; }
.nav__panel { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 1000px; padding: calc(var(--nav-h) + 40px) var(--gutter) 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .7);
}
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; z-index: -1;
  background: rgba(255, 255, 255, .35);
}
.hero__content { max-width: 1200px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 100px;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 400; line-height: 1.35;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.hero h1 { font-size: 60px; font-weight: 700; line-height: 1.1; max-width: 1100px; }
.hero__lead { max-width: 750px; font-size: 19px; font-weight: 400; color: rgba(255, 255, 255, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero__labels {
  position: absolute; left: 48px; right: 48px; bottom: 48px;
  display: flex; justify-content: space-between; gap: 12px;
}
.brand-label {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 100px;
  background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 14px; line-height: 1;
}
.brand-label b { font-weight: 700; letter-spacing: .6px; white-space: nowrap; }
.brand-label b .long { color: inherit; }
.brand-label span { color: rgba(8, 40, 73, .7); }
.brand-label i { width: 10px; height: 10px; border-radius: 50%; }
.brand-label--home b { color: var(--blue); }
.brand-label--home i { background: var(--orange); }
.brand-label--pro b { color: var(--green-dark); }
.brand-label--pro i { background: var(--green); }

/* =========================================================
   SOCIAL PROOF (médias / certifications)
   ========================================================= */
.proof { padding-block: 40px; border-top: 1px solid var(--navy-08); }
.proof__inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.proof__label { font-size: 14px; font-weight: 400; color: var(--navy-60); }
.proof__logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; }
.proof__logos a { transition: opacity .15s ease; }
.proof__logos a:hover { opacity: .7; }
.proof__logos img { width: auto; }
.logo-of { height: 48px; }
.logo-maville { height: 26px; }
.logo-provence { height: 30px; }
.logo-rge { height: 50px; }
.logo-qualipv { height: 70px; }
.logo-decennale { height: 64px; }

/* =========================================================
   CHOIX DE MARQUE
   ========================================================= */
.choice__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 48px; }
.choice__head .lead { max-width: 820px; }
.choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.brand-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--navy-20); border-radius: var(--radius-lg);
}
.brand-card--home { border-top: 6px solid var(--orange); }
.brand-card--pro { border-top: 6px solid var(--green); }
.brand-card__img { width: 100%; height: 300px; object-fit: cover; }
.brand-card__body { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.brand-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-card__top img { height: 56px; width: auto; }
.brand-card h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.checklist { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.4; }
.checklist li { display: flex; gap: 10px; }
.checklist li::before { content: "✓"; font-weight: 800; }
.brand-card--home .checklist li::before { color: var(--blue); }
.brand-card--pro .checklist li::before { color: var(--green); }
.brand-card .btn { margin-top: auto; align-self: flex-start; }

/* =========================================================
   GALERIES
   ========================================================= */
.gallery--home { background: var(--home-bg); padding-block: 120px; }
.gallery--pro { background: var(--pro-bg); padding-block: 120px; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.gallery__intro { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.gallery__brand { display: flex; align-items: center; gap: 16px; }
.gallery__brand img { height: 64px; width: auto; }
.gallery__intro .lead { max-width: 760px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey); aspect-ratio: 310 / 260; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__more { display: none; }

/* =========================================================
   CTA DOUBLE
   ========================================================= */
.cta-double { padding-block: 0 140px; }
.cta-double .container { padding-top: 140px; }
.cta-double__box {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); overflow: hidden;
}
.cta-double__half { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 56px; }
.cta-double__half h2 { font-size: 28px; font-weight: 700; line-height: 1.15; }
.cta-double__half p { color: rgba(255, 255, 255, .75); max-width: 520px; }
.cta-double__sep { background: rgba(255, 255, 255, .15); }

/* =========================================================
   POURQUOI
   ========================================================= */
.why { background: var(--grey); }
.why__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.why__head .lead { max-width: 860px; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px;
  background: var(--white); border: 1px solid rgba(8, 40, 73, .14); border-radius: 8px;
}
.why-card__num { font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: .5px; color: var(--green); }
.why-card h3 { font-size: 22px; font-weight: 600; line-height: 1.2; }
.why-card__sub { font-size: 17px; font-weight: 600; font-style: italic; line-height: 1.4; color: rgba(8, 40, 73, .85); }
.why-card p:not(.why-card__sub) { font-size: 16px; font-weight: 400; line-height: 1.55; color: rgba(8, 40, 73, .75); }

/* =========================================================
   AVIS
   ========================================================= */
.reviews { background: var(--grey); }
.reviews__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.reviews__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.reviews__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.reviews__brand { display: flex; align-items: center; gap: 12px; }
.reviews__brand img { height: 44px; width: auto; }
.reviews__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review {
  display: flex; flex-direction: column; margin: 0; overflow: hidden;
  background: var(--white); border: 1px solid var(--navy); border-radius: var(--radius);
}
.review img { width: 100%; height: 190px; object-fit: cover; }
.carousel-dots { display: none; }
.review__body { display: flex; flex-direction: column; gap: 14px; padding: 20px; flex: 1; }
.stars { color: #ffba1a; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.5; }
.review figcaption { margin-top: auto; font-size: 15px; line-height: 1.3; }
.review figcaption b { display: block; font-weight: 700; }
.review figcaption span { font-size: 13px; font-weight: 400; color: var(--navy-60); }
.reviews__note { margin-top: 32px; text-align: center; font-size: 12px; font-weight: 400; color: rgba(8, 40, 73, .4); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--footer-bg); color: var(--white); padding: 112px 0 48px; }
.footer__bg { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 14, 20, .84); }
.footer__inner { display: flex; flex-direction: column; gap: 48px; }
.footer__line { height: 1px; background: rgba(255, 255, 255, .14); }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__title { font-size: 56px; font-weight: 500; line-height: 1.15; letter-spacing: -1.5px; }
.footer__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__links { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logos {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 16px; padding: 12px 20px;
  background: var(--white); border-radius: var(--radius-lg);
}
.footer__logos img { height: 52px; width: auto; }
.footer__logos span { width: 1px; height: 34px; background: var(--navy-20); }
.footer__brand p { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a, .footer__col address { font-size: 14px; font-weight: 400; font-style: normal; line-height: 1.3; color: rgba(255, 255, 255, .72); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .65); }
.footer__bottom nav { display: flex; gap: 32px; }
.footer__bottom a:hover { color: var(--white); }

/* =========================================================
   TABLETTE
   ========================================================= */
@media (max-width: 1280px) {
  .nav__links { display: none; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__cols { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  :root { --section-y: 96px; }
  .hero { min-height: 820px; }
  .hero h1 { font-size: 48px; }
  .choice__grid, .why__grid { grid-template-columns: 1fr 1fr; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .cta-stack { align-items: flex-start; }
  .cta-double__box { grid-template-columns: 1fr; }
  .cta-double__sep { height: 1px; }
  .footer__title { font-size: 44px; }
}

/* =========================================================
   MOBILE (maquette 390)
   ========================================================= */
@media (max-width: 768px) {
  :root { --section-y: 64px; --nav-h: 65px; }
  body { font-size: 16px; }
  .h2 { font-size: 28px; line-height: 1.15; }
  .lead { font-size: 16px; }
  .btn { width: 100%; padding: 14px 20px; }

  /* nav */
  .nav { position: sticky; top: 0; height: auto; background: var(--white); backdrop-filter: none; box-shadow: none; border-bottom: 1px solid var(--navy-08); }
  .nav__inner { width: auto; padding: 12px var(--gutter); }
  .nav__brands { gap: 12px; }
  .nav__brands img { height: 38px; }
  .nav__sep { height: 28px; }
  .nav__ctas { display: none; }
  .nav__burger {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: var(--radius-lg); background: var(--grey); color: var(--navy); cursor: pointer;
  }
  .nav__burger svg { width: 20px; height: 20px; }
  .nav__panel {
    display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 20px;
    border-top: 1px solid var(--navy-08); background: var(--white);
  }
  .nav__panel[hidden] { display: none; }
  .nav__panel a:not(.btn) { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--navy-08); }
  .nav__panel .btn { margin-top: 12px; }

  /* hero */
  .hero { min-height: 0; padding: 56px var(--gutter) 154px; justify-content: flex-start; }
  .hero::before { background: rgba(0, 0, 0, .72); }
  .hero::after { background: rgba(255, 255, 255, .24); }
  .hero__content { gap: 16px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero__lead { font-size: 16px; }
  .hero__ctas { flex-direction: column; width: 100%; gap: 10px; }
  .hero__labels { position: static; margin-top: 110px; width: 100%; }
  .brand-label { padding: 8px 12px; gap: 6px; font-size: 11px; }
  .brand-label i { width: 8px; height: 8px; }
  .brand-label .long { display: none; }

  /* proof */
  .proof { padding-block: 28px; }
  .proof__inner { flex-direction: column; gap: 14px; }
  .proof__label { font-size: 13px; }
  .proof__logos { gap: 20px; flex-wrap: nowrap; }
  .logo-of { height: 34px; }
  .logo-maville { height: 18px; }
  .logo-provence { height: 21px; }
  .logo-rge { height: 34px; }
  .logo-qualipv { height: 48px; }
  .logo-decennale { height: 46px; }

  /* choix */
  .choice__head { margin-bottom: 20px; }
  .choice__grid { grid-template-columns: 1fr; gap: 20px; }
  .brand-card__img { height: 190px; }
  .brand-card__body { padding: 20px; gap: 16px; }
  .brand-card__top img { height: 44px; }
  .brand-card h3 { font-size: 20px; }
  .checklist { font-size: 15px; gap: 8px; }
  .brand-card .btn { align-self: stretch; }
  .pill { font-size: 11px; padding: 5px 10px; letter-spacing: .5px; }

  /* galeries */
  .gallery--home, .gallery--pro { padding-block: 64px; }
  .gallery__head { gap: 20px; margin-bottom: 20px; }
  .gallery__brand { gap: 12px; }
  .gallery__brand img { height: 48px; }
  .cta-stack { width: 100%; align-items: stretch; }
  .cta-stack .reassurance { display: none; }
  .gallery__grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery__item { aspect-ratio: 350 / 240; border-radius: 6px; }
  .gallery:not(.is-expanded) .gallery__item:nth-child(n + 7) { display: none; }
  .gallery__more { display: flex; margin-top: 20px; }
  .gallery.is-expanded .gallery__more { display: none; }

  /* cta double */
  .cta-double { padding-block: 8px 56px; }
  .cta-double .container { padding-top: 0; }
  .cta-double__half { padding: 24px; gap: 12px; }
  .cta-double__half h2 { font-size: 22px; }
  .cta-double__half p { font-size: 15px; }

  /* pourquoi */
  .why__head { align-items: flex-start; margin-bottom: 20px; }
  .why__head .center { text-align: left; }
  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 20px; gap: 10px; }
  .why-card__num { font-size: 14px; }
  .why-card h3 { font-size: 19px; }
  .why-card__sub, .why-card p:not(.why-card__sub) { font-size: 15px; }

  /* avis */
  .reviews__head { align-items: flex-start; text-align: left; margin-bottom: 20px; }
  .reviews__head .center { text-align: left; }
  .reviews__cards {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .reviews__cards::-webkit-scrollbar { display: none; }
  .reviews__cards .review { flex: 0 0 290px; scroll-snap-align: start; }
  .carousel-dots { display: flex; gap: 6px; }
  .carousel-dots span { width: 8px; height: 8px; border-radius: 4px; opacity: .25; transition: width .25s ease, opacity .25s ease; }
  .carousel-dots--home span { background: var(--blue); }
  .carousel-dots--pro span { background: var(--green-dark); }
  .carousel-dots span.is-active { width: 20px; opacity: 1; }
  .reviews__brand img { height: 40px; }
  .review img { height: 180px; }
  .reviews__note { font-size: 11px; }

  /* footer */
  .footer { padding: 56px 0 32px; }
  .footer__inner { gap: 28px; }
  .footer__title { font-size: 32px; line-height: 1.2; letter-spacing: -1px; }
  .footer__btns { flex-direction: column; width: 100%; gap: 10px; }
  .footer__links { flex-direction: column; gap: 28px; }
  .footer__logos { padding: 10px 16px; }
  .footer__logos img { height: 44px; }
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; font-size: 12px; }
  .footer__bottom nav { flex-direction: column; gap: 8px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero__bg img { animation: hero-zoom 1.8s cubic-bezier(.22, .61, .36, 1) both; }
.hero__bg img + img { animation-delay: .12s; }
.hero::after { animation: fade-in 1.2s .5s ease both; }
.hero__content > * { animation: fade-up .9s cubic-bezier(.22, .61, .36, 1) both; }
.hero__content > :nth-child(1) { animation-delay: .25s; }
.hero__content > :nth-child(2) { animation-delay: .4s; }
.hero__content > :nth-child(3) { animation-delay: .55s; }
.hero__content > :nth-child(4) { animation-delay: .7s; }
.hero__content > :nth-child(5) { animation-delay: .85s; }
.nav { animation: fade-in .8s .1s ease both; }

.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero::after, .hero__content > *, .nav { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
