/* Shell page offre-auxo (aligné sur styles.css + about-reveal.js) */
:root {
  --bg: #07070a;
  --fg: rgba(246, 246, 248, 0.92);
  --text: #f6f6f8;
  --muted: rgba(246, 246, 248, 0.62);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.16);
  --accent: #7c5cff;
  --violet: #7c5cff;
  --ease: cubic-bezier(0.2, 0.85, 0.2, 1);
  --ease2: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Nav de base (surchargée par offre-auxo.css sur .offerPage) */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--fg);
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: url("../assets/logo.png") center / contain no-repeat;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link {
  font-size: 13px;
  color: var(--muted);
  transition: color 180ms var(--ease);
}

.nav__link:hover {
  color: var(--fg);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--stroke2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  cursor: pointer;
}

.nav__toggleIcon {
  display: grid;
  gap: 6px;
  width: 18px;
}

.nav__toggleBar {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 260ms var(--ease2), opacity 200ms var(--ease);
}

.nav.nav--open .nav__toggleBar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.nav--open .nav__toggleBar:nth-child(2) {
  opacity: 0;
}

.nav.nav--open .nav__toggleBar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 246, 248, 0.9);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.45);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(88, 56, 220, 0.92));
  border-color: rgba(124, 92, 255, 0.55);
  color: #fff;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(246, 246, 248, 0.78);
}

/* Scroll reveal — classe .is-in (about-reveal.js) */
.reveal {
  opacity: 0;
  transform: translate3d(0, clamp(16px, 2.5vh, 28px), 0);
  transition:
    opacity 900ms var(--ease2) var(--reveal-delay, 0ms),
    transform 900ms var(--ease2) var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal.reveal--fade {
  transform: none;
  filter: blur(6px);
  transition:
    opacity 820ms var(--ease2) var(--reveal-delay, 0ms),
    filter 820ms var(--ease2) var(--reveal-delay, 0ms);
}

.reveal.reveal--fade.is-in {
  transform: none;
  filter: blur(0);
}

/* Hero visible dès le chargement (page is-ready dans le head) */
html.is-ready .offerPage .offerHero .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

/* Footer */
.siteFooter {
  border-top: 1px solid var(--stroke);
  padding: 48px clamp(20px, 5vw, 48px) 32px;
  background: linear-gradient(180deg, #06060c, #050509);
}

.siteFooter__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.siteFooter__top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 20px;
}

.siteFooter__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.siteFooter__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: url("../assets/logo.png") center / contain no-repeat;
}

.siteFooter__name {
  font-size: 13px;
}

.siteFooter__tagline {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 200px;
}

.siteFooter__rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.siteFooter__kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.siteFooter__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.siteFooter__metaLink {
  font-size: 14px;
  color: rgba(246, 246, 248, 0.78);
  transition: color 180ms var(--ease);
}

.siteFooter__metaLink:hover {
  color: var(--fg);
}

.siteFooter__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

.siteFooter__fineprint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.siteFooter__bottomLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.46);
  color: rgba(246, 246, 248, 0.88);
  cursor: pointer;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.1) inset;
  backdrop-filter: blur(10px);
  transform: translate3d(0, 10px, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms var(--ease2),
    opacity 220ms var(--ease2),
    border-color 220ms var(--ease2),
    box-shadow 220ms var(--ease2),
    background-color 220ms var(--ease2);
}

.toTop.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.toTop:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(124, 92, 255, 0.14) inset,
    0 0 44px rgba(124, 92, 255, 0.12);
}

.toTop:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow:
    0 0 0 4px rgba(124, 92, 255, 0.18),
    0 0 54px rgba(124, 92, 255, 0.14);
}

.toTop__icon {
  width: 14px;
  height: 14px;
  position: relative;
  opacity: 0.92;
}

.toTop__icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid rgba(246, 246, 248, 0.86);
  border-top: 2px solid rgba(246, 246, 248, 0.86);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 201;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 88px 24px 40px;
    background: rgba(4, 4, 8, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition:
      opacity 320ms var(--ease2),
      visibility 320ms var(--ease2),
      transform 320ms var(--ease2);
  }

  .nav.nav--open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav__links .nav__link {
    font-size: clamp(20px, 5vw, 28px);
    text-align: center;
  }
}

/* CTA premium (utilisé en fin de page offre) */
.aboutEditorial__ctaBtn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(188, 166, 255, 0.5);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(88, 56, 220, 0.9));
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.2) inset, 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 220ms var(--ease2), box-shadow 220ms var(--ease2);
}

.aboutEditorial__ctaBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.35) inset, 0 22px 50px rgba(124, 92, 255, 0.25);
}

.aboutEditorial__ctaBtn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .toTop {
    transition: none !important;
  }
}

/* --- Cookie consent --- */
.cookieBanner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  pointer-events: none;
}

.cookieBanner__inner {
  pointer-events: auto;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px;
}

.cookieBanner__title {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.88);
}

.cookieBanner__text {
  margin: 0;
  color: rgba(246, 246, 248, 0.76);
  max-width: 80ch;
}

.cookieBanner__text a {
  border-bottom: 1px solid rgba(124, 92, 255, 0.32);
}

.cookieBanner__text a:hover {
  border-bottom-color: rgba(124, 92, 255, 0.72);
}

.cookieBanner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookieBanner__btn {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookieBanner__inner {
    grid-template-columns: 1fr;
  }

  .cookieBanner__actions {
    justify-content: flex-start;
  }
}

.cookieSettingsBtn {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 14, 0.62);
  color: rgba(246, 246, 248, 0.88);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 160ms var(--ease2), border-color 160ms var(--ease2), background 160ms var(--ease2);
}

.cookieSettingsBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(10, 10, 14, 0.74);
}

.cookieSettingsBtn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18), 0 18px 60px rgba(0, 0, 0, 0.55);
}

.cookieModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookieModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cookieModal__panel {
  position: relative;
  width: min(720px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.78);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px;
}

.cookieModal__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 10%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(110% 90% at 85% 0%, rgba(246, 246, 248, 0.06), transparent 60%);
  opacity: 0.9;
}

.cookieModal__head,
.cookieModal__card,
.cookieModal__foot,
.cookieModal__text {
  position: relative;
  z-index: 1;
}

.cookieModal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookieModal__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
}

.cookieModal__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cookieModal__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(246, 246, 248, 0.82);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 160ms var(--ease2), border-color 160ms var(--ease2);
}

.cookieModal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
}

.cookieModal__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.cookieModal__text {
  margin: 14px 0 0;
  color: rgba(246, 246, 248, 0.78);
}

.cookieModal__card {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.cookieModal__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cookieModal__rowTitle {
  margin: 0 0 6px;
  color: rgba(246, 246, 248, 0.92);
  font-weight: 600;
}

.cookieModal__rowText {
  margin: 0;
  color: rgba(246, 246, 248, 0.74);
}

.cookieModal__rowText a {
  border-bottom: 1px solid rgba(124, 92, 255, 0.32);
}

.cookieModal__rowText a:hover {
  border-bottom-color: rgba(124, 92, 255, 0.72);
}

.cookieModal__rowActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookieModal__hint {
  margin: 12px 0 0;
  color: rgba(246, 246, 248, 0.62);
  font-size: 12px;
}

.cookieModal__foot {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .cookieModal__row {
    grid-template-columns: 1fr;
  }

  .cookieModal__rowActions {
    justify-content: flex-start;
  }
}
