/* ==========================================================================
   EnesGraphics — site public
   ========================================================================== */

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  position: relative;
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 112px 0;
  }
}

/* ----- Chargement initial ------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

/* Les animations d'entrée attendent la disparition de l'écran de chargement */
.is-loading,
.is-loading * {
  animation-play-state: paused !important;
}

.loader-logo {
  font-size: 28px;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

@keyframes loader-pulse {
  50% {
    opacity: 0.4;
  }
}

/* ----- Apparition au scroll ---------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + var(--delay, 0ms));
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    filter: none;
  }
}

/* ----- Étiquette + titre de section -------------------------------------- */

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.heading--left {
  align-items: flex-start;
  text-align: left;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.heading h2 {
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.heading p {
  max-width: 560px;
  font-size: 16px;
  color: var(--fg-muted);
}

@media (min-width: 768px) {
  .heading p {
    font-size: 18px;
  }
}

/* ----- Navbar ------------------------------------------------------------ */

.nav-wrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  animation: nav-in 0.8s var(--ease-out) both;
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1152px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.02);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.5s,
    border-color 0.5s,
    box-shadow 0.5s;
}

.nav.is-scrolled,
.nav.is-open {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(11 11 16 / 0.8);
  box-shadow: 0 10px 40px -10px rgb(0 0 0 / 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.logo {
  font-size: 18px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  position: relative;
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  opacity: 0;
  transition:
    transform 0.45s var(--ease-out),
    width 0.45s var(--ease-out),
    opacity 0.3s;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 12px;
  font-weight: 500;
}

.lang-switch button {
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition:
    background 0.2s,
    color 0.2s;
}

.lang-switch button:hover {
  color: var(--fg);
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: #000;
}

.nav .lang-switch {
  display: none;
}

@media (min-width: 640px) {
  .nav .lang-switch {
    display: flex;
  }
}

.burger {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
}

.burger span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out);
}

.burger span:first-child {
  transform: translateY(-4px);
}

.burger span:last-child {
  transform: translateY(4px);
}

.is-open .burger span:first-child {
  transform: rotate(45deg);
}

.is-open .burger span:last-child {
  transform: rotate(-45deg);
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 112px 24px 40px;
  background: rgb(7 7 10 / 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    filter 0.5s var(--ease-out);
  transition-delay: calc(var(--i) * 50ms + 50ms);
}

.mobile-menu.is-open li {
  opacity: 1;
  transform: none;
  filter: none;
}

.mobile-menu a {
  display: block;
  padding: 8px 0;
  font-size: 36px;
}

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ----- Halos, grille ----------------------------------------------------- */

.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  animation: blob 18s ease-in-out infinite;
  will-change: transform;
}

.blob--1 {
  left: -10%;
  top: -20%;
  width: min(55vw, 720px);
  height: min(55vw, 720px);
  background: color-mix(in oklab, var(--accent) 25%, transparent);
  filter: blur(120px);
}

.blob--2 {
  right: -15%;
  top: 10%;
  width: min(45vw, 600px);
  height: min(45vw, 600px);
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  filter: blur(130px);
  animation-delay: -6s;
  animation-duration: 22s;
}

.blob--3 {
  bottom: -20%;
  left: 30%;
  width: min(35vw, 480px);
  height: min(35vw, 480px);
  background: rgb(107 92 255 / 0.1);
  filter: blur(120px);
  animation-delay: -12s;
  animation-duration: 26s;
}

@keyframes blob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(8%, -6%, 0) scale(1.12);
  }
  66% {
    transform: translate3d(-6%, 5%, 0) scale(0.92);
  }
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* ----- Bandeaux infinis --------------------------------------------------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--gap, 20px);
  animation: marquee var(--duration, 40s) linear infinite;
}

.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: var(--gap, 20px);
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
}

/* ----- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 144px 0 0;
}

/* Les halos s'effacent avant le bas de la section (sinon ils y sont coupés net) */
.hero .blobs {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

@media (min-width: 768px) {
  .hero {
    padding: 176px 0 0;
  }
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg-muted);
  animation: fade-up 0.8s var(--ease-out) both;
}

.badge-dot {
  position: relative;
  width: 10px;
  height: 10px;
}

.badge-dot::before,
.badge-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
}

.badge-dot::before {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot.is-closed::before,
.badge-dot.is-closed::after {
  background: #fbbf24;
  animation: none;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 10.5vw, 9.5rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.split-line {
  display: block;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  vertical-align: bottom;
}

.split-word > span {
  display: inline-block;
  animation: word-in 1s var(--ease-out) both;
  animation-delay: calc(var(--i) * 90ms + 150ms);
}

@keyframes word-in {
  from {
    transform: translateY(105%) rotate(4deg);
    opacity: 0;
    filter: blur(8px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
}

.hero-sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: 16px;
  color: var(--fg-muted);
  animation: fade-up 0.9s var(--ease-out) 0.55s both;
}

@media (min-width: 640px) {
  .hero-sub {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 20px;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  animation: fade-up 0.9s var(--ease-out) 0.7s both;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/*
 * Les deux rangées sont inclinées : on leur laisse de la marge (padding) pour que
 * l'inclinaison ne soit jamais coupée, et le fondu vers le bas est fait avec un masque
 * sur l'ensemble des rangées (pas de dégradé posé par-dessus, qui laissait une ligne).
 */
.hero-rows {
  position: relative;
  margin-top: 24px;
  padding: 40px 0 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
  animation: rows-in 1.2s var(--ease-out) 0.85s both;
}

@media (min-width: 768px) {
  .hero-rows {
    margin-top: 6px;
    padding: 90px 0 110px;
  }
}

@keyframes rows-in {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
}

.hero-rows-tilt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: rotate(-4deg) scale(1.1);
}

.hero-thumb {
  position: relative;
  width: 260px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: 0 20px 60px -20px rgb(0 0 0 / 0.9);
}

@media (min-width: 640px) {
  .hero-thumb {
    width: 340px;
  }
}

@media (min-width: 1024px) {
  .hero-thumb {
    width: 400px;
  }
}

.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .split-word > span,
  .hero-sub,
  .hero-ctas,
  .hero-rows,
  .badge,
  .nav-wrap {
    animation: none;
  }
}

/* ----- Chiffres clés ----------------------------------------------------- */

.stats {
  display: grid;
  gap: 16px;
  padding: 40px 0;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .stats {
    padding: 64px 0;
  }
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
}

.stat::before {
  content: "";
  position: absolute;
  top: -64px;
  left: 50%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  filter: blur(40px);
}

.stat-value {
  position: relative;
  font-size: clamp(3.5rem, 7vw, 4.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  position: relative;
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ----- Trusted by ---------------------------------------------------------- */

.creator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px 16px 16px;
  border-radius: 16px;
  transition: border-color 0.3s;
}

.creator:hover {
  border-color: rgb(255 255 255 / 0.2);
}

.creator-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.creator-name .icon {
  color: var(--accent);
}

.creator-subs {
  font-size: 14px;
  color: var(--fg-muted);
}

.avatar {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 70%, transparent), #1a1a24);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Onglets (galerie, tarifs, contact) ------------------------------- */

.tabs {
  position: relative;
  display: flex;
  max-width: 100%;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 999px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.3s;
}

.tab:hover {
  color: var(--fg);
}

.tab[aria-selected="true"],
.tab[aria-checked="true"] {
  color: #fff;
}

.tabs--light .tab[aria-checked="true"] {
  color: #000;
}

.tab .icon {
  font-size: 16px;
}

.tab-pill {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 6px 24px -6px var(--accent);
  transition:
    transform 0.45s var(--ease-out),
    width 0.45s var(--ease-out);
}

.tabs--light .tab-pill {
  background: #fff;
  box-shadow: none;
}

@media (min-width: 640px) {
  .tabs--wide .tab {
    padding: 10px 24px;
  }
}

/* ----- Galerie ------------------------------------------------------------- */

.work-tabs {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.work-grids {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.grid-wide,
.grid-square {
  display: grid;
  gap: 20px;
}

.grid-wide {
  grid-template-columns: 1fr;
}

.grid-square {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .grid-wide {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-square {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-wide {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-square {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tilt {
  perspective: 1000px;
  border-radius: 16px;
}

.tilt-inner {
  position: relative;
  border-radius: inherit;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.tilt:hover .tilt-inner {
  --s: 1.03;
  transition: transform 0.15s linear;
}

.thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: var(--bg-soft);
  text-align: left;
}

.thumb-btn--wide {
  aspect-ratio: 16 / 9;
}

.thumb-btn--square {
  aspect-ratio: 4 / 5;
}

.thumb-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.8), transparent 60%);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.thumb-caption span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tilt:hover .thumb-caption,
.thumb-btn:focus-visible .thumb-caption {
  opacity: 1;
}

/* Reflet qui suit la souris + reflet qui passe */
.glare,
.sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glare {
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / 0.28), transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.3s;
}

.tilt:hover .glare {
  opacity: 1;
}

.sheen {
  overflow: hidden;
}

.sheen::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.25), transparent);
  transform: skewX(-12deg);
  transition: left 0.7s var(--ease-out);
}

.tilt:hover .sheen::after {
  left: 150%;
}

.work-item {
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    filter 0.45s var(--ease-out);
}

.work-item.is-entering {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(8px);
}

.work-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ----- Lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  position: relative;
  width: 92vw;
  max-width: 1152px;
  height: 78vh;
  touch-action: pan-y;
}

.lightbox-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  max-width: 80vw;
  transform: translateX(-50%);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  color: rgb(255 255 255 / 0.7);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  font-size: 20px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: rgb(255 255 255 / 0.2);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  display: none;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 24px;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (min-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    display: flex;
  }
}

/* ----- Process ------------------------------------------------------------- */

.step-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
  color: rgb(255 255 255 / 0.2);
}

.step {
  position: relative;
  width: 300px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--fg);
}

@media (min-width: 640px) {
  .step {
    width: 360px;
  }
}

.step-bg-num {
  position: absolute;
  top: -24px;
  right: -8px;
  font-size: 128px;
  line-height: 1;
  color: rgb(255 255 255 / 0.04);
  pointer-events: none;
}

.step-num {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent);
  font-size: 18px;
  color: var(--accent);
}

.step h3,
.card-title {
  margin-top: 24px;
  font-size: 24px;
}

.step p,
.card-text {
  margin-top: 8px;
  color: var(--fg-muted);
}

/* ----- Cartes avec halo qui suit la souris ------------------------------- */

.spot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.spot::before,
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.spot::before {
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%);
}

.spot::after {
  padding: 1px;
  background: radial-gradient(300px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in oklab, var(--accent) 70%, transparent), transparent 60%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.spot:hover::before,
.spot:hover::after {
  opacity: 1;
}

.spot > * {
  position: relative;
}

/* ----- Avantages ------------------------------------------------------------ */

.benefits {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit {
  height: 100%;
  padding: 28px;
}

.card-title--sm {
  font-size: 20px;
}

.icon-tile {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 30%, transparent), color-mix(in oklab, var(--accent) 5%, transparent));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  font-size: 20px;
  color: var(--accent);
}

/* ----- Tarifs ---------------------------------------------------------------- */

.pricing-glow {
  position: absolute;
  top: 33%;
  left: 50%;
  width: 80%;
  height: 500px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  filter: blur(140px);
  pointer-events: none;
}

.plans {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-wrap {
  position: relative;
  animation: fade-up 0.5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}

@media (min-width: 1024px) {
  .plan-wrap.is-featured {
    transform: translateY(-12px);
  }
}

.plan-wrap.is-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  background: linear-gradient(to bottom, var(--accent), color-mix(in oklab, var(--accent) 10%, transparent));
  opacity: 0.9;
}

.plan {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 28px;
}

.plan-wrap.is-featured .plan {
  background: #0e0b0e;
  border-color: transparent;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 {
  font-size: 20px;
}

.pill-accent {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 20px var(--accent);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 24px;
}

.plan-price strong {
  font-size: 48px;
  line-height: 1;
}

.plan-price span {
  padding-bottom: 4px;
  color: var(--fg-muted);
}

.plan-count {
  margin-top: 8px;
  color: var(--fg-muted);
}

/* « 13,75 € / miniature · −31 % » */
.plan-per {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--fg-subtle);
}

.plan-save {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(34 197 94 / 0.14);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
}

/* Garanties sous les formules */
.plan-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--fg-muted);
}

.plan-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plan-trust .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #4ade80;
}

/* Mobile : une garantie par ligne, alignées dans un encadré discret */
@media (max-width: 640px) {
  .plan-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 420px;
    margin-top: 24px;
    padding: 6px 18px;
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: 18px;
    background: rgb(255 255 255 / 0.025);
  }

  .plan-trust li {
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    line-height: 1.4;
  }

  .plan-trust li + li {
    border-top: 1px solid rgb(255 255 255 / 0.06);
  }

  .plan-trust .icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }
}

.plan-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding: 20px 0;
  border-block: 1px solid rgb(255 255 255 / 0.08);
  font-size: 14px;
}

.plan-meta dt {
  color: var(--fg-subtle);
}

.plan-meta dd {
  margin-top: 2px;
  font-weight: 500;
}

.plan-features {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg-muted);
}

.plan-features .icon {
  margin-top: 2px;
  color: var(--accent);
}

.plan .btn {
  margin-top: 32px;
}

.custom-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
}

@media (min-width: 768px) {
  .custom-card {
    flex-direction: row;
    align-items: center;
  }
}

.custom-card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.custom-card h3 {
  font-size: 20px;
}

.icon-tile--neutral {
  background: rgb(255 255 255 / 0.06);
}

/* ----- Avis ------------------------------------------------------------------ */

.review {
  position: relative;
  overflow: hidden;
  max-width: 896px;
  margin: 48px auto 0;
  padding: 40px 24px;
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .review {
    padding: 56px 48px;
  }
}

.review-quote {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 64px;
  color: color-mix(in oklab, var(--accent) 15%, transparent);
}

.review blockquote {
  font-size: 20px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .review blockquote {
    font-size: 24px;
  }
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.review-slide {
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    filter 0.45s var(--ease-out);
}

.review-slide.is-leaving {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(8px);
}

.review-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.review-nav .icon-btn {
  width: 40px;
  height: 40px;
  background: rgb(255 255 255 / 0.06);
}

.dots {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  transition:
    width 0.3s,
    background 0.3s;
}

.dots span.is-active {
  width: 24px;
  background: var(--accent);
}

/* ----- FAQ ------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr 1.4fr;
  }
  .faq-layout .heading {
    position: sticky;
    top: 128px;
    align-self: start;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.faq-item.is-open {
  border-color: rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.05);
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 500;
}

@media (min-width: 640px) {
  .faq-q {
    font-size: 18px;
  }
}

.faq-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  font-size: 16px;
  transition:
    transform 0.4s var(--ease-out),
    background 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 24px 24px;
  white-space: pre-line;
  color: var(--fg-muted);
}

/* ----- Contact --------------------------------------------------------------- */

.contact {
  overflow: hidden;
}

.contact .blobs {
  opacity: 0.6;
}

.contact-inner {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
}

.contact-tabs {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.contact-panel {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .contact-panel {
    padding: 40px;
  }
}

.contact-panel-body {
  animation: fade-up 0.35s var(--ease-out) both;
}

.placeholder {
  padding: 40px 0;
  text-align: center;
  color: var(--fg-muted);
}

.placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  color: var(--fg);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg-muted);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.social:hover {
  border-color: rgb(255 255 255 / 0.25);
  color: var(--fg);
}

.social svg {
  width: 16px;
  height: 16px;
}

/* ----- Footer ---------------------------------------------------------------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.footer-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 30px;
}

.footer-tagline {
  max-width: 380px;
  margin-top: 12px;
  color: var(--fg-muted);
}

.footer .lang-switch {
  width: fit-content;
  margin-top: 24px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-links svg {
  width: 16px;
  height: 16px;
}

.footer-big {
  margin-top: 56px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(2rem, 8.4vw, 8rem);
  line-height: 0.8;
  color: rgb(255 255 255 / 0.03);
  user-select: none;
}

/* Texte décoratif : dessiné en CSS pour ne pas être lu ni contrôlé comme du contenu */
.footer-big::before {
  content: attr(data-text);
}

.footer-copy {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-subtle);
}

/* ----- Curseur personnalisé ------------------------------------------------ */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition:
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    margin 0.3s var(--ease-out),
    background 0.3s,
    opacity 0.3s;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-hover {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: rgb(255 255 255 / 0.12);
}

@media (pointer: fine) {
  html.has-cursor,
  html.has-cursor * {
    cursor: none !important;
  }
}

/* ----- Page 404 ------------------------------------------------------------- */

.notfound {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  text-align: center;
}

.notfound-code {
  font-size: clamp(7rem, 30vw, 18rem);
  line-height: 0.85;
}

.notfound p {
  max-width: 420px;
  margin: 20px auto 32px;
  color: var(--fg-muted);
}

/* ==========================================================================
   Formulaire de commande
   ========================================================================== */

.of-progress {
  margin-bottom: 28px;
}

.of-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--fg-subtle);
}

.of-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.of-steps li > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.3s,
    color 0.3s;
}

.of-steps li.is-current {
  color: var(--fg);
}

.of-steps li.is-current > span,
.of-steps li.is-done > span {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 520px) {
  .of-steps li:not(.is-current) {
    font-size: 0;
    gap: 0;
  }
}

.of-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
}

.of-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 60%, #fff), var(--accent));
  box-shadow: 0 0 16px var(--accent);
  transition: width 0.6s var(--ease-out);
}

.of-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fade-up 0.45s var(--ease-out) both;
}

.of-title {
  font-size: 24px;
  outline: none;
}

.of-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.of-label {
  font-size: 14px;
  font-weight: 500;
}

.of-optional {
  font-weight: 400;
  color: var(--fg-subtle);
}

.of-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 14px;
  background: rgb(0 0 0 / 0.3);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.of-input::placeholder {
  color: var(--fg-subtle);
}

.of-input:focus {
  border-color: color-mix(in oklab, var(--accent) 60%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}

.of-input[aria-invalid="true"] {
  border-color: rgb(248 113 113 / 0.7);
}

textarea.of-input {
  resize: vertical;
}

input[type="date"].of-input {
  color-scheme: dark;
}

.of-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .of-row {
    grid-template-columns: 1fr 1fr;
  }
}

.of-error {
  font-size: 13px;
  color: #f87171;
}

.of-hint {
  font-size: 13px;
  color: var(--fg-subtle);
}

.of-alert {
  padding: 12px 16px;
  border: 1px solid rgb(248 113 113 / 0.3);
  border-radius: 14px;
  background: rgb(239 68 68 / 0.1);
  font-size: 14px;
  color: #fecaca;
}

.of-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.of-chip {
  padding: 9px 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  font-size: 14px;
  color: var(--fg-muted);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.of-chip:hover {
  border-color: rgb(255 255 255 / 0.25);
  color: var(--fg);
}

.of-chip[aria-checked="true"] {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: #fff;
}

.of-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.of-group {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.of-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.02);
  text-align: left;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.of-plan:hover {
  border-color: rgb(255 255 255 / 0.22);
}

.of-plan[aria-checked="true"] {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.of-radio {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  transition: border-color 0.2s;
}

.of-plan[aria-checked="true"] .of-radio {
  border-color: var(--accent);
}

.of-plan[aria-checked="true"] .of-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.of-plan-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.of-plan-body span {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Formule « Sur mesure » : choix du nombre de miniatures */
.of-custom.is-selected {
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.of-custom.is-selected .of-plan {
  border-color: transparent;
  background: none;
}

.of-custom .of-plan {
  width: 100%;
}

/* Le contour de focus entoure tout le bloc (option + nombre), pas seulement l'option :
   sinon deux cadres rouges se superposent quand « Sur mesure » est choisi */
.of-custom.is-selected .of-plan:focus-visible {
  outline: none;
}

.of-custom.is-selected:has(.of-plan:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.of-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 0 16px 16px 50px;
}

.of-qty .of-label {
  width: 100%;
  margin: 0;
}

.of-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.of-step-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.04);
  font-size: 20px;
  line-height: 1;
  color: var(--fg);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.of-step-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
}

.of-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.of-qty-input {
  width: 72px;
  height: 40px;
  padding: 0 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}

.of-qty-input::-webkit-inner-spin-button,
.of-qty-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.of-qty-total {
  font-size: 15px;
  color: var(--fg-muted);
}

.of-qty-total strong {
  font-size: 18px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .of-qty {
    padding-left: 16px;
  }
}

/* Champ piège à robots (invisible) */
.of-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.of-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.of-summary-block {
  padding: 18px 20px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.02);
}

.of-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.of-summary-head h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.of-link {
  font-size: 14px;
  color: var(--accent);
}

.of-link:hover {
  text-decoration: underline;
}

.of-summary-block dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.of-summary-block dl > div {
  display: grid;
  gap: 2px 16px;
}

@media (min-width: 640px) {
  .of-summary-block dl > div {
    grid-template-columns: 180px 1fr;
  }
}

.of-summary-block dt {
  color: var(--fg-subtle);
}

.of-summary-block dd {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.of-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-align: center;
  animation: fade-up 0.6s var(--ease-out) both;
}

.of-check {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 60px var(--accent);
  font-size: 34px;
  color: #fff;
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.of-check .icon {
  stroke-width: 3;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s 0.35s var(--ease-out) forwards;
}

.of-check--wait {
  background: rgb(255 255 255 / 0.08);
  box-shadow: none;
}

.of-check--wait .icon {
  stroke-width: 2;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.of-check--wait .icon-spin {
  animation: of-spin 1s linear infinite;
}

@keyframes of-spin {
  to {
    transform: rotate(360deg);
  }
}

.of-paynote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 14px;
}

.of-paynote .icon {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

@keyframes pop {
  from {
    transform: scale(0);
  }
}

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

.of-done h3 {
  font-size: 32px;
}

.of-done-number {
  font-size: 18px;
}

.of-done .muted {
  max-width: 460px;
}

.of-wa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.of-wa .of-hint strong {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.of-done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .contact-tabs .tab {
    padding: 8px 12px;
    font-size: 13px;
  }
  .contact-tabs .tab .icon {
    display: none;
  }
}

/* ----- Page « Suivre ma commande » (/track/) ------------------------------------------- */

.track {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(32px, 8vh, 80px) 16px 48px;
}

.track-inner {
  position: relative;
  display: flex;
  max-width: 560px;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.track-logo {
  align-self: flex-start;
  font-size: 22px;
  color: var(--fg);
}

.track-title {
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
}

.track-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 5vw, 32px);
  border-radius: 24px;
}

.track-card .btn {
  align-self: flex-start;
}

.track-ref {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.track-back {
  align-self: flex-start;
  font-size: 14px;
  color: var(--fg-muted);
}

.track-back:hover {
  color: var(--fg);
}

.track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.track-refval {
  margin-top: 4px;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  letter-spacing: 0.02em;
}

.track-meta {
  margin-top: -8px;
  font-size: 14px;
  color: var(--fg-muted);
}

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgb(250 178 25 / 0.35);
  border-radius: 999px;
  background: rgb(250 178 25 / 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #fde3a7;
}

.track-badge.is-ok {
  border-color: rgb(12 163 12 / 0.45);
  background: rgb(12 163 12 / 0.12);
  color: #b7f0b7;
}

.track-badge .icon {
  width: 14px;
  height: 14px;
}

.track-steps {
  display: grid;
  gap: 0;
  margin: 4px 0;
  padding: 0;
  list-style: none;
}

.track-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 22px;
  color: var(--fg-subtle);
}

.track-steps li:last-child {
  padding-bottom: 0;
}

/* Trait vertical entre les étapes */
.track-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.12);
}

.track-steps li.is-done:not(:last-child)::before {
  background: var(--accent);
}

.track-dot {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 0.18);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.track-dot .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.track-steps li.is-done,
.track-steps li.is-current {
  color: var(--fg);
}

.track-steps li.is-done .track-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.track-steps li.is-current .track-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  color: var(--fg);
}

.track-steps strong {
  display: block;
  padding-top: 5px;
  font-weight: 600;
}

.track-steps small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--fg-muted);
}

.track-message {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
}

.track-message-text {
  margin-top: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.track-wait {
  font-size: 14px;
}

.track-download .icon {
  width: 18px;
  height: 18px;
}

/* Code promo (récapitulatif de commande) */
.of-promo {
  display: grid;
  gap: 8px;
}

.of-promo-field {
  display: flex;
  gap: 10px;
}

.of-promo-field .of-input {
  min-width: 0;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.of-promo-field .btn {
  flex: none;
}

.of-promo.is-applied {
  padding: 14px 16px;
  border: 1px dashed color-mix(in oklab, var(--accent) 60%, transparent);
  border-radius: 14px;
  background: var(--accent-soft);
}

.of-promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.of-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.of-promo-tag .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.of-promo-tag strong {
  letter-spacing: 0.04em;
}

.of-promo-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
}

.of-promo-total s {
  color: var(--fg-subtle);
}

.of-promo-total strong {
  font-size: 22px;
}

.of-promo-total span {
  color: var(--fg-muted);
}

@media (max-width: 420px) {
  .of-promo-field {
    flex-direction: column;
  }
}

/* ----- Avant / Après ---------------------------------------------------------------------- */

.compare {
  position: relative;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  margin: 48px auto 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow:
    0 40px 100px -30px rgb(0 0 0 / 0.8),
    0 0 0 1px rgb(255 255 255 / 0.1);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.18s;
}

.compare.is-switching .compare-img {
  opacity: 0;
}

/* L'image « avant » est découpée jusqu'à la position du curseur */
.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-before .compare-img {
  filter: saturate(0.9);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  translate: -50% 0;
  background: #fff;
  box-shadow: 0 0 24px rgb(0 0 0 / 0.5);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  translate: -50% -50%;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 6px rgb(255 255 255 / 0.15),
    0 10px 30px rgb(0 0 0 / 0.5),
    0 0 40px var(--accent-glow);
  color: #fff;
  cursor: ew-resize;
  transition: scale 0.2s var(--ease-out);
}

.compare-knob .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.compare-knob .icon + .icon {
  margin-left: -4px;
}

.compare:hover .compare-knob,
.compare.is-dragging .compare-knob,
.compare-knob:focus-visible {
  scale: 1.08;
}

.compare-knob:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.compare-tag {
  position: absolute;
  top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgb(7 7 10 / 0.65);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-tag--before {
  left: 18px;
}

.compare-tag--after {
  right: 18px;
  background: var(--accent);
}

.compare-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.compare-tab {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.03);
  font-size: 14px;
  color: var(--fg-muted);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.compare-tab img {
  width: 64px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
}

.compare-tab:hover {
  color: var(--fg);
}

.compare-tab.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--fg);
}

@media (max-width: 640px) {
  .compare {
    border-radius: 18px;
  }

  .compare-knob {
    width: 46px;
    height: 46px;
  }

  .compare-tag {
    top: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .compare-tag--before {
    left: 10px;
  }

  .compare-tag--after {
    right: 10px;
  }

  .compare-tabs {
    justify-content: flex-start;
  }
}

/* Avis : étoiles et badge « commande vérifiée » */
.review-stars {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 3px;
  color: #fab219;
}

.review-stars span {
  color: rgb(255 255 255 / 0.18);
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(12 163 12 / 0.14);
  font-size: 12px;
  font-weight: 600;
  color: #9fe89f;
  vertical-align: 2px;
}

.review-verified .icon {
  width: 13px;
  height: 13px;
}

/* Suivi : avis du client et facture */
.track-review-title {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
}

.stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.star {
  font-size: 40px;
  line-height: 1;
  color: rgb(255 255 255 / 0.16);
  transition:
    color 0.15s,
    transform 0.2s var(--ease-out);
}

.star:hover,
.star:focus-visible {
  transform: scale(1.15);
}

.star.is-on {
  color: #fab219;
  text-shadow: 0 0 18px rgb(250 178 25 / 0.45);
}

/* Survol : les étoiles jusqu'à celle pointée s'allument */
.stars:hover .star {
  color: #fab219;
}

.stars .star:hover ~ .star {
  color: rgb(255 255 255 / 0.16);
  text-shadow: none;
}

.stars-label {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
}

.track-review.is-done {
  align-items: center;
  text-align: center;
}

.track-review-stars {
  font-size: 30px;
  letter-spacing: 4px;
  color: #fab219;
}

.track-invoice .icon {
  width: 16px;
  height: 16px;
}

.of-qty-hint {
  width: 100%;
  font-size: 13px;
  color: var(--fg-subtle);
}

.of-qty-hint.is-over {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 14px;
  color: var(--fg);
}

/* Sélecteur de devise (€ / ₺) au-dessus des tarifs */
.currency-switch {
  display: flex;
  width: max-content;
  gap: 4px;
  margin: 14px auto 32px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
}

.currency-switch button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  transition:
    background 0.2s,
    color 0.2s;
}

.currency-switch button[aria-checked="true"] {
  background: rgb(255 255 255 / 0.1);
  color: var(--fg);
}

/* Suivi : paiement à terminer */
.track-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgb(250 178 25 / 0.35);
  border-radius: 14px;
  background: rgb(250 178 25 / 0.08);
}

/* « Gérer mon abonnement » : même bloc, ton neutre */
.track-manage {
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.03);
}

.track-manage .btn .icon {
  width: 16px;
  height: 16px;
}

.track-pay .muted {
  margin-top: 2px;
  font-size: 14px;
}

/* ----- Aperçu « style YouTube » ------------------------------------------------------------ */

.yt {
  display: grid;
  gap: 20px;
  align-items: start;
  margin-top: 48px;
}

@media (min-width: 1000px) {
  .yt {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}

.yt-controls {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
}

.yt-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.yt-avatar-btn {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px dashed rgb(255 255 255 / 0.25);
  border-radius: 50%;
  color: var(--fg-muted);
}

.yt-avatar-btn:hover {
  border-color: var(--accent);
  color: var(--fg);
}

/* Zone d'import de la miniature du visiteur (clic ou glisser-déposer) */
.yt-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 16px;
  border: 1.5px dashed rgb(255 255 255 / 0.22);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.03);
  color: var(--fg-muted);
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s;
}

.yt-drop:hover,
.yt-drop.is-over {
  border-color: var(--accent);
  background: rgb(255 255 255 / 0.06);
}

.yt-drop .icon {
  width: 22px;
  height: 22px;
  color: var(--fg);
}

.yt-drop strong {
  color: var(--fg);
  font-size: 15px;
}

.yt-drop small {
  font-size: 12px;
  color: var(--fg-subtle);
}

.yt-drop.has-image {
  padding: 0;
  border: 2px solid var(--accent);
}

.yt-drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-drop-change {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.yt-drop-change .icon {
  width: 14px;
  height: 14px;
  color: #fff;
}

.yt-stage {
  min-width: 0;
}

.yt-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.yt-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
}

.yt-tabs button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}

.yt-tabs button[aria-selected="true"],
.yt-tabs button[aria-pressed="true"] {
  background: rgb(255 255 255 / 0.12);
  color: var(--fg);
}

/* L'écran imite les couleurs de YouTube (sombre / clair) */
.yt-screen {
  --yt-bg: #0f0f0f;
  --yt-fg: #f1f1f1;
  --yt-sub: #aaa;
  --yt-soft: #272727;
  min-height: 420px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: var(--yt-bg);
  color: var(--yt-fg);
  font-family: Roboto, Arial, system-ui, sans-serif;
}

.yt-screen[data-theme="light"] {
  --yt-bg: #ffffff;
  --yt-fg: #0f0f0f;
  --yt-sub: #606060;
  --yt-soft: #f2f2f2;
}

.yt-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--fg-subtle);
  text-align: center;
}

.yt-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--yt-soft);
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.8);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.yt-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: hsl(var(--h, 0) 45% 45%);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Titre limité à 2 lignes (hauteur maximale : plus fiable que line-clamp au changement de thème) */
.yt-title {
  display: block;
  max-height: 2.7em;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.yt-channel,
.yt-stats,
.yt-sub {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--yt-sub);
}

.yt-channel {
  margin-top: 4px;
}

/* Ordinateur : grille d'accueil */
.yt-grid {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yt-info {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* Téléphone */
.yt-phone {
  width: min(100%, 380px);
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid #1d1d22;
  border-radius: 36px;
  background: var(--yt-bg);
}

.yt-phone-bar {
  height: 26px;
}

.yt-m-item {
  margin-bottom: 18px;
}

/* Emplacement de la miniature du visiteur tant qu'il n'a rien importé */
.yt-thumb--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 1.5px dashed var(--yt-sub);
  color: var(--yt-sub);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.yt-thumb--empty .icon {
  width: 22px;
  height: 22px;
}

.yt-thumb--empty:hover {
  border-color: var(--accent);
  color: var(--yt-fg);
}

.yt-m-item .yt-thumb {
  border-radius: 0;
}

.yt-m-info {
  display: flex;
  gap: 12px;
  padding: 10px 12px 0;
}

/* Vidéos suggérées */
.yt-side {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.yt-player {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-radius: 12px;
  background: #000;
  color: rgb(255 255 255 / 0.5);
}

.yt-player .icon {
  width: 48px;
  height: 48px;
}

.yt-side-list {
  display: grid;
  gap: 10px;
}

.yt-s-item {
  display: grid;
  gap: 8px;
  grid-template-columns: 168px minmax(0, 1fr);
}

.yt-s-item .yt-thumb {
  border-radius: 8px;
}

.yt-s-item .yt-title {
  font-size: 14px;
}

@media (max-width: 900px) {
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yt-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .yt-screen {
    padding: 12px;
  }

  .yt-grid {
    grid-template-columns: 1fr;
  }

  .yt-s-item {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}
