/* ==========================================================================
   Flowsky Web — styles principaux
   ========================================================================== */
:root {
  --ink: #05091a;
  --ink-2: #0a1030;
  --blue: #2f6bff;
  --flux: #5ec8ff;
  --paper: #ffffff;
  --paper-2: #f1f5fc;
  --mist: #a6b4d6;
  --slate: #4c5875;
  --line-dark: rgba(150, 180, 255, 0.16);
  --line-light: #e1e8f5;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --maxw: 1180px;
  /* hauteur du logo : pilote la hauteur du header et le décalage du contenu */
  --logo-h: 115px;
  --nav-h: calc(var(--logo-h) + 29px);
  --gutter: 24px;
  --admin-h: 0px;
}
@media (max-width: 1100px) {
  :root {
    --logo-h: 80px;
  }
}
@media (max-width: 520px) {
  :root {
    --logo-h: 64px;
    --gutter: 20px;
  }
}
/* barre d'admin WordPress (utilisateur connecté) */
.admin-bar {
  --admin-h: 32px;
}
@media (max-width: 782px) {
  .admin-bar {
    --admin-h: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar {
    --admin-h: 0px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
:focus-visible {
  outline: 2px solid var(--flux);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- spine de progression ---------- */
.spine {
  position: fixed;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-dark);
  z-index: 60;
  pointer-events: none;
}
.spine__fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--flux), var(--blue));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(94, 200, 255, 0.7);
}
body.is-light .spine {
  background: var(--line-light);
}
/* masquée tant qu'elle chevaucherait le contenu (.wrap) */
@media (max-width: 1260px) {
  .spine {
    display: none;
  }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: var(--admin-h);
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(18px);
  background: rgba(5, 9, 26, 0.72);
  border-bottom: 1px solid var(--line-dark);
  transition:
    background 0.4s,
    border-color 0.4s;
}
body.is-light .nav {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--line-light);
}
.nav__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.brand img {
  height: var(--logo-h);
  width: auto;
  object-fit: contain;
}
body.is-light .brand,
body.is-light .nav__links a {
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 500;
}
/* wp_nav_menu sort des <li> sans <ul> : on neutralise les puces */
.nav__links li,
footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  color: var(--mist);
  transition: color 0.25s;
}
body.is-light .nav__links a {
  color: var(--slate);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--blue);
  transition: right 0.3s ease;
}
.nav__links a:hover,
.nav__links .current-menu-item > a {
  color: var(--blue);
}
.nav__links .current-menu-item > a::after,
.nav__links a:hover::after {
  right: 0;
}
.nav__cta {
  padding: 10px 18px !important ;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 6px 24px rgba(47, 107, 255, 0.4);
}
.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 11px;
  color: var(--paper);
}
body.is-light .burger {
  color: var(--ink);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
}
@media (max-width: 1100px) {
  .nav__links {
    position: fixed;
    top: calc(var(--nav-h) + var(--admin-h));
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-h) - var(--admin-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  body.is-light .nav__links {
    background: #fff;
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
  }
  .nav__links a::after {
    display: none;
  }
  .nav__cta {
    margin-top: 14px;
    text-align: center;
    padding: 13px 18px !important;
  }
  .burger {
    display: block;
  }
}

/* ---------- structure ---------- */
main {
  padding-top: var(--nav-h);
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.band {
  padding: clamp(64px, 10vw, 104px) 0;
  position: relative;
}
/* première section d'une page intérieure (sous le header) */
.band--top {
  padding-top: clamp(48px, 8vw, 88px);
}
.band--paper {
  background: var(--paper);
  color: var(--ink);
}
.band--paper h2,
.band--paper h3 {
  color: var(--ink);
}
.band--tint {
  background: var(--paper-2);
  color: var(--ink);
}
.band--deep {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}
.lede {
  max-width: 62ch;
  color: var(--mist);
  font-size: 18px;
}
.band--paper .lede,
.band--tint .lede {
  color: var(--slate);
}
.kicker {
  font-family: var(--display);
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 14px;
  font-weight: 500;
}
h1.sec,
h2.sec {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-bottom: 18px;
  max-width: 20ch;
}
/* grand titre en tête des pages intérieures */
h1.sec--page,
h2.sec--page {
  font-size: clamp(30px, 5vw, 54px);
}
@media (max-width: 600px) {
  .lede {
    font-size: 16.5px;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 40%,
    #000,
    transparent 75%
  );
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.a1 {
  width: 560px;
  height: 560px;
  background: var(--blue);
  top: -140px;
  left: -100px;
}
.a2 {
  width: 480px;
  height: 480px;
  background: var(--flux);
  bottom: -180px;
  right: 4%;
  animation-duration: 28s;
}
.a3 {
  width: 380px;
  height: 380px;
  background: #7b5cff;
  top: 30%;
  left: 45%;
  opacity: 0.35;
  animation-duration: 19s;
}
@keyframes drift {
  to {
    transform: translate3d(60px, -50px, 0) scale(1.15);
  }
}
.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(94, 200, 255, 0.16),
    transparent 65%
  );
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  width: 100%;
}
@media (max-width: 940px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 520px) {
  .stats {
    gap: 22px 28px;
  }
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--mist);
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.03);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37e0a0;
  box-shadow: 0 0 0 0 rgba(55, 224, 160, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(55, 224, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(55, 224, 160, 0);
  }
}
h1 {
  font-size: clamp(34px, 5.6vw, 66px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
h1 .ln {
  display: block;
  overflow: hidden;
}
h1 .ln span {
  display: block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
h1 .ln:nth-child(2) span {
  animation-delay: 0.1s;
}
h1 .ln:nth-child(3) span {
  animation-delay: 0.2s;
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}
.hero p.lede {
  animation: fadeUp 0.8s 0.42s both;
}
.hero .btns {
  animation: fadeUp 0.8s 0.54s both;
}
.hero .stats {
  animation: fadeUp 0.8s 0.66s both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s;
  justify-content: center;
  text-align: center;
  max-width: 100%;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--main {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 34px rgba(47, 107, 255, 0.42);
}
.btn--main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s;
}
.btn--main:hover::before {
  left: 130%;
}
.btn--ghost {
  border-color: var(--line-dark);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}
.band--paper .btn--ghost,
.band--tint .btn--ghost {
  border-color: var(--line-light);
  color: var(--ink);
  background: #fff;
}
.stats {
  display: flex;
  gap: 38px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.stats b {
  display: block;
  font-family: var(--display);
  font-size: 27px;
  color: var(--flux);
}
.stats small {
  color: var(--mist);
  font-size: 13.5px;
}

/* ---------- valeurs ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line-light);
}
.values > div {
  padding: 34px 30px 34px 0;
  border-right: 1px solid var(--line-light);
}
.values > div:last-child {
  border-right: 0;
  padding-right: 0;
}
.values h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.values p {
  color: var(--slate);
  font-size: 15.5px;
}
.values .num {
  font-family: var(--display);
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}
@media (max-width: 820px) {
  .values {
    grid-template-columns: 1fr;
  }
  .values > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding-right: 0;
  }
}

/* ---------- offres ---------- */
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 48px;
}
@media (max-width: 820px) {
  .offers {
    grid-template-columns: 1fr;
  }
}
.offer {
  position: relative;
  padding: 36px;
  border: 2px solid #1a9bff;
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  overflow: hidden;
  transition: border-color 0.3s;
}

.offer::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 107, 255, 0.32),
    transparent 70%
  );
  pointer-events: none;
}
.offer h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.offer .price {
  font-family: var(--display);
  font-size: 32px;
  color: var(--blue);
  margin: 20px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.offer .price small {
  color: gray;
  font-size: 14px;
  font-family: var(--body);
}
.offer ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.offer li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 11px;
  font-size: 15.5px;
}
.offer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 13px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
@media (max-width: 600px) {
  .offer {
    padding: 28px 22px;
  }
  .offer h3 {
    font-size: 22px;
  }
  .offer .price {
    font-size: 28px;
  }
}
.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 22px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.marquee__track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: slide 32s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate);
  opacity: 0.62;
  white-space: nowrap;
  transition:
    opacity 0.3s,
    color 0.3s;
}
.logo:hover {
  opacity: 1;
  color: var(--blue);
}
.logo img {
  height: 28px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    opacity 0.3s,
    filter 0.3s;
}
.logo:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- avis ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 820px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}
.review {
  padding: 28px;
  border: 1px dashed var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.review p {
  color: var(--mist);
  font-size: 15.5px;
}
.review .who {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--slate);
}
.soon {
  display: inline-block;
  font-size: 12.5px;
  color: var(--flux);
  border: 1px solid rgba(94, 200, 255, 0.35);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- réalisations ---------- */
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 820px) {
  .works {
    grid-template-columns: 1fr;
  }
}
.work {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s;
}
.work:hover {
  box-shadow: 0 26px 60px rgba(10, 20, 60, 0.14);
}
.carousel {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink);
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide.slide--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #123 0%, #2f6bff 100%);
}
.cbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 9, 26, 0.5);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s;
  z-index: 2;
}
.cbtn:hover {
  background: var(--blue);
}
.cprev {
  left: 12px;
}
.cnext {
  right: 12px;
}
.cdots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 2;
}
.cdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.cdot.on {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}
.work__txt {
  padding: 26px;
}
.work__txt h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.work__txt p {
  color: var(--slate);
  font-size: 15.5px;
}
.wlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
}
.wlink:hover {
  gap: 13px;
}
.wlink span {
  transition: transform 0.25s;
}

/* ---------- blog ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin-top: 34px;
  border: 1px solid var(--line-light);
  background: #fff;
  border-radius: 999px;
  padding: 13px 20px;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  outline: none;
  font-size: 16px;
}
.search button {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
@media (max-width: 900px) {
  .posts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .posts {
    grid-template-columns: 1fr;
  }
}
.post {
  border: 1px solid var(--line-light);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s;
}
.post:hover {
  transform: translateY(-5px);
}
.post__img {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
  position: relative;
}
.post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__img.no-photo {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #0a1030, #2f6bff);
}
.post__txt {
  padding: 22px;
}
.post__txt h3 {
  font-size: 18.5px;
  line-height: 1.25;
  margin-bottom: 9px;
}
.post__txt p {
  color: var(--slate);
  font-size: 14.5px;
}
.meta {
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 10px;
  font-family: var(--display);
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--slate);
  border: 1px dashed var(--line-light);
  border-radius: 16px;
  margin-top: 30px;
}
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  padding: 9px 16px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--slate);
}
.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pagination:empty {
  display: none;
}

/* filtres par catégorie */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.chip small {
  font-size: 12px;
  opacity: 0.6;
}
.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chips--dark {
  margin-top: 34px;
}
.chips--dark .chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  color: var(--mist);
}
.chips--dark .chip:hover {
  border-color: var(--flux);
  color: var(--flux);
}

/* carte « à la une » (dernier article, toute la largeur) */
.post--une {
  grid-column: 1 / -1;
}
.post--une > a {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  height: 100%;
}
.post--une .post__img {
  aspect-ratio: auto;
  min-height: 300px;
}
.post--une .post__txt {
  padding: 38px;
  align-self: center;
}
.post--une h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.post--une p {
  font-size: 16px;
}
.post__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.1);
  color: var(--blue);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
}
.post__more {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
}
@media (max-width: 760px) {
  .post--une > a {
    grid-template-columns: 1fr;
  }
  .post--une .post__img {
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .post--une .post__txt {
    padding: 22px;
  }
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  margin-top: 48px;
}
.contact > * {
  min-width: 0;
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}
.coord a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-dark);
}
.coord .ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: rgba(47, 107, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--flux);
}
.coord b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}
.coord small {
  color: var(--mist);
  font-size: 13.5px;
}
.nf-field-element {
  margin-bottom: 17px;
}
.nf-form-fields-required,
.nf-field-label label {
  display: block;
  font-size: 14px;
  color: var(--mist);
  margin-bottom: 7px;
}

.nf-form-content nf-fields-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}

.nf-form-content nf-fields-wrap nf-field:nth-child(-n + 4) {
  width: calc(50% - 10px);
  box-sizing: border-box;
}
.nf-form-content nf-fields-wrap nf-field:nth-child(n + 5) {
  width: 100%;
}

@media (max-width: 767px) {
  .nf-form-content nf-fields-wrap nf-field {
    width: 100% !important;
  }
}

.band--paper .nf-field-element label,
.band--tint .nf-field-element label {
  color: var(--slate);
}
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.band--paper .nf-field-element input,
.band--paper .nf-field-element textarea,
.band--paper .nf-field-element select,
.band--tint .nf-field-element input,
.band--tint .nf-field-element textarea,
.band--tint .nf-field-element select {
  border-color: var(--line-light);
  background: #fff;
}
.nf-field-element input:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
  border-color: var(--blue);
  background: rgba(47, 107, 255, 0.07);
}
.nf-field-element textarea {
  min-height: 130px;
  resize: vertical;
}
.nf-field-element select option {
  background: var(--ink-2);
  color: #fff;
}

/* ---------- article ---------- */
.article {
  max-width: 74ch;
  margin: 0 auto;
}
.article h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 20px;
}
.article__img {
  aspect-ratio: 21/9;
  border-radius: 18px;
  margin: 34px 0;
  overflow: hidden;
}
.article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__img.no-photo {
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  background: linear-gradient(135deg, #0a1030, #2f6bff);
}
.article-body {
  color: var(--mist);
  overflow-wrap: break-word;
}
.article-body iframe,
.article-body video,
.article-body figure {
  max-width: 100%;
}
.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 600px) {
  .article__img {
    aspect-ratio: 16/9;
    margin: 26px 0;
  }
  .article-cta {
    padding: 26px 22px;
  }
}
.article-body p {
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 26px;
  margin: 38px 0 14px;
  color: var(--paper);
}
.article-body h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--paper);
}
.article-body ul,
.article-body ol {
  color: var(--mist);
  padding-left: 22px;
  margin-bottom: 20px;
}
.article-body a {
  color: var(--flux);
  text-decoration: underline;
}
.article-body img {
  height: auto;
  border-radius: 12px;
  margin: 10px 0 24px;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--flux);
  color: var(--paper);
  font-size: 19px;
}
.article-cta {
  margin-top: 54px;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.16), rgba(94, 200, 255, 0.04));
}
.article-cta h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.article-cta p {
  color: var(--mist);
}
.back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--flux);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 26px;
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 30px;
  color: var(--mist);
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
@media (max-width: 760px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}
footer h4 {
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 14px;
  font-weight: 500;
}
footer a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--flux);
}
.fbot {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- reveal au scroll ---------- */
.rev {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.rev.in {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.error404-box {
  text-align: center;
  padding: 60px 0;
}
.error404-box .code {
  font-family: var(--display);
  font-size: clamp(70px, 14vw, 140px);
  color: var(--flux);
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  h1 .ln span {
    transform: none;
  }
  .rev {
    opacity: 1;
    transform: none;
  }
}

/* ===== Curseur point (page d'accueil uniquement) ===== */
@media (hover: hover) and (pointer: fine) {
  body.home,
  body.home * {
    cursor: none !important;
  }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: #3b82f6; /* remplace par ton bleu de charte */
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition:
      width 0.25s ease,
      height 0.25s ease,
      margin 0.25s ease,
      opacity 0.25s ease,
      background 0.25s ease;
    will-change: transform;
  }

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

  /* Survol d'un lien, bouton ou champ */
  .cursor-dot.is-hover {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    background: rgba(59, 130, 246, 0.25);
  }

  /* Clic */
  .cursor-dot.is-down {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
  }
}

/* Sur tactile : pas de point */
@media (hover: none), (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

/* ---------- cartes de tarifs (page maintenances) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: #f8f8f9;
  border: 2px solid #1a9bff;
  border-radius: 32px;
  box-shadow: 8px 10px 22px rgba(10, 20, 60, 0.16);
  color: var(--ink);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 10px 16px 30px rgba(10, 20, 60, 0.2);
}

/* bloc du haut : titre, prix, description, bouton */
.plan__head {
  padding: 22px 24px 26px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 18px rgba(10, 20, 60, 0.14);
}
.plan__name {
  font-size: 28px;
  color: var(--ink);
  margin: 0;
}
.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-height: 64px;
  margin-top: 6px;
}
.plan__price b {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}
.plan__price span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.plan__tag {
  min-height: 52px;
  margin: 14px 0 12px;
  font-size: 14.5px;
  line-height: 1.4;
  color: #6b7280;
}
.plan__btn {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s,
    background 0.2s;
}
.plan__btn:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* liste des prestations */
.plan__list {
  list-style: none;
  margin: 0;
  padding: 26px 24px 30px;
  flex: 1;
}
.plan__item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
}
.plan__item:last-child {
  margin-bottom: 0;
}
.plan__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* coche verte */
.plan__item--yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.5l6 6L21 6'/%3E%3C/svg%3E");
}
/* "sur devis" : tiret gris */
.plan__item--devis {
  color: #6b7280;
}
.plan__item--devis::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4bccb' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}

.plans__note {
  margin-top: 30px;
  max-width: 80ch;
  font-size: 14.5px;
  color: var(--slate);
}

.pcr-card {
  /* couleur du néon : à modifier ici uniquement */
  --pcr-neon: #7b5cff;
  --pcr-neon-rgb: 47, 107, 255;
  --pcr-neon-soft: #8fb0ff;

  position: relative;
  width: 250px;
  height: 160px;
  justify-self: center;
  border-radius: 12px;
  overflow: hidden;
  background: #101018;
  border: 2px solid var(--pcr-neon);
  animation:
    pcrNeonPulse 2.5s ease-in-out infinite,
    pcrFloat 4s ease-in-out infinite;
}
.pcr-card:hover,
.pcr-card:focus-visible {
  animation-play-state: running, paused;
}

@keyframes pcrNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 5px var(--pcr-neon),
      0 0 10px var(--pcr-neon),
      0 0 20px var(--pcr-neon);
  }
  50% {
    box-shadow:
      0 0 10px var(--pcr-neon),
      0 0 10px var(--pcr-neon),
      0 0 15px var(--pcr-neon),
      0 0 40px var(--pcr-neon);
  }
}
@keyframes pcrFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pcr-under {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(var(--pcr-neon-rgb), 0.25),
      transparent 55%
    ),
    #0a1030;
}

.pcr-under strong {
  font-size: 1.25rem;
  color: var(--pcr-neon);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 10px var(--pcr-neon),
    0 0 20px var(--pcr-neon);
  animation: pcrTextPulse 2.5s ease-in-out infinite;
}

.pcr-under span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pcr-neon-soft);
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pcr-page {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #02092b;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  clip-path: polygon(
    0 0,
    calc(100% - var(--pcr-c)) 0,
    100% var(--pcr-c),
    100% 100%,
    0 100%
  );
  transition: clip-path 0.55s cubic-bezier(0.25, 0.8, 0.3, 1);
  --pcr-c: 34px;
}

.pcr-page strong {
  font-size: 1.25rem;
  color: var(--pcr-neon);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 10px var(--pcr-neon),
    0 0 20px var(--pcr-neon);
  animation: pcrTextPulse 2.5s ease-in-out infinite;
}

@keyframes pcrTextPulse {
  0%,
  100% {
    text-shadow:
      0 0 6px var(--pcr-neon),
      0 0 12px var(--pcr-neon);
  }
  50% {
    text-shadow:
      0 0 10px var(--pcr-neon),
      0 0 22px var(--pcr-neon),
      0 0 40px var(--pcr-neon);
  }
}

.pcr-curl {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--pcr-c);
  height: var(--pcr-c);
  --pcr-c: 34px;
  background: linear-gradient(
    225deg,
    transparent 48%,
    #fefefe 50%,
    #02092b 100%
  );
  border-bottom-left-radius: 55%;
  box-shadow: -5px 5px 12px rgba(0, 0, 0, 0.45);
  transition:
    width 0.55s cubic-bezier(0.25, 0.8, 0.3, 1),
    height 0.55s cubic-bezier(0.25, 0.8, 0.3, 1);
  pointer-events: none;
}

.pcr-card:hover .pcr-page,
.pcr-card:focus-visible .pcr-page {
  --pcr-c: 150px;
}

.pcr-card:hover .pcr-curl,
.pcr-card:focus-visible .pcr-curl {
  width: 150px;
  height: 150px;
}

.pcr-card:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}

.pcr-card[aria-pressed="true"] .pcr-page {
  --pcr-c: 380px;
}

.pcr-card[aria-pressed="true"] .pcr-curl {
  width: 380px;
  height: 380px;
  opacity: 0;
  transition:
    width 0.6s cubic-bezier(0.25, 0.8, 0.3, 1),
    height 0.6s cubic-bezier(0.25, 0.8, 0.3, 1),
    opacity 0.35s ease 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .pcr-card,
  .pcr-under strong,
  .pcr-page strong {
    animation: none;
  }
  .pcr-page,
  .pcr-curl {
    transition: none;
  }
}

.plan__old {
  color: #8a8a8a;
  font-size: 18px;
  margin-right: 6px;
  text-decoration: line-through;
}
.plan__pct {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fdecea;
  color: #d92d20;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}
.offer .price b {
  font-weight: 700;
}
