:root {
  /* Herda schneider-ui.css — só tokens locais do site */
  --display: "Sora", system-ui, sans-serif;
  --script: "Sora", system-ui, sans-serif;
  --sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
  --nav-h: 5rem;
  --teal: var(--brand-dark);
  --teal-mid: var(--brand-mid);
  --teal-bright: var(--brand-mid);
  --accent-soft: var(--brand-light);
  --gold: var(--brand-mid);
  --gold-soft: var(--brand-light);
  --glass: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--sch-bg-app);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(158, 185, 190, 0.45);
}

/* ——— Loader ——— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, var(--velvet-mist) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%);
  color: #f7faf9;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.page-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-mark {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  animation: loaderPulse 1.2s var(--ease) infinite alternate;
}

@keyframes loaderPulse {
  from {
    opacity: 0.45;
    letter-spacing: 0.12em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.22em;
  }
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.nav-glass {
  pointer-events: auto;
  height: calc(var(--nav-h) - 1rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1.1rem;
  border-radius: 999px;
  color: #fff;
  transition: background 0.45s var(--ease), color 0.45s, box-shadow 0.45s, border-color 0.45s;
}

.nav.light .nav-glass,
.nav.scrolled .nav-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-side a,
.nav-menu {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  transition: background 0.25s var(--ease), color 0.2s ease, transform 0.28s var(--ease),
    box-shadow 0.28s ease, opacity 0.2s;
}

.nav-side a {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-logo {
  line-height: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  border-radius: 12px;
  background: #fff;
}

.nav-logo img {
  width: auto;
  height: 52px;
  border-radius: 0;
}

.nav-cta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.05rem;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.25s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.nav.light .nav-cta,
.nav.scrolled .nav-cta {
  background: var(--bubble);
  color: var(--bubble-ink);
  border-color: transparent;
}

.nav-menu {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  opacity: 1;
  padding: 0;
  border-radius: 999px;
}

.nav-menu span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(243, 246, 245, 0.92);
  backdrop-filter: blur(28px);
  display: grid;
  place-items: center;
}

.menu-panel[hidden] {
  display: none;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: grid;
  gap: 1.2rem;
}

.menu-panel a,
.menu-panel button {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 4.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.72rem 1.25rem;
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s ease,
    color 0.2s ease;
}

.menu-panel li {
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(var(--i) * 0.06s);
}

/* ——— Buttons ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.55rem;
  min-height: 48px;
  border-radius: 999px;
  background: var(--bubble);
  color: var(--bubble-ink);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(50, 111, 117, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.25s;
}

.btn-primary::after {
  content: "›";
  font-weight: 800;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}

.btn-primary.on-dark {
  background: var(--bubble);
  color: var(--bubble-ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  transition: background 0.25s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s ease,
    color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-side a:hover,
  .menu-panel a:hover,
  .menu-panel button:hover {
    background: var(--bubble);
    color: var(--bubble-ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(50, 111, 117, 0.16);
  }

  .nav-cta:hover,
  .nav-menu:hover {
    background: var(--bubble);
    color: var(--bubble-ink);
    border-color: transparent;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 22px rgba(50, 111, 117, 0.18);
  }

  .btn-primary:hover {
    transform: translateY(-4px) scale(1.045);
    box-shadow: 0 16px 32px rgba(50, 111, 117, 0.24);
  }

  .btn-primary:hover::after {
    transform: translateX(5px);
  }

  .btn-ghost:hover {
    background: var(--bubble);
    color: var(--bubble-ink);
    border-color: transparent;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 24px rgba(50, 111, 117, 0.18);
  }

  .wa-fab:hover {
    transform: translateY(-4px) scale(1.06);
  }
}

@media (hover: none) {
  .nav-side a:active,
  .nav-cta:active,
  .menu-panel a:active,
  .menu-panel button:active,
  .btn-primary:active,
  .btn-ghost:active {
    background: var(--bubble);
    color: var(--bubble-ink);
    transform: scale(0.97);
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(38svh, 1fr);
  color: var(--ink);
  overflow: hidden;
  background: var(--sch-bg-hero);
}

.hero-media {
  order: 2;
  position: relative;
  min-height: 38svh;
  padding: 0 1.25rem 1.5rem;
  display: flex;
  align-items: flex-end;
}

.hero-media img {
  width: 100%;
  height: min(52svh, 420px);
  object-fit: cover;
  object-position: 30% 20%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  order: 1;
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 1.4rem) clamp(1.4rem, 5vw, 4.5rem) 1.6rem;
  background: transparent;
}

.hero-lockup {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border-radius: 16px;
}

.hero-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.hero-line {
  margin: 0;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 2.75rem);
  line-height: 1.12;
  color: var(--ink);
  max-width: 16ch;
  letter-spacing: -0.04em;
}

.hero-human {
  margin: 0.95rem 0 0;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-scroll {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(42%, 48%) 1fr;
    grid-template-rows: 1fr;
    min-height: 100svh;
    align-items: center;
  }

  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(5.5rem, 10vh, 7rem) clamp(2rem, 5vw, 4.5rem) 3rem;
  }

  .hero-media {
    order: 2;
    min-height: 100%;
    padding: clamp(5.5rem, 10vh, 7rem) clamp(1.5rem, 4vw, 3.5rem) 3rem 0;
    align-items: center;
  }

  .hero-media img {
    height: min(72vh, 620px);
    object-position: 28% 18%;
  }

  .hero-lockup {
    width: min(240px, 28vw);
  }
}

/* ——— Marquee ——— */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.region-band {
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.4rem, 5vw, 5rem);
  background: var(--velvet-mist);
  border-block: 1px solid var(--line);
}

.region-lead {
  margin: 0;
  max-width: 52ch;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.region-list li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-mid);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(50, 111, 117, 0.22);
  border-radius: 999px;
  background: #fff;
}

/* ——— Shared type ——— */
.label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.label.light {
  color: rgba(255, 255, 255, 0.65);
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.display.sm {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}

.section-intro {
  margin-bottom: 3rem;
}

.section-intro.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— Split ——— */
.split {
  display: grid;
  gap: 2.5rem;
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.4rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.stat-row span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

@media (min-width: 960px) {
  .media-frame {
    aspect-ratio: 5 / 6;
  }
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.split:hover .media-frame img {
  transform: scale(1.04);
}

/* ——— Specs ——— */
.specs-section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.4rem, 5vw, 5rem);
  background: linear-gradient(180deg, #fff, var(--paper));
}

.spec-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .spec-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .spec-card:nth-child(1),
  .spec-card:nth-child(2),
  .spec-card:nth-child(3) {
    grid-column: span 2;
  }

  .spec-card:nth-child(4),
  .spec-card:nth-child(5) {
    grid-column: span 3;
  }
}

.spec-card {
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 137, 146, 0.28);
  box-shadow: var(--shadow);
}

.spec-num {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
}

.spec-card h3 {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.spec-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 28ch;
}

/* ——— Team ——— */
.team {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.4rem, 5vw, 5rem);
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.team-card {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 137, 146, 0.28);
  box-shadow: var(--shadow);
}

.team-visual-mono {
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, #3e8992 0%, #326f75 100%);
  color: #fff;
}

.team-visual-mono span {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.team-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.team-card:hover .team-visual img {
  transform: scale(1.05);
}

.team-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.team-body {
  padding: 1.5rem 1.4rem 1.7rem;
}

.team-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.team-body .role {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.team-body .meta {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.team-body .bio {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 34ch;
}

/* ——— Tech ——— */
.tech-strip {
  display: grid;
  gap: 2rem;
  margin: 0 clamp(1.4rem, 5vw, 5rem) clamp(4rem, 10vh, 6rem);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(158, 185, 190, 0.2), transparent 52%),
    linear-gradient(145deg, #2a5c61 0%, var(--brand-dark) 48%, #3e8992 100%);
  color: #f7faf9;
  overflow: hidden;
  border: 1px solid rgba(158, 185, 190, 0.22);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .tech-strip {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.tech-strip .label {
  color: var(--gold-soft);
}

.tech-strip .display {
  color: #fff;
}

.tech-strip .lede {
  color: rgba(247, 245, 241, 0.72);
}

.tech-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.tech-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Visit ——— */
.visit {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vh, 6rem) clamp(1.4rem, 4vw, 3rem);
  overflow: hidden;
  color: #fff;
}

.visit-bg {
  position: absolute;
  inset: -6% 0;
}

.visit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.visit-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 92, 97, 0.48), rgba(50, 111, 117, 0.62));
}

.visit-card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 420px;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: var(--shadow);
}

.visit-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.visit-card p {
  margin: 1rem 0 0;
  line-height: 1.65;
  opacity: 0.88;
}

.visit-note {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

.visit-contacts {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.visit-contacts a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
}

.visit-card .btn-primary {
  margin-top: 1.5rem;
}

/* ——— CTA ——— */
.cta-final {
  text-align: center;
  padding: clamp(5rem, 14vh, 9rem) clamp(1.4rem, 5vw, 5rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(50, 111, 117, 0.1), transparent 55%),
    var(--paper);
}

.cta-final .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn-primary {
  margin-top: 2rem;
}

/* ——— Footer ——— */
.footer {
  padding: 2.75rem clamp(1.4rem, 5vw, 5rem) 3.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-minimal {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  width: min(140px, 42vw);
  height: auto;
  object-fit: contain;
}

.footer-sign {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-copy {
  margin: 1.75rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

/* ——— Sofia ——— */
.sofia-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 6.4rem;
  z-index: 95;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  animation: fabIn 0.8s var(--ease) 1.2s both;
}

.sofia-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(31, 107, 92, 0.35);
  animation: fabPulse 2.4s ease infinite;
}

@keyframes fabPulse {
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes fabIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sofia-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 5.4rem;
  z-index: 100;
  width: min(390px, calc(100vw - 1.4rem));
  height: min(640px, calc(100vh - 6.5rem));
  display: none;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  animation: panelIn 0.4s var(--ease);
}

.sofia-panel.open {
  display: flex;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sofia-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-dark));
  color: #f7faf9;
}

.sofia-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bubble);
  color: var(--bubble-ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.sofia-id h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sofia-id p {
  margin: 0.2rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sofia-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dba95;
  box-shadow: 0 0 8px rgba(125, 186, 149, 0.7);
}

.sofia-head .close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sofia-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 0.9rem 0.15rem;
}

.sofia-chips[hidden] {
  display: none;
}

.sofia-chips button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.sofia-thread {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(243, 246, 245, 0.45);
}

.bubble {
  max-width: 88%;
  padding: 0.72rem 0.88rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  animation: rise 0.35s var(--ease);
}

.bubble .meta {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.22rem;
}

.bubble.bot {
  align-self: flex-start;
  background: #fff;
  box-shadow: 0 6px 18px rgba(14, 23, 21, 0.04);
}

.bubble.user {
  align-self: flex-end;
  background: var(--brand-dark);
  color: #fff;
}

.sofia-compose {
  display: flex;
  gap: 0.35rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  align-items: center;
}

.sofia-compose input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.72rem 0.95rem;
  font: inherit;
  outline: none;
  background: #fff;
}

.sofia-compose input:focus {
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(31, 107, 92, 0.12);
}

.sofia-compose button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sofia-compose .send {
  background: var(--brand-dark);
  color: #fff;
}

.sofia-compose .mic {
  background: var(--paper-2);
}

.sofia-compose .mic.recording {
  background: #b84f40;
  color: #fff;
}

.buffer-hint {
  margin: 0;
  padding: 0 0.85rem 0.55rem;
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
}

.buffer-hint[hidden] {
  display: none;
}

.typing {
  align-self: flex-start;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingDot 1.1s ease infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .nav-left,
  .hide-sm,
  .nav-cta {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .nav-glass {
    grid-template-columns: 1fr auto 1fr;
    height: 3.4rem;
    padding: 0 0.55rem;
  }

  .nav-logo {
    justify-self: center;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-right {
    justify-content: flex-end;
  }

  .hero-actions {
    display: grid;
    gap: 0.65rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .menu-panel ul {
    gap: 0.55rem;
    padding: 0 1rem;
    width: min(100%, 22rem);
  }

  .sofia-panel {
    inset: auto 0.5rem 0.5rem;
    width: auto;
    height: min(90svh, 700px);
    bottom: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
  }
}

.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 96;
}

.sofia-fab {
  border-radius: 50%;
  box-shadow: var(--shadow-bubble);
}

.install-bar {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: calc(100% - 7.5rem);
  padding: 0.55rem 0.7rem 0.55rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
}

.install-bar img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.install-bar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-bar #install-btn {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.install-skip {
  color: var(--muted);
  font-size: 1.1rem;
  padding: 0 0.2rem;
}

@media (max-width: 720px) {
  .install-bar {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
    transform: none;
    bottom: 7.6rem;
  }
}

.blog-page .nav {
  position: sticky;
  top: 0;
}

.blog-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 6rem;
}

.blog-wrap .display {
  margin: 0.35rem 0 1rem;
}

.blog-card {
  margin: 2.25rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.blog-card h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.75rem;
}

.blog-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 62ch;
}

.blog-card .btn-primary,
.blog-card .btn-ghost {
  margin-top: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
