:root {
  --surface: var(--color-surface);
  --surface-strong: var(--color-surface-strong);
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --accent: var(--color-accent);
  --accent-soft: var(--color-accent-soft);
  --accent-alt: var(--color-success);
  --shadow: var(--shadow-strong);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--ink);
  background: linear-gradient(90deg, var(--gradient-left) 0%, var(--gradient-middle) 48%, var(--gradient-right) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(19, 19, 19, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 19, 19, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

img {
  display: block;
  max-width: 100%;
}

img,
a,
button,
input,
textarea {
  transition: 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 36px;
  background: rgba(255, 248, 240, 0.58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.page-shell {
  min-height: calc(100vh - 48px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.82);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff8f1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name,
.footer-title {
  font-weight: 700;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-role,
.site-footer p,
.hero-text,
.statement-card p,
.project-copy p,
.process-card p,
.page-hero p,
.service-card p,
.contact-note,
.contact-block a,
.contact-form label,
.form-status {
  color: var(--muted);
}

.brand-role,
.site-footer p {
  margin: 2px 0 0;
  font-size: 0.94rem;
}

.brand-role {
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(19, 19, 19, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
}

main {
  padding: 4px 8px 24px;
}

.hero-section,
.statement-grid,
.showcase-section,
.process-section,
.page-hero,
.projects-list,
.services-grid,
.benefit-banner,
.contact-layout,
.contact-callout {
  margin-bottom: 28px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.statement-card,
.project-spotlight,
.process-card,
.page-hero,
.project-card,
.service-card,
.benefit-banner,
.contact-sidebar,
.contact-form-card,
.contact-callout {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-copy,
.page-hero,
.contact-callout {
  padding: clamp(28px, 4vw, 54px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-copy::after,
.page-hero::after,
.contact-callout::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 90, 54, 0.14), transparent 70%);
}

.eyebrow,
.card-label,
.project-tag {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  max-width: 10ch;
  font-size: var(--font-size-hero);
}

.hero-text,
.page-hero p {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-copy h1,
.hero-copy .hero-text {
  max-width: 12ch;
}

.hero-copy .hero-text {
  max-width: 62ch;
}

.hero-actions,
.hero-links,
.footer-links,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.hero-links {
  margin-top: 24px;
  gap: 18px;
  justify-content: center;
}

.hero-links a,
.footer-links a,
.text-link {
  position: relative;
}

.hero-links a::after,
.footer-links a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-links a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: var(--button-project-bg);
  color: var(--button-dark-text);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--button-project-hover);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(19, 19, 19, 0.12);
  background: var(--button-neutral-bg);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(19, 19, 19, 0.24);
  background: var(--button-neutral-hover);
}

.button-whatsapp {
  background: var(--button-whatsapp-bg);
  color: var(--button-dark-text);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: var(--button-whatsapp-hover);
  transform: translateY(-2px);
}

.hero-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08));
}

.portrait-card {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.24);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-top span,
.project-copy span,
.tech-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.statement-grid,
.process-grid,
.services-grid,
.contact-layout,
.showcase-grid {
  display: grid;
  gap: 22px;
}

.statement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statement-card,
.process-card,
.service-card,
.contact-sidebar,
.contact-form-card,
.benefit-banner,
.contact-callout {
  padding: 28px;
}

.statement-accent {
  background: linear-gradient(135deg, rgba(19, 19, 19, 0.96), rgba(46, 46, 46, 0.96));
  color: #fffaf3;
}

.statement-accent .card-label,
.statement-accent li {
  color: #fffaf3;
}

.feature-list,
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.showcase-section .section-heading,
.process-section .section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.benefit-banner h2,
.contact-callout h2,
.page-hero h1,
.project-card-copy h2,
.service-card h2,
.statement-card h2 {
  font-size: var(--font-size-section-title);
  line-height: 1.02;
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-spotlight {
  min-height: 420px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(19, 19, 19, 0.05) 0%, rgba(19, 19, 19, 0.78) 100%),
    var(--project-image) center/cover no-repeat;
}

.spotlight-autoapply {
  --project-image: url("https://static.wixstatic.com/media/368616_fc14cd8efb694a95af8a2401b5702eb9~mv2.jpg/v1/crop/x_81,y_0,w_274,h_387/fill/w_758,h_1084,al_c,lg_1,q_85,enc_avif,quality_auto/foto_AutoApply_edited.jpg");
}

.spotlight-bot {
  --project-image: url("https://static.wixstatic.com/media/368616_1a963a750b004feaa76e36408b40e3e5~mv2.jpg/v1/crop/x_251,y_0,w_389,h_488/fill/w_828,h_1172,al_c,lg_1,q_85,enc_avif,quality_auto/foto_bot_automa%C3%A7%C3%B5es_edited.jpg");
}

.project-copy {
  width: 100%;
  padding: 24px;
  border-radius: 24px;
  background: rgba(16, 16, 16, 0.74);
  color: #fff8f1;
}

.project-copy p {
  color: rgba(255, 248, 241, 0.82);
  line-height: 1.65;
}

.project-copy h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: 10px;
}

.section-cta {
  margin-top: 22px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.process-card h3,
.service-card h2 {
  font-size: var(--font-size-card-title);
  line-height: 1.08;
  margin-bottom: 12px;
}

.page-hero h1 {
  max-width: 12ch;
}

.projects-list,
.services-grid {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.project-card-copy {
  padding: 30px;
}

.project-card-copy p {
  margin: 14px 0;
  line-height: 1.7;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  min-height: 280px;
}

.benefit-banner,
.contact-callout {
  display: grid;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(19, 19, 19, 0.96), rgba(34, 34, 34, 0.95));
  color: #fffaf3;
}

.benefit-banner p,
.contact-callout p {
  color: rgba(255, 250, 243, 0.78);
  line-height: 1.7;
}

.contact-layout {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.viewer-shell {
  display: grid;
  gap: 22px;
}

.viewer-actions,
.viewer-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  padding: 28px;
}

.viewer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.viewer-frame {
  min-height: 840px;
  padding: 12px;
}

.viewer-frame-plain {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.viewer-frame iframe {
  width: 100%;
  height: 816px;
  border: 0;
  border-radius: 22px;
  background: #f2f2f2;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-block a {
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.full-width {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(19, 19, 19, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(239, 90, 54, 0.45);
  box-shadow: 0 0 0 4px rgba(239, 90, 54, 0.12);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
}

.form-status.is-success {
  color: var(--accent-alt);
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  margin-top: 14px;
  border-top: 1px solid rgba(19, 19, 19, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay-1.is-visible {
  transition-delay: 0.08s;
}

.reveal-delay-2.is-visible {
  transition-delay: 0.16s;
}

.reveal-delay-3.is-visible {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .hero-section,
  .statement-grid,
  .showcase-grid,
  .process-grid,
  .project-card,
  .services-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .project-card-image {
    max-height: 420px;
  }

  .site-header {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin: 10px auto;
    border-radius: 24px;
  }

  .site-header,
  .site-footer,
  .statement-card,
  .process-card,
  .service-card,
  .benefit-banner,
  .contact-sidebar,
  .contact-form-card,
  .contact-callout,
  .project-card-copy,
  .project-spotlight {
    padding: 20px;
  }

  main {
    padding: 0 4px 18px;
  }

  .site-header {
    align-items: start;
    flex-wrap: wrap;
  }

  .brand-lockup {
    gap: 12px;
  }

  .brand-mark {
    display: grid;
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    border: 1px solid rgba(19, 19, 19, 0.08);
    background: rgba(255, 255, 255, 0.4);
    text-align: center;
  }

  h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 300px;
  }

  .portrait-card {
    width: min(240px, 100%);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .viewer-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .viewer-buttons {
    width: 100%;
  }

  .viewer-buttons .button {
    flex: 1 1 100%;
  }

  .viewer-frame {
    min-height: 620px;
  }

  .viewer-frame iframe {
    height: 596px;
  }

  .footer-links,
  .hero-actions,
  .hero-links,
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button,
  .contact-block .button,
  .form-actions .button,
  .contact-callout .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    padding: 28px 22px;
  }

  .hero-copy .hero-text,
  .page-hero p {
    font-size: 0.98rem;
  }
}

@media (max-width: 540px) {
  .site-shell {
    width: min(calc(100% - 12px), var(--max-width));
    padding: 8px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-section,
  .statement-grid,
  .showcase-grid,
  .process-grid,
  .projects-list,
  .services-grid,
  .contact-layout {
    gap: 16px;
  }

  .hero-visual {
    min-height: 240px;
    padding: 18px;
  }

  .portrait-card {
    width: min(190px, 100%);
  }

  .project-card-image img {
    min-height: 260px;
  }

  .project-copy,
  .project-card-copy,
  .contact-form-card,
  .contact-sidebar,
  .page-hero,
  .statement-card,
  .process-card,
  .service-card,
  .benefit-banner,
  .contact-callout,
  .viewer-actions {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .button,
  .hero-links a::after,
  .footer-links a::after,
  .text-link::after {
    transition: none;
  }
}
