:root {
  --bg: #11100f;
  --bg-soft: #181614;
  --surface: #f4efe8;
  --surface-strong: #e8dfd3;
  --surface-dark: rgba(255, 255, 255, 0.04);
  --text: #1d1a18;
  --text-soft: #5f574f;
  --text-inverse: #f8f5f0;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(27, 24, 21, 0.12);
  --accent: #b68a61;
  --accent-soft: #d8bd9e;
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 30px 70px rgba(31, 23, 14, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1300px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top left, rgba(182, 138, 97, 0.18), transparent 30%),
    linear-gradient(180deg, #121110 0%, #0d0d0d 22%, #f4efe8 22%, #f4efe8 72%, #151311 72%, #11100f 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id],
header[id] {
  scroll-margin-top: 128px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

code {
  font-size: 0.92em;
  color: var(--accent-soft);
}

.ambient {
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.ambient--left {
  top: -8rem;
  left: -10rem;
  background: rgba(182, 138, 97, 0.35);
}

.ambient--right {
  top: 14rem;
  right: -12rem;
  background: rgba(116, 139, 148, 0.18);
}

.site-header,
.hero,
.qualification-strip,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: 100%;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  transition: background-color 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.56) 0%, rgba(8, 8, 8, 0.16) 72%, transparent 100%);
  z-index: -1;
}

.site-header--scrolled {
  backdrop-filter: blur(12px);
}

.site-header--scrolled::before {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.28) 78%, transparent 100%);
}

.brand {
  display: block;
  flex: 0 0 auto;
  margin-top: 0;
}

.brand img {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: contain;
}

.site-footer strong {
  display: block;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: rgba(248, 245, 240, 0.8);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent-soft);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d1ae88 100%);
  color: #1d1813;
  box-shadow: 0 18px 38px rgba(182, 138, 97, 0.28);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-inverse);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text-inverse);
}

.button--full {
  width: 100%;
}

.header-cta {
  margin-top: 0;
}

.hero,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding:
    clamp(150px, 16vw, 190px)
    max(24px, calc((100vw - var(--container)) / 2))
    110px;
  background: url("assets/obra-principal.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.48) 0%, rgba(8, 8, 8, 0.16) 26%, rgba(8, 8, 8, 0.44) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.84) 0%, rgba(12, 11, 10, 0.5) 42%, rgba(12, 11, 10, 0.16) 78%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__copy {
  position: relative;
  max-width: 760px;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -24px auto auto -20px;
  width: 180px;
  height: 180px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.65;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.spotlight__content h3,
.video-shell__placeholder strong,
.advantage-card h3,
.process-card h3,
.value-card h3,
.contact-panel h2,
.contact-card h3 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.hero__lead,
.section__intro p,
.spotlight__content p,
.video-copy p,
.advantage-card p,
.process-card p,
.value-card p,
.contact-card p,
.contact-panel p,
.site-footer p {
  color: rgba(248, 245, 240, 0.76);
}

.hero__lead {
  max-width: 56ch;
  margin: 26px 0 0;
  font-size: 1.05rem;
}

.hero__highlights {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(248, 245, 240, 0.82);
}

.hero__highlights li::before,
.video-points li::before,
.contact-points p::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 4px rgba(182, 138, 97, 0.16);
  flex: 0 0 auto;
}

.hero__note {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 178px;
  max-width: 320px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-dark);
}

.hero__note span,
.value-card span,
.process-card span {
  display: inline-block;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero__note strong {
  display: block;
  margin-top: 12px;
  font-size: 1.14rem;
  line-height: 1.35;
}

.hero__note p {
  margin: 10px 0 0;
  color: rgba(248, 245, 240, 0.7);
  font-size: 0.95rem;
}

.qualification-strip {
  width: var(--container);
  margin: -38px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.82);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
  color: rgba(248, 245, 240, 0.82);
}

.qualification-strip p {
  margin: 0;
}

.section {
  padding: 88px 0;
}

.section--anchor {
  width: 100%;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.section--light {
  color: var(--text);
}

.section--light .section__intro p,
.section--light .spotlight__content p,
.section--light .value-card p,
.section--light .process-card p,
.section--light .contact-card p,
.section--light .contact-panel p,
.section--light .site-footer p,
.section--light blockquote {
  color: var(--text-soft);
}

.section--light .eyebrow {
  color: #8f6740;
}

.section--dark {
  color: var(--text-inverse);
}

.section__intro {
  max-width: 760px;
}

.section__intro--narrow {
  max-width: 680px;
}

.section__intro--centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section__intro--centered h2 {
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}

.section h2,
.contact-panel h2 {
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  max-width: 12.5ch;
}

.section__intro p:last-child,
.contact-panel p:last-of-type {
  margin-top: 16px;
}

.value-grid,
.process-grid,
.advantage-grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid,
.advantage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card,
.process-card,
.advantage-card,
.contact-card,
.contact-panel {
  border-radius: var(--radius-md);
}

.value-card,
.process-card,
.advantage-card {
  padding: 28px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.74)),
    var(--surface);
  box-shadow: var(--shadow-light);
}

.value-card h3,
.process-card h3,
.advantage-card h3 {
  font-size: 2rem;
  margin-top: 18px;
}

.spotlight {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.spotlight__image,
.spotlight__content {
  min-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spotlight__image {
  box-shadow: var(--shadow-light);
}

.spotlight__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.spotlight__content {
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(182, 138, 97, 0.16), transparent 48%),
    linear-gradient(180deg, #f6f1ea 0%, #ece2d5 100%);
  border: 1px solid rgba(144, 118, 90, 0.16);
}

.spotlight__content h3 {
  color: var(--text);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  max-width: 11ch;
}

.spotlight__content blockquote {
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 2px solid rgba(144, 118, 90, 0.24);
  font-size: 1.02rem;
}

.section--video {
  display: block;
  padding-top: 38px;
  padding-bottom: 44px;
}

#processo {
  padding-top: 40px;
}

#processo .section__intro--centered h2 {
  max-width: 46ch;
  font-size: clamp(2rem, 3.05vw, 2.9rem);
}

#processo .process-grid {
  margin-top: 30px;
}

.video-copy h2 {
  max-width: 10.8ch;
}

.video-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.video-points li,
.contact-points p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.video-shell {
  position: relative;
  overflow: hidden;
  width: min(980px, 100%);
  margin: 0 auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    url("assets/obra-principal.jpg") center / cover;
  box-shadow: var(--shadow-dark);
}

.video-shell--video::after,
.video-shell--embed::after {
  display: none;
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.16) 0%, rgba(18, 17, 16, 0.72) 100%);
}

.video-shell > * {
  position: relative;
  z-index: 1;
}

.video-shell__placeholder {
  position: absolute;
  inset: auto 24px 24px 24px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(12, 11, 10, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.video-shell__placeholder span {
  display: inline-block;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-shell__placeholder strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.video-shell__placeholder p {
  margin: 12px 0 0;
  color: rgba(248, 245, 240, 0.74);
}

.video-shell__image,
.video-frame,
.video-player {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.video-shell__image {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
}

.video-player {
  display: block;
  background: #000;
  object-fit: cover;
}

.advantage-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  box-shadow: none;
}

.advantage-card h3 {
  font-size: 1.72rem;
}

.section--contact {
  color: var(--text);
  display: block;
}

.contact-panel {
  padding: 40px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-panel h2 {
  color: rgba(233, 226, 218, 0.92);
}

.contact-panel--centered {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.contact-panel--centered h2,
.contact-panel--centered > p,
.contact-panel__note {
  margin-left: auto;
  margin-right: auto;
}

.contact-panel--centered h2 {
  max-width: 15ch;
}

.contact-panel--centered .eyebrow {
  color: rgba(216, 189, 158, 0.62);
}

.contact-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-points p {
  margin: 0;
}

.contact-panel--centered .contact-points {
  max-width: 640px;
  margin: 28px auto 0;
}

.contact-panel--centered .contact-points p {
  justify-content: center;
  text-align: center;
}

.contact-panel__button {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 28px auto 0;
  min-width: min(100%, 360px);
}

.contact-panel__note {
  margin-top: 16px;
  max-width: 48ch;
  color: rgba(216, 208, 198, 0.72);
}

.contact-card {
  padding: 38px;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top right, rgba(182, 138, 97, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(23, 21, 19, 0.96), rgba(13, 12, 11, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-dark);
}

.contact-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-card h3 {
  margin-top: 22px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  max-width: 10.5ch;
}

.contact-card > p {
  margin: 16px 0 0;
  max-width: 54ch;
}

.contact-card__points {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.contact-card__points p {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(248, 245, 240, 0.84);
}

.contact-card__points p::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 4px rgba(182, 138, 97, 0.14);
  flex: 0 0 auto;
}

.contact-card .button {
  margin-top: 30px;
}

.contact-card__note {
  margin: 16px 0 0;
  color: rgba(248, 245, 240, 0.62);
  font-size: 0.95rem;
}

.site-footer {
  padding: 32px 0 72px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  color: rgba(248, 245, 240, 0.74);
}

.site-footer p {
  margin: 8px 0 0;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff6eb;
  color: #231d17;
  font-weight: 700;
  box-shadow: 0 22px 50px rgba(15, 11, 7, 0.24);
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.floating-cta--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .spotlight {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92svh;
    padding:
      154px
      max(24px, calc((100vw - var(--container)) / 2))
      112px;
  }

  .hero__note {
    right: 24px;
    bottom: 132px;
  }

  .value-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(182, 138, 97, 0.22), transparent 24%),
      linear-gradient(180deg, #121110 0%, #0d0d0d 18%, #f4efe8 18%, #f4efe8 75%, #141210 75%, #11100f 100%);
  }

  .site-header {
    min-height: 88px;
    padding: 0 14px;
  }

  .brand img {
    width: 76px;
    height: 76px;
  }

  .section {
    width: min(100vw - 28px, 100%);
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 108px 16px 46px;
    background-position: center top;
  }

  .hero__copy {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    line-height: 0.96;
    max-width: 7.2ch;
    margin: 0 auto;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 1rem;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__copy::before {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__highlights {
    display: grid;
    gap: 12px;
  }

  .hero__note {
    position: static;
    margin-top: 18px;
    max-width: 100%;
  }

  .qualification-strip {
    width: min(100vw - 28px, 100%);
    margin-top: -22px;
    grid-template-columns: 1fr;
    border-radius: 26px;
    text-align: left;
  }

  .section {
    padding: 64px 0;
  }

  .section--video {
    padding-top: 18px;
    padding-bottom: 26px;
  }

  #processo {
    padding-top: 26px;
  }

  #processo .section__intro--centered h2 {
    max-width: 18ch;
    font-size: clamp(1.95rem, 9vw, 2.7rem);
  }

  #processo .process-grid {
    margin-top: 20px;
    gap: 14px;
  }

  .section h2,
  .contact-panel h2 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .value-grid,
  .process-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .spotlight__content,
  .contact-panel,
  .contact-card,
  .value-card,
  .process-card,
  .advantage-card {
    padding: 22px;
  }

  .spotlight__image img {
    min-height: 0;
    aspect-ratio: 4 / 4.2;
  }

  .video-shell,
  .video-shell__image,
  .video-frame,
  .video-player {
    min-height: 0;
  }

  .video-shell__placeholder {
    inset: auto 16px 16px 16px;
    padding: 22px;
  }

  .video-shell {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .contact-panel__button {
    width: 100%;
    min-width: 0;
  }

  .contact-panel--centered h2 {
    max-width: 20ch;
    font-size: clamp(2rem, 9.4vw, 2.85rem);
  }

  .site-footer {
    width: min(100vw - 28px, 100%);
    padding-bottom: 90px;
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
