/* ============================================
   CHAT ASCII FUGITIF 😼 (téléporteur)
   ============================================ */
#asciiCat {
  position: absolute; /* vit DANS le header (sticky) */
  top: 0;
  left: 0;
  z-index: 5;
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;      /* le sad cat fait 10 lignes : il remplit le header */
  line-height: 1.12;
  letter-spacing: 0;
  color: rgba(238, 240, 244, 0.92);
  background: transparent;
  border: none;
  pointer-events: none;
  user-select: none;
  white-space: pre;
  will-change: transform;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  /* PAS de filter: drop-shadow ici : il force Chrome a tout repeindre
     a chaque frame et rend la marche saccadee */
}

#asciiCat::selection { background: transparent; }

@media (max-width: 768px) {
  #asciiCat { display: none; } /* pas de chat sur mobile : pas de souris */
}


/* =========================================================
   808 INFORMATIQUE — Feuille de style principale
   Direction artistique : éditoriale, brute, artistique
   Fond coloré vif + traits noirs fins + typographie scripte
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Thème TRASH / GLITCH / ÉLECTRONIQUE — violet électrique + acide */
  --red: #a855f7;
  --red-deep: #9333ea;
  --violet: #a855f7;
  --violet-hot: #c026d3;
  --violet-deep: #6d28d9;
  --acid: #b6ff00;
  --cyan: #22d3ee;
  --black: #060608;
  --paper: #f7f2e9;

  --bg: #08070b;
  --bg-2: #0f0d15;
  --bg-3: #17131f;
  --ink: #efeaff;
  --ink-soft: #d6cfe8;
  --grey: #8b8499;
  --grey-light: #a79fb8;
  --line: rgba(168, 85, 247, 0.28);
  --line-dark: rgba(168, 85, 247, 0.18);
  --line-acid: rgba(182, 255, 0, 0.5);
  --accent: #a855f7;
  --accent-dark: #7e22ce;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;

  --container: 1280px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- Grain / texture ---------- */
/* Scanlines CRT */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.25) 3px,
    rgba(0, 0, 0, 0.25) 4px
  );
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.7em;
  flex-wrap: wrap;
}

.eyebrow .dot {
  color: var(--red);
  opacity: 0.6;
}

.accent-dot {
  color: var(--red);
}

.link-underline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.link-underline:hover {
  color: var(--red);
}

.link-underline:hover::after {
  transform: scaleX(0);
}

/* ---------- Section head (numéroté) ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  margin-bottom: 3.4rem;
  border-bottom: 1px solid var(--line);
}

.section-num {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95em 1.6em;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}

.btn--accent {
  background: var(--red);
  color: var(--black);
}

.btn--accent:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn--lg {
  padding: 1.15em 2em;
  font-size: 0.8rem;
}

.btn__arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0c0c0c; /* opaque : le backdrop-filter blur tuait la fluidité Safari */
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.logo__mark:hover {
  color: var(--red);
}

.logo__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--grey);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  transition: color 0.2s ease;
}

.nav__link span {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--red);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--red);
}

.nav__link:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO — fond rouge vif, trait noir, typo scripte
   ========================================================= */
.hero {
  padding: 90px 0 110px;
  position: relative;
  background:
    radial-gradient(120% 90% at 76% 26%, rgba(168, 85, 247, 0.16), transparent 62%),
    radial-gradient(90% 80% at 10% 84%, rgba(34, 211, 238, 0.07), transparent 60%),
    #050408;
  color: var(--ink);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Grand "808" en filigrane noir */
.hero__deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(320px, 48vw, 760px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(168, 85, 247, 0.16);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero .eyebrow {
  color: var(--acid);
}

.hero .eyebrow .dot {
  color: var(--acid);
  opacity: 0.5;
}

/* Titre calligraphique + gros titre */
.hero__subtitle {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--ink);
  position: relative;
  display: inline-block;
  transform: rotate(-4deg);
  margin: 0.6rem 0 0.4rem;
  line-height: 1;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0.6rem 0 1.6rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.hero__title .line-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}

.hero__title .accent-dot {
  color: var(--acid);
  -webkit-text-stroke-width: 0;
}

.hero__text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--grey-light);
  margin-bottom: 2.4rem;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero .btn--accent {
  background: var(--red);
  color: #05050a;
}

.hero .btn--accent:hover {
  background: var(--acid);
  color: #05050a;
}

.hero .link-underline {
  color: var(--ink);
}

.hero .link-underline:hover {
  color: var(--acid);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3.2rem;
  position: relative;
  z-index: 1;
}

.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #05050a;
  flex-shrink: 0;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero__badge-text strong {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero__badge-text em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--grey-light);
}

/* Visuel — terminal ASCII (dark / trash / glitch) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.ascii-stage {
  position: relative;
  display: inline-block;
  padding: 22px 24px;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transform: translateY(var(--scroll-y, 0px)) rotate(var(--scroll-rot, 0deg))
    scale(1, var(--stretch, 1));
}

/* Vignette CRT */
.ascii-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 52%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.ascii-art {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(5px, 0.98vw, 13px);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: pre;
  color: #6a6280;
  text-shadow: 0 0 7px rgba(168, 85, 247, 0.35);
  user-select: none;
  -webkit-user-select: none;
}

.ascii-row {
  display: block;
  white-space: pre;
  transition: transform 0.12s steps(2), filter 0.12s steps(2),
    color 0.16s linear, text-shadow 0.16s linear;
}

/* Caractères individuels — permet d'écarter les # au survol */
.ascii-ch {
  display: inline-block;
  white-space: pre;
  will-change: transform;
  transform-origin: 50% 50%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease, text-shadow 0.25s ease;
}

/* Pendant le survol : suivi instantané (pas de transition qui freine),
   au départ de la souris : retour élastique doux via la transition ci-dessus */
.ascii-stage.is-hovering .ascii-ch--fill {
  transition: none;
}

.hero__visual {
  cursor: crosshair;
}

.ascii-ch--fill.is-pushed {
  color: var(--acid);
  /* PAS de text-shadow flouté ici : appliqué à ~150 caractères pendant le
     survol, chaque flou = repeint par frame = la souris à 1 FPS */
}

.ascii-stage {
  cursor: crosshair;
}

/* Faisceau de scan piloté au scroll */
.ascii-row.is-hot {
  animation: none;
  color: var(--acid);
  text-shadow: 0 0 6px rgba(182, 255, 0, 0.45); /* flou réduit : 3 lignes max à la fois */
}

/* Glitch aléatoire "trash" — couleur franche au lieu d'un drop-shadow
   (un filtre = repeint + flou gaussien de TOUTE la ligne à chaque frame) */
.ascii-row.is-glitch {
  animation: none;
  transform: translateX(-8px);
  color: #ff2b2b;
}

/* Scanline CRT qui balaie l'écran */
.ascii-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 16%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(182, 255, 0, 0.07),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: asciiScan 6s linear infinite;
}

@keyframes asciiScan {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(720%); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(45deg); }
}

/* =========================================================
   ASCII — Effet glitch d'étirement au scroll
   ========================================================= */

/* Le stage entier se déforme quand on scroll vite */
.ascii-stage.is-scroll-glitch {
  animation: asciiStageGlitch 0.28s steps(3) both;
}

@keyframes asciiStageGlitch {
  0% {
    transform: translateY(var(--scroll-y, 0px)) rotate(var(--scroll-rot, 0deg)) scale(1, var(--stretch, 1));
  }
  25% {
    transform: translateY(calc(var(--scroll-y, 0px) + 6px)) rotate(calc(var(--scroll-rot, 0deg) + 0.4deg)) scale(1.02, calc(var(--stretch, 1) * 1.12));
  }
  50% {
    transform: translateY(calc(var(--scroll-y, 0px) - 4px)) rotate(calc(var(--scroll-rot, 0deg) - 0.3deg)) scale(0.99, calc(var(--stretch, 1) * 0.94));
  }
  75% {
    transform: translateY(calc(var(--scroll-y, 0px) + 3px)) rotate(calc(var(--scroll-rot, 0deg) + 0.2deg)) scale(1.01, calc(var(--stretch, 1) * 1.06));
  }
  100% {
    transform: translateY(var(--scroll-y, 0px)) rotate(var(--scroll-rot, 0deg)) scale(1, var(--stretch, 1));
  }
}

/* Lignes individuelles qui s'étirent verticalement
   (transform UNIQUEMENT : les filtres drop-shadow = flou par frame = 1 FPS) */
.ascii-row.is-stretch {
  transform: scaleY(1.6);
  transform-origin: center;
  transition: transform 0.08s steps(2);
}

/* Lignes qui se décalent horizontalement (bug) */
.ascii-row.is-shift {
  transform: translateX(6px) skewX(-4deg);
  transition: transform 0.06s steps(2);
}

/* Lignes qui se compressent */
.ascii-row.is-squash {
  transform: scaleY(0.4);
  transform-origin: center;
  transition: transform 0.08s steps(2);
}

/* =========================================================
   ASCII — Animation minimaliste permanente
   ========================================================= */

/* Léger "breathing" + flicker très subtil du texte ASCII */
.ascii-art {
  animation: asciiBreath 7s ease-in-out infinite,
    asciiFlicker 4.2s steps(1) infinite;
}

@keyframes asciiBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.012);
  }
}

@keyframes asciiFlicker {
  0%, 100% { opacity: 1; }
  88% { opacity: 1; }
  89% { opacity: 0.78; }
  90% { opacity: 1; }
  93% { opacity: 0.88; }
  94% { opacity: 1; }
}

/* Couleur des lignes : STATIQUE.
   L'ancienne animation de couleur + text-shadow flouté sur CHAQUE ligne
   = 30 repeints avec flou gaussien 60x par seconde = 1 FPS sur Chrome. */
.ascii-row {
  color: #7d739f;
}

/* Le curseur clignote doucement (opacity = composited, quasi gratuit) */
.ascii-row:last-child {
  animation: asciiCursorBlink 1.1s steps(2) infinite;
}

@keyframes asciiCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  background: var(--black);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: scroll 32s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

.marquee__sep {
  color: var(--red);
  font-size: 0.8rem !important;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SERVICES / ACTIVITÉS — liste déroulante, typo impactante
   ========================================================= */
.services {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.services__grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: start;
  gap: 36px;
  padding: 46px 6px 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
  will-change: clip-path, transform, opacity;
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.7s var(--ease);
}

.service:hover::after {
  width: 100%;
}

.service:hover {
  background: var(--bg-2);
}

.service__num {
  font-family: var(--font-script);
  font-size: 3.4rem;
  line-height: 0.9;
  color: var(--red);
  transition: transform 0.5s var(--ease);
}

.service:hover .service__num {
  transform: translateY(-6px) rotate(-6deg);
}

.service__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--ink);
}

.service__text {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
  max-width: 640px;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.3rem;
}

.service__tags li {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 12px;
}

.service__icon {
  display: inline-flex;
  color: var(--red);
  align-self: center;
  transition: transform 0.5s var(--ease);
}

.service:hover .service__icon {
  transform: translateY(-4px) rotate(-8deg);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 0 0 120px;
  background: var(--bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.about__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.about__title .line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

.about__title .accent-dot {
  color: var(--red);
}

.about__script {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--red);
  margin-top: 1rem;
  transform: rotate(-4deg);
  display: inline-block;
}

.about__body p {
  color: var(--grey);
  margin-bottom: 1.3rem;
  max-width: 520px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.about__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about__stats strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
}

.about__stats span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--grey);
  line-height: 1.4;
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews {
  padding: 0 0 120px;
  background: var(--bg);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.review {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background 0.4s var(--ease);
}

.review:hover {
  background: var(--bg-2);
}

.review__stars {
  color: var(--red);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.review blockquote {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.review figcaption strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.review figcaption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   BOOKING (Rendez-vous)
   ========================================================= */
.booking {
  background: var(--bg-2);
  color: var(--ink);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.booking::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.12), transparent 70%);
  pointer-events: none;
}

.booking__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.booking__title .accent-dot {
  color: var(--red);
}

.booking__text {
  color: var(--grey-light);
  max-width: 380px;
  margin-bottom: 2.6rem;
}

.booking__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.booking__info li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.booking__info span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.booking__info strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- Formulaire --- */
.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Calendrier */
.calendar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.calendar__month {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.calendar__nav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.calendar__nav:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar__weekdays span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-transform: uppercase;
}

.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.cal-day--empty {
  visibility: hidden;
}

.cal-day--disabled {
  color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
}

.cal-day--available {
  cursor: pointer;
  color: var(--ink);
  border-color: var(--line-dark);
}

.cal-day--available:hover {
  border-color: var(--red);
  color: var(--red);
}

.cal-day--selected {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 700;
}

.cal-day--today {
  position: relative;
}

.cal-day--today::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* Créneaux */
.slots {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
}

.slots__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 1.2rem;
}

.slots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slots__empty {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--grey-light);
  padding: 1rem 0;
}

.slot {
  padding: 0.7em 0.4em;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.slot:hover {
  border-color: var(--red);
  color: var(--red);
}

.slot--selected {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Champs */
.fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.field select option {
  background: var(--bg-2);
  color: var(--ink);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #e05a4a;
}

/* Submit */
.booking__submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.booking__summary {
  font-size: 0.85rem;
  color: var(--grey-light);
}

.booking__summary strong {
  color: var(--red);
  font-weight: 600;
}

.booking__note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  min-height: 1.2em;
}

.booking__note.is-success {
  color: var(--red);
}

.booking__note.is-error {
  color: #e05a4a;
}

/* =========================================================
   CTA — fond rouge vif
   ========================================================= */
.cta {
  background: var(--red);
  color: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta__deco {
  position: absolute;
  top: 24px;
  right: 44px;
  font-family: var(--font-body);
  font-size: 7rem;
  color: rgba(12, 12, 12, 0.25);
  pointer-events: none;
  animation: sparkle 4s ease-in-out infinite;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
}

.cta__accent {
  font-family: var(--font-script);
  font-size: 1.3em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
}

.cta__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

.cta__text {
  color: rgba(12, 12, 12, 0.75);
  font-size: 0.95rem;
}

.cta .btn--accent {
  background: var(--black);
  color: #fff;
}

.cta .btn--accent:hover {
  background: #262626;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--black);
  color: var(--ink);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer__logo .logo__mark {
  font-size: 1.4rem;
}

.footer__logo .logo__sub {
  color: var(--grey-light);
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--grey-light);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a,
.footer__links button {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.25s var(--ease);
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--red);
}

/* =========================================================
   À VENDRE (boutique vitrine — gérée via Espace pro)
   ========================================================= */
.shop {
  padding: 0 0 100px;
  background: var(--bg);
}

.shop__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.shop__text {
  color: var(--grey-light);
  max-width: 560px;
}

.shop__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--grey-light);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 38px 28px 32px;
  text-align: center;
  font-size: 0.9rem;
}

.shop__empty[hidden] { display: none !important; }

.shop__empty-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.shop__empty-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--grey);
}

/* Chien triste + gamelle vide (lorsque rien n'est en vente) */
.doggo {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.2;
  color: rgba(238, 240, 244, 0.92);
  white-space: pre;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  animation: doggoBob 3.4s ease-in-out infinite;
}

@keyframes doggoBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .doggo { font-size: 11px; }
}


.shop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.shop-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.shop-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-card__img {
  font-size: 2rem;
  line-height: 1;
}

.shop-card__badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 43, 43, 0.14);
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
}

.shop-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.shop-card p {
  font-size: 0.85rem;
  color: var(--grey-light);
  flex: 1;
}

.shop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.shop-card__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ink);
}

.shop-card__cta {
  font-size: 0.75rem;
}

.booking__apple-hint {
  font-size: 0.8rem;
  color: var(--grey-light);
}

.booking__after {
  grid-column: 1 / -1;
}

/* =========================================================
   ESPACE PRO — onglets RDV / Vente / Agenda
   ========================================================= */
.admin-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--grey);
  transition: all 0.25s var(--ease);
}

.chip:hover {
  color: var(--red);
  border-color: var(--red);
}

.chip.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.pro-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 1.4rem;
}

.pro-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.pro-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 1rem;
}

.apple-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
}

.apple-text {
  font-size: 0.85rem;
  color: var(--grey-light);
  margin-bottom: 1rem;
}

.apple-text strong {
  color: var(--ink);
}

.apple-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--grey-light);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.apple-steps strong {
  color: var(--red);
}

.apple-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.apple-more {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--grey);
}

.apple-more summary {
  cursor: pointer;
  color: var(--grey-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.apple-more code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
}

/* =========================================================
   MODALES
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__box {
  transform: translateY(0);
}

.modal__box--wide {
  max-width: 720px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.modal__close:hover {
  color: var(--red);
  border-color: var(--red);
}

.modal__head {
  margin-bottom: 2rem;
}

.modal__head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
  color: var(--ink);
}

.modal__note {
  font-size: 0.85rem;
  color: var(--grey-light);
  margin-top: 1rem;
}

.modal__note.is-error {
  color: #e05a4a;
}

.lookup {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lookup label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.lookup__row {
  display: flex;
  gap: 10px;
}

.lookup__row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  color: var(--ink);
}

.lookup__row input:focus {
  outline: none;
  border-color: var(--red);
}

.results {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px;
}

.result-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.result-card__head strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.result-card__status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.result-card__status--pending {
  background: rgba(255, 43, 43, 0.15);
  color: var(--red);
}

.result-card__status--accepted {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.result-card__status--declined {
  background: rgba(224, 90, 74, 0.15);
  color: #e05a4a;
}

.result-card p {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.5;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.admin-tab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--grey);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.admin-tab:hover {
  color: var(--red);
  border-color: var(--red);
}

.admin-tab.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.admin-tab span {
  font-size: 0.62rem;
  opacity: 0.7;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px;
}

.admin-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.admin-item__head strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.admin-item p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}

.admin-item__actions {
  display: flex;
  gap: 8px;
  margin-top: 0.8rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--grey);
  font-size: 0.7rem;
  padding: 0.7em 1.2em;
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-3);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 0.85rem;
  z-index: 300;
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =========================================================
   ESPACE PRO — styles complémentaires
   ========================================================= */
.btn--sm {
  font-size: 0.72rem;
  padding: 0.55em 1em;
}

.admin-panel {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-panel::-webkit-scrollbar {
  width: 6px;
}

.admin-panel::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.result-card .apple-actions {
  margin-top: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .shop__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero__visual {
    order: -1;
  }

  .ascii-stage {
    padding: 16px 12px;
  }

  .ascii-art {
    font-size: clamp(5px, 1.4vw, 12px);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .booking__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 22px;
  }

  .header__inner {
    height: 72px;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 22px 30px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    display: flex;
    padding: 16px 0;
    font-size: 0.85rem;
  }

  .nav__cta {
    margin-top: 20px;
    width: 100%;
  }

  .hero {
    padding: 40px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .hero__subtitle {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .hero__deco {
    font-size: 260px;
  }

  .services,
  .booking {
    padding: 70px 0;
  }

  .about,
  .reviews {
    padding: 0 0 70px;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 4px 38px;
  }

  .service__num {
    font-size: 2.2rem;
  }

  .service__icon {
    justify-self: start;
  }

  .shop,
  .shop__grid {
    scroll-margin-top: 90px;
  }

  .shop__grid {
    grid-template-columns: 1fr;
  }

  .pro-form__grid {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking__form {
    grid-template-columns: 1fr;
  }

  .fields {
    grid-template-columns: 1fr;
  }

  .slots__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta {
    padding: 64px 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 460px) {
  .slots__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking__submit {
    flex-direction: column;
    align-items: stretch;
  }

  .booking__submit .btn {
    width: 100%;
  }
}

