[hidden] {
  display: none !important;
}

:root {
  --color-bg: #0c1929;
  /* Couleur du bas de bg-desktop / bg-mobile (évite la couture visible) */
  --color-bg-image-base: #000324;
  --color-bg-mid: #0f2740;
  --bg-hero-height: 56.25vw;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-accent: #2dd4bf;
  --color-accent-dark: #0d9488;
  --color-accent-alt: #38bdf8;
  --color-card-border: rgb(45 212 191 / 0.35);
  --color-card-bg: rgb(12 32 52 / 0.94);
  --color-desc: #a5f3fc;
  --color-legal: #1e293b;
  --color-legal-bg: #e2e8f0;
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --radius-card: 14px;
  --shadow-cta: 0 4px 0 0 #0d9488;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reduce-motion *,
  .reduce-motion *::before,
  .reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--color-bg-image-base);
  color: var(--color-text);
  min-height: 100vh;
  background-image:
    linear-gradient( /* deslop-ignore 06 */
      180deg,
      rgb(0 3 36 / 0) 0,
      rgb(0 3 36 / 0) calc(var(--bg-hero-height) - 7rem),
      var(--color-bg-image-base) calc(var(--bg-hero-height) + 0.5rem)
    ),
    url("../assets/img/bg-desktop.webp?v=2");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, 100% auto;
  background-position: top center, top center;
  background-attachment: scroll, scroll;
}

body.is-locked {
  overflow: hidden;
}

@media (max-width: 900px) {
  body {
    --bg-hero-height: 56.22vw;
    background-image:
      linear-gradient( /* deslop-ignore 06 */
        180deg,
        rgb(0 3 36 / 0) 0,
        rgb(0 3 36 / 0) calc(var(--bg-hero-height) - 5rem),
        var(--color-bg-image-base) calc(var(--bg-hero-height) + 0.5rem)
      ),
      url("../assets/img/bg-mobile.webp?v=2");
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(10px, 3vw, 30px);
}

/* Top disclaimer bar */
.disclaimer-bar {
  display: flex;
  padding: 10px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgb(8 22 38 / 0.95);
  color: var(--color-muted);
  border-bottom: 1px solid rgb(45 212 191 / 0.2);
}

.disclaimer-bar .icon-inline {
  color: var(--color-accent);
}

.disclaimer-bar img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.disclaimer-bar span {
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  line-height: 1.35;
  text-align: left;
}

/* Navigation */
.site-nav {
  padding-block: 12px;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo img,
.site-nav__logo svg {
  max-height: 52px;
  width: auto;
  height: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__link {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  border-color: rgb(45 212 191 / 0.45);
  background: rgb(45 212 191 / 0.08);
}

.site-nav__toggle,
.site-nav__close {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.site-nav__backdrop {
  display: none;
}

@media (max-width: 500px) {
  .site-nav__inner {
    position: relative;
    z-index: 1;
  }

  /* Fermé : pas de liens dans le header (évite chevauchement avec le burger) */
  .site-nav__links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 48px 16px;
    z-index: 1000000;
    background: var(--color-bg-image-base);
    overflow-y: auto;
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__links.is-open + .site-nav__toggle {
    display: none;
  }

  .site-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.72);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav__backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1000001;
    color: var(--color-text);
  }

  .site-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--color-text);
  }

  .site-nav__logo img {
    max-height: 32px;
  }
}

/* Hero */
.hero {
  padding: clamp(12px, 4vw, 40px) clamp(16px, 5vw, 80px);
}

.hero__inner {
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 15px);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
}

.hero__lead {
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  line-height: 1.55;
  text-transform: capitalize;
}

/* Showcase */
.showcase {
  padding: 20px 40px;
}

.showcase__grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(0px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 384px));
  justify-content: center;
  gap: 32px;
}

@media (max-width: 1280px) {
  .showcase__grid {
    grid-template-columns: repeat(2, minmax(280px, 384px));
  }
}

@media (max-width: 900px) {
  .showcase__grid {
    grid-template-columns: minmax(0, 384px);
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .showcase__grid {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  background: var(--color-card-bg);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.25);
}

.offer-card__rank {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0b1a2a;
  box-shadow: 0 2px 8px rgb(45 212 191 / 0.35);
}

.offer-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-inline: 8px;
  min-height: 98px;
}

.offer-card__logo img {
  height: 98px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

.offer-card__score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.offer-card__score-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.offer-card__score-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.offer-card__score-value span {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-muted);
}

.offer-card__desc {
  margin: 0;
  text-align: center;
  color: var(--color-desc);
  font-size: 1rem;
  line-height: 1.75;
}

.offer-card__cta-wrap {
  max-width: 297px;
  margin-inline: auto;
  width: 100%;
}

.offer-card__cta-box {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.offer-card__cta-link {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 120%;
}

.offer-card__cta-label {
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  background: var(--color-accent);
  box-shadow: var(--shadow-cta);
  color: #042f2e;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 0;
  text-align: center;
  pointer-events: none;
}

.offer-card__cta-box:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: var(--radius-card);
}

/* Age gate */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(8 22 38 / 0.97);
}

.age-modal {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-card);
  border: 1px solid #fff;
  background: rgb(255 255 255 / 0.1);
  overflow: hidden;
}

.age-modal__body {
  padding: 32px 24px;
  text-align: center;
}

.age-modal__body h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  letter-spacing: 0.04em;
}

.age-modal__body p {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.55;
}

.age-modal__body a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.65);
}

.age-modal__actions {
  display: flex;
}

.age-modal__btn {
  flex: 1;
  min-height: 48px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
}

.age-modal__btn--leave {
  background: rgb(15 39 64 / 0.9);
  color: var(--color-text);
  border-top: 1px solid rgb(45 212 191 / 0.3);
}

.age-modal__btn--enter {
  background: var(--color-accent);
  color: #042f2e;
  font-weight: 700;
  font-size: 1rem;
}

.age-panel--deny {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.age-panel--deny img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.age-panel--deny svg {
  width: 56px;
  height: 56px;
  color: #f87171;
}

.age-panel--deny p {
  margin: 0;
  color: #fca5a5;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .age-modal__actions {
    flex-direction: column-reverse;
  }

  .age-modal__btn {
    width: 100%;
  }
}

/* Cloudflare gate */
.cf-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(8 22 38 / 0.97);
}

.cf-gate[hidden] {
  display: none !important;
}

.cf-box {
  width: 100%;
  max-width: 480px;
  padding: 16px;
  text-align: center;
  border-radius: var(--radius-card);
  border: 1px solid #fff;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 0 24px -4px rgb(17 12 45 / 0.36);
}

.cf-box h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.cf-box p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

#turnstile-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 65px;
}

.cf-continue {
  width: 100%;
  max-width: 156px;
  margin-inline: auto;
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.3);
  color: rgb(255 255 255 / 0.6);
  font-weight: 700;
  cursor: not-allowed;
  font-family: inherit;
}

.cf-continue.is-ready:not(:disabled) {
  background: var(--color-accent);
  box-shadow: var(--shadow-cta);
  color: #042f2e;
  cursor: pointer;
}

/* Footer */
.site-footer {
  width: min(1216px, calc(100% - 32px));
  margin-inline: auto;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-badges {
  padding: clamp(48px, 8vw, 64px) 0;
}

.footer-badges__row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: center;
  align-items: center;
  padding-inline: clamp(0px, 3vw, 32px);
}

.footer-badges__row img {
  max-height: 96px;
  max-width: 291px;
  width: auto;
}

.footer-badges__row .footer-badges__anj {
  max-height: 48px;
}

.footer-badges__row a {
  display: block;
  line-height: 0;
}

.footer-copy {
  padding: 32px clamp(0px, 3vw, 32px);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  text-transform: lowercase;
}

.footer-entity {
  padding: 0 clamp(0px, 3vw, 32px) 8px;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-entity p,
.footer-entity__address {
  margin: 0;
  font-style: normal;
}

.footer-entity__name {
  font-weight: 600;
}

.footer-bottom {
  padding-inline: clamp(0px, 3vw, 32px);
}

.footer-bottom__rule {
  background: rgb(45 212 191 / 0.35);
  height: 1px;
  margin-bottom: 24px;
}

.footer-bottom__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: baseline;
}

.footer-bottom__links a {
  font-size: 0.875rem;
  line-height: 1.35;
  text-transform: capitalize;
  text-decoration: underline; /* deslop-ignore 09 */
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
}

@media (max-width: 900px) {
  .footer-badges__row img {
    max-height: 72px;
    max-width: 194px;
  }

  .footer-bottom__row {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .footer-bottom__links {
    flex-direction: column;
    align-items: center;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(359px, calc(100% - 32px));
  padding: 16px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 11px -4px rgb(17 20 25 / 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 4px solid var(--color-accent);
  padding-bottom: 8px;
}

.cookie-banner__text {
  margin: 0;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
}

.cookie-banner__btn {
  flex: 1;
  height: 41px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 4px;
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: #042f2e;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
}

.cookie-banner__btn--custom {
  background: #fff;
  border: 1px solid #5f5f5f;
}

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(0 0 0 / 0.45);
}

.cookie-prefs[hidden] {
  display: none !important;
}

.cookie-prefs__panel {
  width: min(420px, 100%);
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 20px;
}

.cookie-prefs__panel h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.cookie-prefs__panel label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.cookie-prefs__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* Inner pages */
.page-main {
  padding: clamp(12px, 4vw, 68px) 16px clamp(48px, 8vw, 68px);
  min-height: calc(100vh - 162px);
}

.page-main--contact {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

body.page-contact .page-main {
  min-height: 0;
  flex: none;
}

.page-main__intro--contact {
  max-width: 640px;
}

.page-main__title {
  margin-bottom: 38px;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
}

.page-main__intro {
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.5;
}


.page-main h2,
.page-main h3,
.page-main p {
  margin: 0;
}

.page-content {
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;;
}

.page-content p,
.page-content li,
.page-content a {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
}

.page-content a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0;
  line-height: 1.35;
}

.page-content h3 {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
}

.page-content ul,
.page-content ol {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Contact form */
.contact-form {
  width: min(320px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: block;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
  border: 1px solid #eaecf0;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form__submit {
  cursor: pointer;
  border: none;
  border-radius: var(--radius-card);
  background: var(--color-accent);
  box-shadow: var(--shadow-cta);
  padding: 12px 0;
  color: #042f2e;
  font-weight: 700;
  font-size: 1.125rem;
  font-family: inherit;
}

.contact-form__success {
  border-radius: var(--radius-card);
  background: #2faa04;
  box-shadow: 3px 3px 0 0 #1d6902;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 600;
}

.contact-form__success[hidden] {
  display: none !important;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.error-page h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 0 0 12px;
}

.error-page a {
  color: var(--color-accent-alt);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.icon-inline {
  display: block;
  flex-shrink: 0;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--color-text);
  line-height: 0;
}

.nav-icon-btn svg {
  width: 24px;
  height: 24px;
}
