/* ===========================
   RESET & BASE
   =========================== */

:root {
  --ink: #17131f;
  --cream: #fff8ec;
  --paper: #f9edd8;
  --coral: #ff5f4e;
  --cyan: #40d9d0;
  --yellow: #ffc857;
  --muted: #746b7e;
  --line: #dfcfbd;
  --shadow: 0 18px 50px rgba(23, 19, 31, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(64, 217, 208, .2), transparent 24%),
    radial-gradient(circle at 3% 72%, rgba(255, 95, 78, .13), transparent 26%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: 10;
  inset: 0;
  opacity: .055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}


/* ===========================
   HEADER / NAVIGATION
   =========================== */

.topbar {
  height: 82px;
  padding: 20px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 4;
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 31px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 50% 46% 52% 48%;
  background: var(--coral);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 17px;
  transform: rotate(-10deg);
}

.auth-dropdown {
  position: relative;
}

.admin-trigger {
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 99px;
  padding: 10px 15px;
  display: flex;
  gap: 9px;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-trigger b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(64, 217, 208, .18);
}

.auth-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 180px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: .22s ease;
}

.auth-dropdown:hover .auth-menu,
.auth-dropdown:focus-within .auth-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: authEnterAnimation .22s ease both;
}

.auth-menu a {
  display: block;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
}

.auth-menu a:hover {
  background: #302b39;
  color: var(--yellow);
}


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

.hero {
  min-height: 665px;
  max-width: 1370px;
  margin: auto;
  padding: 50px clamp(20px, 7vw, 108px) 90px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 22px;
  animation: fade .65s ease both;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(74px, 10.6vw, 160px);
  line-height: .83;
  letter-spacing: .015em;
  margin: 0 0 26px;
  max-width: 760px;
  animation: zoomEnter .8s cubic-bezier(.2, .8, .2, 1) both;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-desc {
  max-width: 450px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  animation: homepageSearchBoxEnter .8s .14s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fade .8s .28s ease both;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 15px 21px;
  border-radius: 9px;
  font-weight: 700;
  transition: .2s;
  box-shadow: 5px 5px 0 var(--coral);
}

.primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--coral);
}

.secondary {
  display: inline-flex;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-weight: 700;
}

.secondary:hover {
  background: var(--yellow);
}

.hero-art {
  height: 450px;
  position: relative;
  animation: zoomEnter .9s .12s ease both;
}

.hero-card {
  position: absolute;
  inset: 50px 22px 35px 55px;
  background: var(--ink);
  border-radius: 48% 52% 45% 55% / 42% 38% 62% 58%;
  transform: rotate(6deg);
  box-shadow: 18px 24px 0 rgba(255, 200, 87, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 248, 236, .28);
  border-radius: 50%;
  width: 245px;
  height: 245px;
}

.hero-card::after {
  width: 330px;
  height: 330px;
}

.record {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #302b39 0 5px, #221d2a 6px 8px);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 16px rgba(255, 248, 236, .05);
  position: relative;
}

.record::after {
  content: "";
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--coral);
  border: 7px solid var(--yellow);
}

.card-label {
  position: absolute;
  bottom: 39px;
  left: 62px;
  color: var(--cream);
  font-family: "Bebas Neue";
  font-size: 25px;
  letter-spacing: .1em;
  transform: rotate(-6deg);
}


/* ===========================
   STICKERS FLOTTANTS
   =========================== */

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
  font-family: "Bebas Neue";
  letter-spacing: .06em;
  box-shadow: 7px 10px 0 rgba(23, 19, 31, .12);
}

.sticker-red {
  width: 121px;
  height: 121px;
  border-radius: 48% 52% 43% 57%;
  background: var(--coral);
  color: var(--cream);
  top: 18px;
  right: 8px;
  transform: rotate(13deg);
  animation: floatingStickerRed 4.7s ease-in-out infinite;
}

.sticker-blue {
  width: 109px;
  height: 109px;
  border-radius: 52% 48% 55% 45%;
  background: var(--cyan);
  color: var(--ink);
  bottom: 16px;
  left: 1px;
  transform: rotate(-14deg);
  animation: floatingStickerBlue 5.2s .4s ease-in-out infinite;
}

.sticker-logo {
  width: 91px;
  height: 91px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 25px;
  line-height: .84;
  top: 102px;
  left: 0;
  transform: rotate(-12deg);
  animation: floatingStickerLogo 5.5s .2s ease-in-out infinite;
}

.tiny {
  font-family: "DM Sans";
  font-size: 9px;
  letter-spacing: .1em;
  display: block;
  margin-top: 7px;
}


/* ===========================
   VAGUES SVG (DESSIN AU LOAD)
   =========================== */

.wave-round,
.wave-square {
  position: absolute;
  pointer-events: none;
}

.wave-round {
  right: -20px;
  top: 22px;
  width: 235px;
  height: 105px;
  transform: rotate(-9deg);
}

.wave-square {
  left: -15px;
  bottom: 0;
  width: 190px;
  height: 74px;
  transform: rotate(7deg);
}

.wave-round path,
.wave-square path {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 580;
  stroke-dashoffset: 580;
  animation: drawWave 1.8s .4s cubic-bezier(.5, 0, .2, 1) forwards;
}

.wave-square path {
  stroke: var(--cyan);
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation-delay: .65s;
}


/* ===========================
   SECTIONS GÉNÉRIQUES
   =========================== */

.section {
  padding: 95px clamp(20px, 7vw, 108px);
  max-width: 1370px;
  margin: auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.kicker {
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section h2 {
  font-family: "Bebas Neue";
  font-size: clamp(49px, 6vw, 76px);
  font-weight: 400;
  line-height: .9;
  margin: 10px 0 0;
}

.section-intro {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.55;
}


/* ===========================
   LISTE DES ANIMATIONS
   =========================== */

.menu-list {
  border-top: 1px solid var(--line);
}

.vertical-menu-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 21px 4px;
  transition: .28s ease;
  position: relative;
}

.vertical-menu-item:hover {
  padding-left: 16px;
  background: rgba(255, 200, 87, .14);
}

.item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-size: 22px;
  flex: none;
}

.item-copy {
  flex: 1;
}

.item-title {
  font-family: "Bebas Neue";
  font-size: 34px;
  letter-spacing: .025em;
  line-height: 1;
}

.item-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.chevron {
  font-size: 27px;
  transform: translateX(-8px);
  opacity: 0;
  transition: .25s;
  color: var(--coral);
}

.vertical-menu-item:hover .chevron {
  opacity: 1;
  transform: none;
}

.badge {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge-count {
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
}


/* ===========================
   SECTION "ILS ONT TESTÉ"
   =========================== */

.tested {
  background: var(--ink);
  color: var(--cream);
  max-width: none;
  padding-left: clamp(20px, 7vw, 108px);
  padding-right: clamp(20px, 7vw, 108px);
  position: relative;
  overflow: hidden;
}

.tested .kicker {
  color: var(--cyan);
}

.tested .section-intro {
  color: #b1a8b8;
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 42px;
}

.press-logo {
  height: 126px;
  border: 1px solid #403846;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c8bfca;
  font-family: "Bebas Neue";
  font-size: 27px;
  letter-spacing: .08em;
  transition: .28s;
  transform: rotate(var(--tilt));
}

.press-logo:hover {
  transform: rotate(0) scale(1.06);
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.press-logo small {
  display: block;
  font-family: "DM Sans";
  font-size: 9px;
  letter-spacing: .13em;
  margin-top: 4px;
}


/* ===========================
   FOOTER
   =========================== */

.footer {
  padding: 27px clamp(20px, 7vw, 108px);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  gap: 15px;
}

.footer b {
  color: var(--ink);
  font-family: "Bebas Neue";
  font-size: 22px;
  letter-spacing: .08em;
}


/* ===========================
   KEYFRAMES
   =========================== */

@keyframes floating {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}

@keyframes floatingStickerRed {
  0%, 100% { transform: translateY(0) rotate(13deg); }
  50%      { transform: translateY(-15px) rotate(7deg); }
}

@keyframes floatingStickerBlue {
  0%, 100% { transform: translateY(0) rotate(-14deg); }
  50%      { transform: translateY(-11px) rotate(-19deg); }
}

@keyframes floatingStickerLogo {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50%      { transform: translateY(-13px) rotate(-4deg); }
}

@keyframes drawWave {
  to { stroke-dashoffset: 0; }
}

@keyframes zoomEnter {
  from {
    opacity: 0;
    transform: scale(.88) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes homepageSearchBoxEnter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes authEnterAnimation {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* ===========================
   ACCESSIBILITÉ
   =========================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


/* ===========================
   RESPONSIVE MOBILE
   =========================== */

@media (max-width: 760px) {

  .topbar {
    height: 70px;
  }

  .admin-trigger {
    padding: 9px 11px;
  }

  .admin-trigger span {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 47px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(70px, 21vw, 116px);
  }

  .hero-art {
    height: 310px;
    margin-top: 35px;
  }

  .hero-card {
    inset: 22px 28px 25px 48px;
  }

  .record {
    width: 115px;
    height: 115px;
  }

  .record::after {
    width: 24px;
    height: 24px;
    border-width: 5px;
  }

  .card-label {
    bottom: 25px;
    left: 51px;
    font-size: 18px;
  }

  .sticker-red {
    width: 90px;
    height: 90px;
    right: 0;
    top: 0;
  }

  .sticker-blue {
    width: 82px;
    height: 82px;
    left: -4px;
    bottom: 3px;
  }

  .sticker-logo {
    width: 70px;
    height: 70px;
    top: 49px;
    left: 0;
    font-size: 19px;
  }

  .tiny {
    font-size: 7px;
    margin-top: 4px;
  }

  .wave-round {
    right: -50px;
    top: -12px;
    transform: scale(.72) rotate(-9deg);
  }

  .wave-square {
    left: -42px;
    bottom: -2px;
    transform: scale(.72) rotate(7deg);
  }

  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .section-head {
    display: block;
  }

  .section-intro {
    margin-top: 18px;
  }

  .item-title {
    font-size: 28px;
  }

  .item-sub {
    font-size: 11px;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .press-logo {
    height: 95px;
    font-size: 22px;
  }

  .footer {
    display: block;
  }

  .footer span {
    display: block;
    margin-top: 8px;
  }

}