/* Codnova — design tokens from design-system/codnova/MASTER.md */
:root {
  --color-primary: #2563eb;
  --color-primary-strong: #1d4ed8;
  --color-on-primary: #ffffff;
  --color-secondary: #3b82f6;
  /* CTA orange darkened from #EA580C so white label text meets 4.5:1 */
  --color-accent: #c2410c;
  --color-accent-hover: #9a3412;
  --color-on-accent: #ffffff;
  --color-background: #f8fafc;
  --color-foreground: #1e293b;
  --color-heading: #0f172a;
  --color-card: #ffffff;
  --color-muted: #e9eff8;
  --color-muted-foreground: #475569;
  --color-border: #e2e8f0;
  --color-destructive: #dc2626;
  --color-success: #15803d;
  --color-ring: #2563eb;

  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.14);
  --glass-blur: 16px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-reveal: 600ms;

  --z-orbs: -1;
  --z-header: 40;
  --z-fab: 30;

  --container: 1160px;
  --header-h: 72px;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--color-heading); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-heading); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: var(--z-orbs); overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: #93c5fd; top: -160px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #c4b5fd; top: 40%; left: -180px; opacity: 0.4; }
.orb-3 { width: 380px; height: 380px; background: #fdba74; bottom: -160px; right: 10%; opacity: 0.35; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-radius: var(--radius-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.9375rem; text-decoration: none; cursor: pointer;
  touch-action: manipulation; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, box-shadow var(--dur-base) ease, transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn-accent { background: var(--color-accent); color: var(--color-on-accent); box-shadow: 0 8px 20px -8px rgba(194, 65, 12, 0.6); }
.btn-accent:hover { background: var(--color-accent-hover); box-shadow: 0 10px 24px -8px rgba(194, 65, 12, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--color-heading); border-color: var(--color-border); }
.btn-ghost:hover { background: #fff; border-color: #cbd5e1; }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  transition: background-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: var(--space-6); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1875rem; color: var(--color-heading); letter-spacing: -0.02em; min-height: 44px; }
.nav-links { display: flex; gap: var(--space-2); margin-left: auto; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--color-muted-foreground);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav-links a:not(.btn):hover { color: var(--color-heading); background: rgba(255, 255, 255, 0.7); }
.nav-cta-mobile { display: none; }
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--color-border);
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 38px; padding: 0 10px; border-radius: 999px;
  color: var(--color-muted-foreground); text-decoration: none;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.lang-switch a:hover { color: var(--color-heading); }
.lang-switch a[aria-current="page"] { background: var(--color-heading); color: #fff; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--color-border); background: rgba(255, 255, 255, 0.8); color: var(--color-heading);
  align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 899px) {
  .nav-cta { display: none; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .nav-links {
    position: absolute; top: calc(var(--header-h) - 4px); left: var(--space-4); right: var(--space-4);
    flex-direction: column; gap: var(--space-1); padding: var(--space-3);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--glass-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-base) ease, transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a:not(.btn) { width: 100%; }
  .nav-cta-mobile { display: block; margin-top: var(--space-2); }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: var(--space-12); align-items: center;
  padding-top: var(--space-12); padding-bottom: var(--space-16);
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: start; padding-top: var(--space-16); padding-bottom: var(--space-24); min-height: calc(88dvh - var(--header-h)); }
  /* Top-align with the copy so the card stays above the fold when the headline wraps (e.g. French) */
  .hero-visual { margin-top: var(--space-6); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px; margin-bottom: var(--space-6);
  border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--color-border);
  font-size: 0.875rem; font-weight: 600; color: var(--color-primary-strong);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.grad { background: linear-gradient(100deg, var(--color-primary) 10%, #7c3aed 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { color: #000; }
.lead { margin-top: var(--space-6); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--color-muted-foreground); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-8); font-size: 0.9375rem; font-weight: 500; color: var(--color-foreground); }
.hero-points li, .cta-points li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-points .icon, .cta-points .icon { width: 18px; height: 18px; color: var(--color-success); }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; white-space: normal; }
}

/* Hero visual */
.hero-visual { position: relative; padding: var(--space-8) 0; max-width: 520px; width: 100%; margin-inline: auto; }
.flow-card { padding: var(--space-6); }
.flow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.flow-title { font-weight: 700; color: var(--color-heading); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--color-success); background: #dcfce7; padding: 4px 10px; border-radius: 999px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: pulse 2s ease-in-out infinite; }
.flow { display: grid; gap: 0; counter-reset: none; }
.flow-step {
  position: relative; display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3); border-radius: var(--radius-md);
  transition: background-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
.flow-step + .flow-step { margin-top: var(--space-4); }
.flow-step + .flow-step::before {
  content: ""; position: absolute; left: calc(var(--space-3) + 21px); top: -18px; height: 20px; width: 2px;
  background: linear-gradient(var(--color-border), #cbd5e1);
}
.flow-step strong { display: block; font-size: 0.9375rem; color: var(--color-heading); }
.flow-step small { display: block; font-size: 0.8125rem; color: var(--color-muted-foreground); }
.flow-step.active { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 18px -8px rgba(37, 99, 235, 0.35); }
.step-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.step-icon .icon { width: 22px; height: 22px; }
.step-icon.blue { background: #dbeafe; color: #1d4ed8; }
.step-icon.violet { background: #ede9fe; color: #6d28d9; }
.step-icon.green { background: #dcfce7; color: #15803d; }
.step-icon.orange { background: #ffedd5; color: #c2410c; }

.chip { position: absolute; padding: 12px 16px; border-radius: var(--radius-md); display: grid; gap: 2px; }
.chip-label { font-size: 0.75rem; font-weight: 600; color: var(--color-muted-foreground); }
.chip-value { font-size: 1.125rem; font-weight: 800; color: var(--color-heading); font-variant-numeric: tabular-nums; }
/* Chips sit inside each slide; offsets include the 32px the visual's padding used to provide */
.chip-a { top: -60px; right: -8px; }
.chip-b { bottom: -60px; left: -12px; }

/* Workflow carousel: every slide occupies the same grid cell, so the track keeps
   the height of the tallest slide and the hero never shifts when slides change. */
.flow-track { display: grid; }
.flow-slide {
  grid-area: 1 / 1; position: relative; display: grid;
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 600ms;
}
.flow-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flow-slide.is-leaving { transform: translateX(-24px); }
.flow-slide .flow-card { height: 100%; }

.flow-controls { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1); margin-top: var(--space-4); }
/* Slides waiting off to the side must never widen the page */
.hero { overflow-x: clip; }
@media (max-width: 559px) {
  /* Narrow screens: the bottom chip can be as wide as the controls, so drop them below it */
  .flow-controls { justify-content: center; margin-top: 76px; }
}
.flow-pause {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--color-border); background: rgba(255, 255, 255, 0.8); color: var(--color-heading);
  transition: background-color var(--dur-fast) ease;
}
.flow-pause:hover { background: #fff; }
.flow-pause .icon { width: 16px; height: 16px; }
.flow-pause .icon-play { display: none; }
.flow-pause.is-paused .icon-pause { display: none; }
.flow-pause.is-paused .icon-play { display: block; }
.flow-dot {
  width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; border-radius: 999px;
}
.flow-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: #94a3b8;
  transition: width var(--dur-base) var(--ease-out), background-color var(--dur-base) ease;
}
.flow-dot:hover::before { background: var(--color-muted-foreground); }
.flow-dot[aria-current="true"]::before { width: 22px; background: var(--color-primary); }
@media (max-width: 559px) {
  .chip-a { right: 0; }
  .chip-b { left: 0; }
}

/* ---------- Tools strip ---------- */
.tools { text-align: center; padding-bottom: var(--space-12); }
.tools-title { font-size: 0.875rem; font-weight: 600; color: var(--color-muted-foreground); text-transform: uppercase; letter-spacing: 0.08em; }
.tools-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.tools-list li {
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--color-border);
  font-weight: 600; font-size: 0.9375rem; color: var(--color-foreground);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-16); }
@media (min-width: 1024px) { .section { padding-block: var(--space-24); } }
.section-head { max-width: 680px; margin-bottom: var(--space-12); }
.kicker { font-size: 0.875rem; font-weight: 700; color: var(--color-primary-strong); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-3); }
.section-sub { margin-top: var(--space-4); font-size: 1.0625rem; color: var(--color-muted-foreground); }

/* Value */
.value-grid { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: var(--space-8); }
.value-num { display: block; font-size: 0.875rem; font-weight: 800; color: var(--color-primary); margin-bottom: var(--space-4); font-variant-numeric: tabular-nums; }
.value-card h3 { font-size: 1.25rem; }
.value-card p { margin-top: var(--space-2); color: var(--color-muted-foreground); }

/* Services */
.services-grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service { padding: var(--space-8); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease; }
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 20px 40px -16px rgba(15, 23, 42, 0.2); }
.svc-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #dbeafe, #ede9fe); color: var(--color-primary-strong);
}
.svc-icon .icon { width: 24px; height: 24px; }
.service p { margin-top: var(--space-2); color: var(--color-muted-foreground); }
.service-cta { background: linear-gradient(140deg, rgba(37, 99, 235, 0.95), rgba(109, 40, 217, 0.95)); border-color: transparent; color: #fff; }
.service-cta h3 { color: #fff; }
.service-cta p { color: rgba(255, 255, 255, 0.9); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-6); min-height: 44px;
  font-weight: 700; text-decoration: none; color: #fff;
}
.text-link .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }
.service-cta :focus-visible { outline-color: #fff; }

/* Process */
.process { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--space-8) var(--space-6); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-6);
  background: var(--color-primary); color: var(--color-on-primary); font-weight: 800;
}
.step p { margin-top: var(--space-2); color: var(--color-muted-foreground); }

/* Use cases tabs */
.tablist { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.tablist [role="tab"] {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--color-muted-foreground);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--color-border);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.tablist [role="tab"]:hover { color: var(--color-heading); background: #fff; }
.tablist [role="tab"][aria-selected="true"] { background: var(--color-heading); color: #fff; border-color: var(--color-heading); }
.panel { padding: var(--space-8); animation: fadeIn var(--dur-base) ease; }
.uc-list { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .uc-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-8); } }
.uc-list li { position: relative; padding-left: 32px; font-weight: 500; }
.uc-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: #dbeafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ */
.faq-list { display: grid; gap: var(--space-3); max-width: 820px; }
.faq details { border-radius: var(--radius-md); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 56px; padding: var(--space-4) var(--space-6); cursor: pointer; list-style: none;
  font-weight: 600; color: var(--color-heading); border-radius: var(--radius-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 var(--space-6) var(--space-6); color: var(--color-muted-foreground); max-width: 68ch; }

/* CTA / Booking */
.cta-wrap {
  display: grid; gap: var(--space-8); align-items: center;
  padding: var(--space-8) var(--space-6); border-radius: 32px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 60%, #4c1d95 100%);
  color: #e2e8f0; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-wrap { padding: var(--space-16); } }
@media (min-width: 1024px) { .cta-wrap { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); } }
.cta-copy h2 { color: #fff; }
.cta-copy > p { margin-top: var(--space-4); font-size: 1.0625rem; color: #cbd5e1; max-width: 48ch; }
.cta-action { display: grid; gap: var(--space-8); justify-items: start; }
.cta-points { display: grid; gap: var(--space-3); font-weight: 500; }
.cta-points .icon { color: #4ade80; }
.cta-wrap :focus-visible { outline-color: #fff; }
@media (max-width: 479px) {
  .cta-action .btn { width: 100%; white-space: normal; }
}

/* Floating WhatsApp button (stays in view while scrolling) */
.whatsapp-fab {
  position: fixed; z-index: var(--z-fab);
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.45);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-base) ease, background-color var(--dur-fast) ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.5); }
.whatsapp-fab:active { transform: scale(0.96); }
.whatsapp-fab:focus-visible { outline-offset: 4px; border-radius: 50%; }
@media (min-width: 768px) {
  .whatsapp-fab { right: var(--space-6); bottom: var(--space-6); width: 60px; height: 60px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); padding-block: var(--space-12); margin-top: var(--space-8); }
/* Leave room so the WhatsApp button never sits on top of the last footer line */
@media (max-width: 767px) { .site-footer { padding-bottom: calc(var(--space-12) + 64px); } }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--color-muted-foreground); font-weight: 500; }
.footer-links a:hover { color: var(--color-heading); }
.copyright { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); } 50% { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .service:hover { transform: none; }
}
