/*
Theme Name: Orbya Cosmic
Theme URI: https://orbyaagency.com
Author: Orbya
Description: Thème WordPress personnalisé pour l’expérience cosmique Orbya.
Version: 1.0.0
Text Domain: orbya-cosmic
*/

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */

:root {
  --space: #03040c;
  --violet: #5b3df5;
  --cyan: #28d8ff;
  --magenta: #d62976;
  --gold: #ffb84d;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --grad: linear-gradient(
    120deg,
    var(--cyan),
    var(--violet) 55%,
    var(--magenta)
  );

  --ink: #eaf0ff;
  --muted: rgba(234, 240, 255, .66);
  --faint: rgba(234, 240, 255, .42);
  --accent: #28d8ff;
  --line: rgba(150, 170, 255, .16);

  --scrim: rgba(4, 6, 16, .42);
  --scrim-strong: rgba(4, 6, 16, .66);

  --sky-top: #03040c;
  --sky-bot: #0a0d1c;
}

/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--space);
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;

  background: var(--space);
  color: var(--ink);

  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;

  font-size: 16px;
  line-height: 1.55;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  transition:
    color .9s var(--ease),
    background-color .9s var(--ease);
}

body.orbya-live {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: var(--space);
}

body.admin-bar .topbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.display {
  font-family:
    "Space Grotesk",
    "Inter",
    sans-serif;
}

::selection {
  background: var(--accent);
  color: #03040c;
}

/* ============================================================
   APPLICATION ORBYA
   ============================================================ */

#orbya-app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* ============================================================
   ARRIÈRE-PLAN WEBGL
   ============================================================ */

#bg {
  position: fixed;
  inset: 0;

  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;

  pointer-events: none;
}

.atmos {
  position: fixed;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    radial-gradient(
      130% 80% at 50% 120%,
      transparent 35%,
      var(--sky-bot) 100%
    ),
    linear-gradient(
      180deg,
      transparent 55%,
      var(--scrim) 100%
    );

  transition: background .9s var(--ease);
}

.grain {
  position: fixed;
  inset: -50%;

  z-index: 1;

  pointer-events: none;

  opacity: .05;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  animation: grain 7s steps(6) infinite;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-3%, 2%);
  }

  100% {
    transform: translate(2%, -2%);
  }
}

.wrap {
  position: relative;
  z-index: 2;

  width: 100%;
}

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

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;

  z-index: 60;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding:
    22px
    clamp(20px, 5vw, 60px);

  transition:
    background .4s var(--ease),
    backdrop-filter .4s var(--ease),
    padding .4s var(--ease),
    border-color .9s var(--ease);
}

.topbar.solid {
  padding-top: 14px;
  padding-bottom: 14px;

  background: var(--scrim-strong);

  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--ink);

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;

  text-decoration: none;

  transition: color .9s var(--ease);
}

.brand .mk {
  flex: 0 0 auto;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  background:
    conic-gradient(
      from 200deg,
      var(--cyan),
      var(--violet),
      var(--magenta),
      var(--gold),
      var(--cyan)
    );

  box-shadow:
    0 0 18px rgba(91, 61, 245, .6),
    inset 0 0 8px rgba(0, 0, 0, .45);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navlinks a {
  padding: 9px 15px;

  color: var(--muted);

  border-radius: 30px;

  font-size: 14px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color .25s,
    background .25s,
    border-color .25s;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
}

.navlinks .devis {
  margin-left: 10px;

  color: var(--ink);

  border: 1.5px solid var(--accent);
}

.navlinks .devis:hover,
.navlinks .devis:focus-visible {
  background:
    color-mix(
      in srgb,
      var(--accent) 14%,
      transparent
    );
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;

  padding: 8px;

  background: none;

  border: 0;

  cursor: pointer;
}

.burger span {
  display: block;

  width: 24px;
  height: 2px;

  background: var(--ink);

  transition:
    transform .3s,
    opacity .3s,
    background .9s;
}

/* ============================================================
   HUD
   ============================================================ */

.hud {
  position: fixed;
  bottom: 26px;
  left: clamp(20px, 5vw, 60px);

  z-index: 55;

  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--faint);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;

  pointer-events: none;

  transition: color .9s var(--ease);
}

.hud .dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 12px var(--accent);

  transition:
    background .9s,
    box-shadow .9s;
}

.hud b {
  color: var(--muted);
  font-weight: 600;
}

.progress {
  position: fixed;
  right: clamp(20px, 5vw, 60px);
  bottom: 26px;

  z-index: 55;

  color: var(--faint);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 11px;
  letter-spacing: 2px;

  pointer-events: none;
}

/* ============================================================
   INDICATEUR D’ATTERRISSAGE
   ============================================================ */

.landing-cue {
  position: fixed;
  top: 46%;
  left: 50%;

  z-index: 54;

  transform:
    translate(-50%, -50%);

  opacity: 0;

  text-align: center;

  pointer-events: none;

  transition:
    opacity .5s var(--ease);
}

.landing-cue.show {
  opacity: 1;
}

.landing-cue .ph {
  color: var(--accent);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.landing-cue .pl {
  margin-top: 6px;

  color: var(--ink);

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(34px, 7vw, 72px);

  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

/* ============================================================
   STRUCTURE DES SECTIONS
   ============================================================ */

section {
  position: relative;
  z-index: 2;

  width: 100%;

  padding-right:
    clamp(20px, 6vw, 80px);

  padding-left:
    clamp(20px, 6vw, 80px);
}

.panel {
  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

.world {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 100vh;

  padding-top: 120px;
  padding-bottom: 90px;
}

.scrim {
  width: 100%;

  padding:
    clamp(28px, 4vw, 52px);

  background: var(--scrim);

  border: 1px solid var(--line);
  border-radius: 26px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, .35);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  transition:
    background .9s var(--ease),
    border-color .9s var(--ease);
}

/* ============================================================
   ÉLÉMENTS TYPOGRAPHIQUES
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 16px;

  color: var(--accent);

  background:
    color-mix(
      in srgb,
      var(--accent) 7%,
      transparent
    );

  border:
    1px solid
    color-mix(
      in srgb,
      var(--accent) 35%,
      transparent
    );

  border-radius: 40px;

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.2;
  text-transform: uppercase;

  transition:
    color .9s,
    border-color .9s,
    background .9s;
}

.eyebrow .sat {
  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 10px var(--accent);
}

.sec-head {
  max-width: 760px;

  margin-bottom: 42px;
}

.sec-head h2 {
  margin-top: 20px;
  margin-bottom: 0;

  font-size:
    clamp(30px, 5vw, 60px);

  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.02;
}

.sec-head h2 .g,
#hero h1 .g,
.contact-card h2 .g {
  color: transparent;

  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}

.sec-head p {
  max-width: 620px;

  margin-top: 18px;
  margin-bottom: 0;

  color: var(--muted);

  font-size:
    clamp(15px, 1.6vw, 18px);
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 18px;
}

.stamp .ln {
  width: 38px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      transparent
    );
}

.stamp .t {
  color: var(--accent);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stamp .alt {
  color: var(--faint);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 10.5px;
  letter-spacing: 1px;
}

/* ============================================================
   ANIMATIONS D’APPARITION
   ============================================================ */

.rv {
  opacity: 0;

  transform:
    translateY(40px);

  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 {
  transition-delay: .08s;
}

.rv.d2 {
  transition-delay: .16s;
}

.rv.d3 {
  transition-delay: .24s;
}

.rv.d4 {
  transition-delay: .32s;
}

.rv.d5 {
  transition-delay: .4s;
}

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

#hero {
  align-items: center;
  text-align: center;
}

.hero-kicker {
  margin-bottom: 28px;
}

#hero h1 {
  margin: 0;

  font-size:
    clamp(40px, 8vw, 104px);

  font-weight: 700;
  letter-spacing: -2px;
  line-height: .95;
}

#hero p {
  max-width: 600px;

  margin:
    26px auto 0;

  color: var(--muted);

  font-size:
    clamp(16px, 2vw, 20px);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;

  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 30px;

  border-radius: 40px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform .25s var(--ease),
    box-shadow .25s var(--ease),
    background .3s,
    border-color .9s;
}

.btn-primary {
  color: #fff;

  background: var(--grad);

  box-shadow:
    0 14px 40px rgba(91, 61, 245, .5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform:
    translateY(-3px);

  box-shadow:
    0 20px 54px rgba(40, 216, 255, .5);
}

.btn-ghost {
  color: var(--ink);

  background: transparent;

  border:
    1.5px solid
    color-mix(
      in srgb,
      var(--ink) 28%,
      transparent
    );
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      transparent
    );

  border-color: var(--accent);

  transform:
    translateY(-3px);
}

.scrollcue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  margin-top: 58px;

  color: var(--faint);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.scrollcue .rail {
  position: relative;

  width: 1px;
  height: 46px;

  overflow: hidden;

  background:
    linear-gradient(
      var(--accent),
      transparent
    );
}

.scrollcue .rail::after {
  position: absolute;
  top: -50%;
  left: 0;

  width: 1px;
  height: 50%;

  content: "";

  background: #fff;

  animation:
    drop 1.8s var(--ease) infinite;
}

@keyframes drop {
  0% {
    top: -50%;
  }

  60%,
  100% {
    top: 100%;
  }
}

/* ============================================================
   CARTES DE MISSION
   ============================================================ */

.mission-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;
}

.mcard {
  min-width: 0;

  padding: 28px 24px;

  background:
    color-mix(
      in srgb,
      var(--accent) 5%,
      var(--scrim)
    );

  border: 1px solid var(--line);
  border-radius: 20px;

  transition:
    transform .4s var(--ease),
    border-color .4s,
    background .9s;
}

.mcard:hover {
  border-color: var(--accent);

  transform:
    translateY(-6px);
}

.mcard .orb {
  width: 44px;
  height: 44px;

  margin-bottom: 20px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      #fff,
      var(--accent) 32%,
      var(--violet) 85%
    );

  box-shadow:
    0 0 24px
    color-mix(
      in srgb,
      var(--accent) 55%,
      transparent
    );
}

.mcard h3 {
  margin-bottom: 10px;

  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.mcard p {
  margin: 0;

  color: var(--muted);

  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================================
   STATISTIQUES
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 34px;
}

.stat {
  min-width: 0;

  padding: 30px 26px;

  background: var(--scrim);

  border: 1px solid var(--line);
  border-radius: 20px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stat .n {
  color: transparent;

  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(40px, 6vw, 60px);

  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.stat .l {
  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;
}

/* ============================================================
   CARACTÉRISTIQUES
   ============================================================ */

.feat-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}

.feat {
  min-width: 0;

  padding: 26px 24px 28px;

  background: var(--scrim);

  border: 1px solid var(--line);
  border-radius: 18px;

  transition:
    transform .4s var(--ease),
    border-color .4s,
    background .9s;
}

.feat:hover {
  border-color: var(--accent);

  transform:
    translateY(-6px);
}

.feat .idx {
  color: var(--accent);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
}

.feat h3 {
  margin: 13px 0 9px;

  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.3;
}

.feat p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}

.feat .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;

  margin-top: 16px;
}

.feat .tags span {
  padding: 5px 11px;

  color: var(--faint);

  border: 1px solid var(--line);
  border-radius: 20px;

  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */

.svc-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1px;

  overflow: hidden;

  background: var(--line);

  border: 1px solid var(--line);
  border-radius: 22px;
}

.svc {
  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 220px;

  padding: 36px 28px;

  background: var(--scrim-strong);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    background .45s var(--ease);
}

.svc:hover {
  background:
    color-mix(
      in srgb,
      var(--accent) 12%,
      var(--scrim-strong)
    );
}

.svc .num {
  color: var(--faint);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
}

.svc h3 {
  margin: 16px 0 12px;

  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1.2;
}

.svc p {
  margin: 0;

  color: var(--muted);

  font-size: 14.5px;
  line-height: 1.6;
}

.svc .arrow {
  margin-top: auto;
  padding-top: 24px;

  color: var(--accent);

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 13px;
  letter-spacing: 1px;

  opacity: 0;

  transform:
    translateX(-6px);

  transition:
    opacity .35s,
    transform .35s;
}

.svc:hover .arrow {
  opacity: 1;
  transform: none;
}

/* ============================================================
   CLIENTS
   ============================================================ */

#clients .panel {
  text-align: center;
}

.clients-scrim {
  text-align: center;
}

.clients-heading {
  max-width: 680px;

  margin-right: auto;
  margin-left: auto;

  text-align: center;
}

.clients-heading p {
  margin-right: auto;
  margin-left: auto;
}

.clients-stamp,
.contact-stamp {
  justify-content: center;
}

.constellation {
  position: relative;

  width: 100%;

  margin-top: 40px;
  padding: 24px 0;

  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 30px;

  width: max-content;

  animation:
    slide 38s linear infinite;
}

.marquee.rev {
  margin-top: 20px;

  animation-direction: reverse;
  animation-duration: 46s;
}

.constellation:hover .marquee {
  animation-play-state: paused;
}

.logo-pod {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  width: 148px;
  height: 86px;

  padding: 16px;

  background: var(--scrim);

  border: 1px solid var(--line);
  border-radius: 16px;

  transition:
    border-color .35s,
    transform .35s,
    background .35s;
}

.logo-pod:hover {
  border-color: var(--accent);

  transform:
    translateY(-4px);
}

.logo-pod img {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  filter:
    brightness(0)
    invert(1)
    opacity(.78);

  transition: filter .35s;
}

.logo-pod:hover img {
  filter:
    brightness(0)
    invert(1)
    opacity(1);
}

@keyframes slide {
  to {
    transform:
      translateX(-50%);
  }
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-wrap {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;

  margin-top: 26px;
}

#clients .faq-wrap {
  text-align: left;
}

.faq {
  overflow: hidden;

  background: var(--scrim);

  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  width: 100%;

  padding: 20px 22px;

  color: var(--ink);

  background: none;

  border: 0;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;

  text-align: left;

  cursor: pointer;
}

.faq button .pl {
  flex: 0 0 auto;

  color: var(--accent);

  font-size: 22px;

  transition:
    transform .35s var(--ease);
}

.faq.open button .pl {
  transform:
    rotate(45deg);
}

.faq .ans {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height .45s var(--ease);
}

.faq .ans p {
  margin: 0;

  padding:
    0
    22px
    20px;

  color: var(--muted);

  font-size: 14.5px;
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */

#contact .panel {
  text-align: center;
}

.contact-card {
  padding:
    clamp(40px, 6vw, 72px)
    clamp(24px, 5vw, 60px);

  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      var(--scrim-strong)
    );

  border: 1px solid var(--line);
  border-radius: 30px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    background .9s;
}

.contact-card h2 {
  margin-top: 20px;
  margin-bottom: 0;

  font-size:
    clamp(28px, 4.5vw, 52px);

  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
}

.contact-card p {
  max-width: 520px;

  margin:
    20px auto 0;

  color: var(--muted);

  font-size: 16px;
}

.contact-card .hero-cta {
  justify-content: center;

  margin-top: 34px;
}

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

.orbya-footer {
  position: relative;
  z-index: 2;

  width: 100%;

  padding:
    50px
    clamp(20px, 6vw, 80px)
    40px;

  background: var(--scrim-strong);

  border-top: 1px solid var(--line);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

.foot .left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot .left .mk {
  flex: 0 0 auto;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  background:
    conic-gradient(
      from 200deg,
      var(--cyan),
      var(--violet),
      var(--magenta),
      var(--gold),
      var(--cyan)
    );
}

.footer-brand {
  font-family:
    "Space Grotesk",
    "Inter",
    sans-serif;

  font-size: 18px;
  font-weight: 700;
}

.footer-copyright {
  color: var(--faint);

  font-size: 12.5px;
}

.foot .soc {
  display: flex;
  gap: 10px;
}

.foot .soc a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: var(--muted);

  border: 1px solid var(--line);
  border-radius: 50%;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 13px;

  text-decoration: none;

  transition:
    color .3s,
    border-color .3s,
    transform .3s;
}

.foot .soc a:hover,
.foot .soc a:focus-visible {
  color: var(--accent);

  border-color: var(--accent);

  transform:
    translateY(-3px);
}

.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;

  width: 100%;
  max-width: 1180px;

  margin:
    30px auto 0;

  color: var(--faint);

  font-size: 12.5px;
}

.foot-legal a {
  color: var(--faint);

  text-decoration: none;
}

.foot-legal a:hover,
.foot-legal a:focus-visible {
  color: var(--muted);
}

/* ============================================================
   PAGES INTERNES WORDPRESS
   ============================================================ */

.orbya-default-page {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  padding:
    140px
    24px
    80px;

  color: var(--ink);

  background: var(--space);
}

.orbya-default-page__content {
  width: min(900px, 100%);

  margin: 0 auto;
}

.orbya-default-page h1 {
  margin-bottom: 30px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(34px, 5vw, 60px);

  line-height: 1.05;
}

.orbya-default-page h2,
.orbya-default-page h3 {
  margin-top: 36px;
}

.orbya-default-page p,
.orbya-default-page li {
  color: var(--muted);
}

.orbya-default-page a {
  color: var(--accent);
}

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

a:focus-visible,
button:focus-visible {
  outline:
    2px solid var(--accent);

  outline-offset: 4px;
}

/* ============================================================
   TABLETTES
   ============================================================ */

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

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

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

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

  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .world {
    min-height: auto;

    padding-top: 120px;
    padding-bottom: 100px;
  }

  #hero {
    min-height: 100svh;
  }
}

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

@media (max-width: 640px) {
  section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .topbar {
    padding:
      16px
      18px;
  }

  .topbar.solid {
    padding:
      12px
      18px;
  }

  .brand {
    font-size: 18px;
  }

  .brand .mk {
    width: 26px;
    height: 26px;
  }

  .navlinks {
    display: none;
  }

  .burger {
    display: flex;
  }

  .navlinks.open {
    position: fixed;
    top: 68px;
    right: 16px;
    left: 16px;

    z-index: 70;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    padding: 14px;

    background: var(--scrim-strong);

    border: 1px solid var(--line);
    border-radius: 18px;

    box-shadow:
      0 30px 70px rgba(0, 0, 0, .4);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.admin-bar .navlinks.open {
    top: 114px;
  }

  .navlinks.open a {
    width: 100%;

    padding: 13px 16px;

    text-align: center;
  }

  .navlinks.open .devis {
    margin-left: 0;
  }

  .world {
    min-height: auto;

    padding-top: 100px;
    padding-bottom: 75px;
  }

  #hero {
    min-height: 100svh;

    justify-content: center;
  }

  #hero h1 {
    font-size:
      clamp(40px, 14vw, 64px);

    letter-spacing: -1.5px;
    line-height: .98;
  }

  #hero p {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;

    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .scrollcue {
    margin-top: 44px;
  }

  .scrim {
    padding: 24px 18px;

    border-radius: 20px;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .sec-head {
    margin-bottom: 30px;
  }

  .sec-head h2 {
    font-size:
      clamp(32px, 10vw, 44px);

    line-height: 1.03;
  }

  .stamp {
    gap: 8px;
    flex-wrap: wrap;
  }

  .stamp .ln {
    width: 24px;
  }

  .stamp .t {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .stamp .alt {
    width: 100%;

    padding-left: 32px;
  }

  .eyebrow {
    padding: 7px 12px;

    font-size: 10px;
    letter-spacing: 2px;
  }

  .mission-grid,
  .stats,
  .feat-grid,
  .svc-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .mcard,
  .feat,
  .stat,
  .svc {
    padding: 22px 18px;
  }

  .svc {
    min-height: 190px;
  }

  .svc .arrow {
    opacity: 1;
    transform: none;
  }

  .contact-card {
    padding:
      38px
      20px;

    border-radius: 22px;
  }

  .contact-card h2 {
    font-size:
      clamp(32px, 10vw, 44px);
  }

  .logo-pod {
    width: 120px;
    height: 72px;
  }

  .hud {
    display: none;
  }

  .progress {
    right: 18px;
    bottom: 24px;
  }

  .landing-cue .ph {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .landing-cue .pl {
    font-size:
      clamp(32px, 13vw, 54px);
  }

  .orbya-footer {
    padding:
      40px
      18px
      32px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-legal {
    flex-direction: column;
  }

  #soundbtn {
    right: 16px !important;
    bottom: 64px !important;
  }
}

/* ============================================================
   PETITS MOBILES
   ============================================================ */

@media (max-width: 390px) {
  section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .scrim {
    padding: 22px 15px;
  }

  #hero h1 {
    font-size: 40px;
  }

  .btn {
    padding:
      14px
      20px;
  }

  .topbar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .navlinks.open {
    right: 12px;
    left: 12px;
  }
}

/* ============================================================
   RÉDUCTION DES ANIMATIONS
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001s !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .marquee {
    animation: none;
  }
}

/* ============================================================
   LOGO OFFICIEL ORBYA
   Remplace tous les logos codés du site
   ============================================================ */

:root {
  --orbya-logo-image: url("assets/images/logo-orbya.png");
}

/* Suppression visuelle des anciens ronds codés */

.brand .mk,
.foot .left .mk,
.devis-brand-mark,
.devis-footer-mark,
.legal-brand-mark,
.legal-footer-mark {
  display: block !important;

  flex: 0 0 auto !important;

  width: 180px !important;
  height: 52px !important;

  background-image: var(--orbya-logo-image) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;
}

/* Cache le texte "Orbya" placé à côté du logo dans les headers */

.brand > span:not(.mk),
.devis-brand > span:not(.devis-brand-mark),
.legal-brand > span:not(.legal-brand-mark) {
  display: none !important;
}

/* Cache uniquement le nom Orbya dans les footers.
   Le copyright reste visible. */

.footer-brand,
.devis-footer-brand,
.legal-footer-brand {
  display: none !important;
}

/* Alignement des liens contenant le logo */

.brand,
.devis-brand,
.legal-brand {
  display: inline-flex !important;
  align-items: center !important;

  min-width: 180px;

  padding: 0 !important;

  line-height: 1 !important;
}

.brand:hover,
.devis-brand:hover,
.legal-brand:hover {
  filter: none !important;
}

/* Alignement des logos dans les footers */

.foot .left,
.devis-foot-left,
.legal-foot-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Taille spécifique du logo dans les footers */

.foot .left .mk,
.devis-footer-mark,
.legal-footer-mark {
  width: 160px !important;
  height: 48px !important;
}

/* Tablettes et mobiles */

@media (max-width: 680px) {
  .brand .mk,
  .devis-brand-mark,
  .legal-brand-mark {
    width: 135px !important;
    height: 40px !important;
  }

  .brand,
  .devis-brand,
  .legal-brand {
    min-width: 135px;
  }

  .foot .left .mk,
  .devis-footer-mark,
  .legal-footer-mark {
    width: 145px !important;
    height: 42px !important;
  }

  .foot .left,
  .devis-foot-left,
  .legal-foot-left {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* ============================================================
   PROJETS LANCÉS — SECTION CLIENTS
   ============================================================ */

.orbya-projects-showcase {
  position: relative;

  width: 100%;

  margin-top: 42px;
  padding:
    clamp(30px, 5vw, 56px);

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      color-mix(
        in srgb,
        var(--accent) 10%,
        var(--scrim-strong)
      ),
      var(--scrim-strong)
    );

  border: 1px solid var(--line);
  border-radius: 26px;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, .35);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.orbya-projects-showcase::before {
  position: absolute;
  top: -100px;
  right: -100px;

  width: 280px;
  height: 280px;

  content: "";

  background:
    radial-gradient(
      circle,
      color-mix(
        in srgb,
        var(--accent) 25%,
        transparent
      ),
      transparent 68%
    );

  border-radius: 50%;

  pointer-events: none;
}

.orbya-projects-intro {
  position: relative;
  z-index: 1;

  max-width: 700px;

  margin: 0 auto 38px;

  text-align: center;
}

.orbya-projects-label {
  display: inline-flex;

  margin-bottom: 16px;
  padding: 7px 14px;

  color: var(--accent);

  background:
    color-mix(
      in srgb,
      var(--accent) 8%,
      transparent
    );

  border:
    1px solid
    color-mix(
      in srgb,
      var(--accent) 30%,
      transparent
    );

  border-radius: 40px;

  font-family:
    "JetBrains Mono",
    "Space Grotesk",
    monospace;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.orbya-projects-intro h3 {
  margin: 0;

  color: var(--ink);

  font-size:
    clamp(30px, 5vw, 54px);

  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.05;
}

.orbya-projects-intro h3 .g {
  color: transparent;

  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}

.orbya-projects-intro p {
  max-width: 620px;

  margin: 18px auto 0;

  color: var(--muted);

  font-size:
    clamp(15px, 1.6vw, 18px);

  line-height: 1.7;
}

.orbya-projects-stats {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}

.orbya-project-stat {
  min-width: 0;

  padding: 28px 24px;

  background:
    rgba(4, 6, 16, .48);

  border: 1px solid var(--line);
  border-radius: 20px;

  text-align: left;

  transition:
    transform .35s var(--ease),
    border-color .35s,
    background .35s;
}

.orbya-project-stat:hover {
  background:
    color-mix(
      in srgb,
      var(--accent) 8%,
      rgba(4, 6, 16, .58)
    );

  border-color:
    color-mix(
      in srgb,
      var(--accent) 65%,
      var(--line)
    );

  transform:
    translateY(-6px);
}

.orbya-project-number {
  display: block;

  color: transparent;

  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(42px, 6vw, 68px);

  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.orbya-project-title {
  display: block;

  margin-top: 12px;

  color: var(--ink);

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 18px;
  font-weight: 600;
}

.orbya-project-stat p {
  margin: 10px 0 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}

.orbya-projects-cta {
  position: relative;
  z-index: 1;

  margin-top: 30px;
}

@media (max-width: 820px) {
  .orbya-projects-stats {
    grid-template-columns: 1fr;
  }

  .orbya-project-stat {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .orbya-projects-showcase {
    padding: 28px 18px;

    border-radius: 20px;
  }

  .orbya-projects-intro {
    margin-bottom: 26px;
  }

  .orbya-projects-intro h3 {
    font-size:
      clamp(32px, 10vw, 44px);
  }

  .orbya-projects-cta {
    width: 100%;
  }
}