/* Delsia — identité */
:root {
  --navy: #050a30;
  --navy-deep: #03061c;
  --navy-lift: #0c1448;
  --orange: #ff6b35;
  --orange-hot: #ff824f;
  --orange-glow: rgba(255, 107, 53, 0.45);
  --teal: #109fb9;
  --teal-soft: rgba(16, 159, 185, 0.18);
  --fog: #f1f4f8;
  --ink: #050a30;
  --muted: #5a6570;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(5, 10, 48, 0.08);
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav.is-solid {
  background: rgba(5, 10, 48, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
}

.brand__word span {
  color: var(--orange);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a:not(.btn) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:not(.btn):hover {
  color: var(--white);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 32px var(--orange-glow);
}

.btn--primary:hover {
  background: var(--orange-hot);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-dark {
  border: 1px solid var(--line-dark);
  color: var(--navy);
  background: var(--white);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 4.5rem;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255, 107, 53, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(16, 159, 185, 0.18), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-lift) 100%);
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: end;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__brand-name span {
  color: var(--orange);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  animation: rise 0.9s 0.16s var(--ease) both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s 0.24s var(--ease) both;
}

.hero__visual {
  position: relative;
  animation: float-in 1.1s 0.2s var(--ease) both;
}

.device {
  position: relative;
  border-radius: 28px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}

.device__screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--fog);
  color: var(--ink);
  min-height: 420px;
}

.cr-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
}

.cr-tabs button {
  padding: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
  font-size: 0.85rem;
}

.cr-tabs button.is-active {
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.35), transparent);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.cr-tabs button[data-tab="owner"].is-active {
  background: linear-gradient(180deg, rgba(16, 159, 185, 0.4), transparent);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.cr-panel {
  display: none;
  padding: 1.25rem 1.35rem 1.5rem;
}

.cr-panel.is-active {
  display: block;
}

.cr-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.cr-panel h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.cr-panel p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #3d4751;
}

.cr-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.cr-panel li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line-dark);
}

.cr-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.cr-panel--owner li::before {
  background: var(--teal);
}

.badge-live {
  position: absolute;
  top: -0.65rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 24px var(--orange-glow);
}

.badge-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.4s ease-in-out infinite;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.section__lead {
  margin: 0 0 2.5rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.step {
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid var(--line-dark);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step:first-child {
  padding-left: 0;
}

.step__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.04em;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 28ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.panel {
  padding: 2rem;
  border-radius: var(--radius);
  min-height: 280px;
}

.panel--agent {
  background: linear-gradient(160deg, #0a1250, var(--navy));
  color: var(--white);
  border: 1px solid rgba(255, 107, 53, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.12);
}

.panel--owner {
  background: linear-gradient(160deg, #063944, #0a2f38);
  color: var(--white);
  border: 1px solid rgba(16, 159, 185, 0.45);
}

.panel__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel--agent .panel__tag {
  background: rgba(255, 107, 53, 0.2);
  color: var(--orange-hot);
}

.panel--owner .panel__tag {
  background: var(--teal-soft);
  color: #7ad7e8;
}

.panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 16ch;
}

.cta-band p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ——— Pricing ——— */
.page-hero {
  padding: 8.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 107, 53, 0.22), transparent 55%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: -2.5rem;
  padding-bottom: 5rem;
}

.plan {
  position: relative;
  padding: 1.75rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(5, 10, 48, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
}

.plan--featured {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 28px 60px rgba(5, 10, 48, 0.35);
}

.plan--featured::before {
  content: "Recommandé";
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.plan__price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan__price small {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.65;
}

.plan__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan--featured .plan__desc {
  color: rgba(255, 255, 255, 0.7);
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.plan li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.plan li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
}

.plan--featured li::before {
  color: var(--orange-hot);
}

.plan .btn {
  width: 100%;
}

/* ——— Footer ——— */
.footer {
  padding: 2.5rem 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a:hover {
  color: var(--white);
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .hero__inner,
  .split,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 1.5rem 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .hero {
    align-items: stretch;
    padding-top: 6.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(5, 10, 48, 0.96);
    border: 1px solid var(--line);
  }

  .nav__links.is-open {
    display: flex;
  }
}
