/* SnapFix · minisite */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap');

:root {
  --ink: #14110a;
  --ink-soft: #2a2418;
  --muted: #6b6354;
  --surface: #faf7f0;
  --surface-solid: #ffffff;
  --line: rgba(20, 17, 10, 0.1);
  /* Jaune app SnapFix */
  --brand: #ffd60a;
  --brand-deep: #e6c009;
  --brand-tint: #ffe04d;
  --brand-bright: #ffd60a;
  --brand-ink: #1c1c1e;
  --brand-glow: rgba(255, 214, 10, 0.28);
  --radius: 0.75rem;
  --container: 68rem;
  --header-h: 4rem;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-legal: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --atmosphere:
    radial-gradient(ellipse 100% 80% at 15% -20%, rgba(255, 214, 10, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(255, 214, 10, 0.12), transparent 50%),
    linear-gradient(180deg, #fbf8f0 0%, #faf7f0 42%, #f3eee3 100%);
}

html.dark {
  --ink: #f5f0e6;
  --ink-soft: #ddd4c2;
  --muted: #a89c86;
  --surface: #0c0b08;
  --surface-solid: #16140f;
  --line: rgba(245, 240, 230, 0.12);
  --brand: #ffd60a;
  --brand-deep: #e6c009;
  --brand-tint: #ffe04d;
  --brand-ink: #1c1c1e;
  --brand-glow: rgba(255, 214, 10, 0.28);
  --atmosphere:
    radial-gradient(ellipse 100% 80% at 15% -20%, rgba(255, 214, 10, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(255, 214, 10, 0.12), transparent 50%),
    linear-gradient(180deg, #080706 0%, #0c0b08 45%, #15120c 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--atmosphere);
  background-attachment: fixed;
  line-height: 1.55;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #a68600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7a5f00;
}

html.dark a {
  color: #c9a008;
}

html.dark a:hover {
  color: #e6c009;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
}

.nav-desktop a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: #a68600;
}

html.dark .nav-desktop a:hover {
  color: #c9a008;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-select,
.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  border-radius: 999px;
  height: 2.25rem;
  cursor: pointer;
}

.lang-select {
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.85rem;
}

.theme-toggle,
.menu-toggle {
  width: 2.25rem;
  display: inline-grid;
  place-items: center;
}

html.dark .icon-moon,
html:not(.dark) .icon-sun {
  display: none;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--line);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.65rem 0.25rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--surface) 92%, transparent) 100%),
    radial-gradient(circle at 78% 28%, rgba(201, 160, 8, 0.28), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(0, 0, 0, 0.05), transparent 40%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__content {
  max-width: 34rem;
}

.hero__brand {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__device {
  justify-self: center;
  width: min(100%, 22rem);
  filter: drop-shadow(0 28px 48px rgba(154, 122, 0, 0.32));
  animation: deviceFloat 5.5s var(--ease) infinite;
}

.hero__device img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Showcase strip */
.showcase {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.showcase__track {
  display: flex;
  gap: 1rem;
  padding: 0.5rem max(1rem, calc((100% - var(--container)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.showcase__item {
  margin: 0;
  flex: 0 0 auto;
  width: min(42vw, 15.5rem);
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.12);
  transition: transform 0.35s var(--ease);
}

.showcase__item:hover {
  transform: translateY(-4px);
}

.showcase__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* Feature rows */
.feature-row {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.feature-row--blue {
  background: linear-gradient(145deg, #e6c009 0%, #ffd60a 48%, #ffe04d 100%);
  color: #1c1c1e;
}

.feature-row--blue h3 {
  color: #1c1c1e;
}

.feature-row--blue p {
  color: rgba(28, 28, 30, 0.82);
}

.feature-row--white {
  background: color-mix(in srgb, var(--surface-solid) 88%, #fff6d6);
}

.feature-row__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-row__copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.feature-row__copy p {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.feature-row__media {
  justify-self: center;
  width: min(100%, 18rem);
  filter: drop-shadow(0 18px 36px rgba(11, 18, 32, 0.22));
}

.feature-row__media img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 0;
}

.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.65rem;
}

.section__sub {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
}

.cta-band {
  margin: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--brand-tint));
  color: var(--brand-ink);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  letter-spacing: -0.04em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.88;
  max-width: 32rem;
}

.cta-band a {
  color: var(--brand-ink);
}

.cta-band .btn-primary {
  background: #14110a;
  color: var(--brand-bright);
}

.cta-band .btn-primary:hover {
  background: #000;
  color: var(--brand-bright);
}

.cta-band .btn-ghost {
  border-color: rgba(20, 17, 10, 0.35);
  color: var(--brand-ink);
}

/* Legal */
.page-legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.page-legal .legal-head {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.page-legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.045em;
  margin: 0 0 0.5rem;
}

.page-legal .legal-meta {
  color: var(--muted);
  margin: 0;
}

.legal-body {
  max-width: 44rem;
  font-family: var(--font-legal);
  font-size: 1.05rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 2rem 0 0.65rem;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

/* FAQ */
.faq-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.faq-section .section__title {
  margin-bottom: 0.5rem;
}

.faq-list {
  max-width: 44rem;
  margin: 1.5rem auto 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1.15rem 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.faq-item__body p {
  margin: 0;
}

/* GEO article pages */
.page-geo {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.page-geo .geo-head {
  margin-bottom: 2rem;
  max-width: 44rem;
}

.page-geo h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.045em;
  margin: 0 0 0.75rem;
}

.page-geo .geo-lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
  max-width: 40rem;
}

.geo-body {
  max-width: 44rem;
  font-family: var(--font-legal);
  font-size: 1.05rem;
}

.geo-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 2rem 0 0.65rem;
}

.geo-body p,
.geo-body li {
  color: var(--ink-soft);
}

.geo-body ul {
  padding-left: 1.2rem;
}

.geo-body li {
  margin-bottom: 0.4rem;
}

.geo-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 44rem;
}

.geo-related h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.geo-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.geo-cta {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #a68600;
}

html.dark .site-footer a:hover {
  color: #c9a008;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.7s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .menu-toggle {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  }

  .hero__device {
    justify-self: end;
  }

  .feature-row__inner {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row__inner--flip .feature-row__copy {
    order: 2;
  }

  .feature-row__inner--flip .feature-row__media {
    order: 1;
  }

  .feature-row__media {
    width: min(100%, 20rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__device,
  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
