:root {
  --space: 1.25rem;
  --max: 72rem;
  --header-h: 4.25rem;
  --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(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.2rem; }

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 42rem); }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--color-text) 10%, transparent);
  background: color-mix(in srgb, var(--color-bg) 94%, white);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img { height: 2rem; width: auto; }
nav {
  margin-left: auto;
  display: none;
  gap: 1.35rem;
}
nav a {
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover { color: var(--color-text); }
@media (min-width: 860px) {
  nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.875rem; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-ghost {
  border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
  color: var(--color-primary);
  background: transparent;
}
.hero .btn-ghost {
  border-color: color-mix(in srgb, #fff 55%, transparent);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: color-mix(in srgb, #fff 12%, transparent);
}
.btn-light { background: #fff; color: var(--color-primary); }
.btn-ghost-light {
  border-color: color-mix(in srgb, #fff 55%, transparent);
  color: #fff;
}

/* Hero — uma composição: só fundo full-bleed + copy (sem retrato lateral) */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 46rem);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 88%, #000) 0%, color-mix(in srgb, var(--color-primary) 55%, #1a2a3a) 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
  z-index: -2;
}
.hero-bg.has-image {
  background-color: #0b1622;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #061018 35%, transparent) 0%,
      color-mix(in srgb, #061018 55%, transparent) 45%,
      color-mix(in srgb, #061018 88%, transparent) 100%
    );
}
.hero-stage {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
}
.hero-copy {
  color: #f4f7fb;
  max-width: 38rem;
  padding: 0;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-accent) 80%, #fff);
  margin-bottom: 1rem;
}
.hero-copy h1 { color: #fff; margin-bottom: 1rem; }
.lede {
  font-size: 1.15rem;
  color: color-mix(in srgb, #fff 82%, transparent);
  max-width: 34rem;
}
.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 0.75rem;
}
.phone a { color: color-mix(in srgb, #fff 75%, transparent); }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt {
  background: color-mix(in srgb, var(--color-secondary) 55%, var(--color-bg));
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.section-head { max-width: 36rem; margin-bottom: 2.25rem; }
.section-sub {
  color: color-mix(in srgb, var(--color-text) 68%, transparent);
  font-size: 1.05rem;
}

/* About split */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; }
}
.about-media {
  margin: 0;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-secondary);
  box-shadow: 0 18px 40px rgb(18 24 32 / 10%);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media:not(.has-image) {
  min-height: 18rem;
  background:
    linear-gradient(145deg, var(--color-secondary), color-mix(in srgb, var(--color-primary) 18%, var(--color-bg)));
}
.about-body {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.15rem;
  margin-top: 0.5rem;
}
.card {
  background: #fff;
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-text) 7%, transparent);
  box-shadow: 0 10px 28px rgb(18 24 32 / 4%);
}
.services-grid .card {
  position: relative;
  padding-top: 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.services-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgb(18 24 32 / 9%);
}
.services-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.3rem;
  right: 1.3rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.card img { margin-bottom: 0.75rem; }
.partner img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 50%;
}

/* Showcase */
.showcase {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 6%, var(--color-bg)), var(--color-bg));
}
.showcase-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 900px) {
  .showcase-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
}
.showcase-frames {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}
.showcase-frames figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-secondary);
  box-shadow: 0 16px 36px rgb(18 24 32 / 12%);
}
.showcase-frames figure:nth-child(2) {
  margin-top: 1.75rem;
  aspect-ratio: 3 / 4;
}
.showcase-frames figure:only-child {
  grid-column: 1 / -1;
  margin-top: 0;
  max-width: 28rem;
  aspect-ratio: 16 / 10;
}
.showcase-frames img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Process */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 7%, transparent);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.steps strong { display: block; margin-bottom: 0.35rem; }

/* FAQ */
.faq-list details {
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  padding: 1rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  margin: 0.65rem 0 0;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(120% 80% at 10% 0%, color-mix(in srgb, var(--color-accent) 28%, transparent), transparent 55%),
    linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 70%, #000));
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 40rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: color-mix(in srgb, #fff 82%, transparent); }
.cta-band .cta-row { justify-content: center; }
.cta-band address {
  font-style: normal;
  margin-top: 1.5rem;
  color: color-mix(in srgb, #fff 70%, transparent);
  font-size: 0.95rem;
}
.hours { font-size: 0.9rem; color: color-mix(in srgb, #fff 65%, transparent); }

.site-footer {
  padding: 1.75rem 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
  background: #fff;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.footer-inner { text-align: center; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.12s; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
