:root {
  --black: #111111;
  --black-2: #181818;
  --warm: #e9e8e3;
  --warm-2: #f3f2ee;
  --concrete: #6b6c68;
  --line: rgba(107, 108, 104, 0.34);
  --yellow: #d7ff3f;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--warm);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 86px;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(233, 232, 227, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 28px; height: 38px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark path { fill: var(--warm); }
.brand-mark .cut { fill: var(--black); }
.brand-mark .side { fill: var(--concrete); }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -0.8px; }
.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a { color: rgba(233, 232, 227, 0.7); font-size: 13px; text-decoration: none; }
.desktop-nav a:hover { color: var(--warm); }
.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(233, 232, 227, 0.3);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-cta:hover { color: var(--yellow); border-color: var(--yellow); }

.hero {
  position: relative;
  min-height: 790px;
  padding: 154px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 72px;
  overflow: hidden;
}
.hero-grid, .section-dark::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233,232,227,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,232,227,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--concrete);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.eyebrow > span { width: 10px; height: 10px; background: var(--yellow); }
.eyebrow-accent { color: rgba(233, 232, 227, .58); }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-lead {
  max-width: 640px;
  margin: 28px 0 34px;
  color: rgba(233, 232, 227, .66);
  font-size: 18px;
  line-height: 1.55;
}
.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-primary { background: var(--yellow); color: var(--black); }
.button-primary:hover { background: #e2ff72; }
.button-secondary { background: transparent; color: var(--warm); border-color: rgba(233,232,227,.3); }
.location-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: rgba(233, 232, 227, .46);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.location-note span { width: 4px; height: 4px; background: var(--yellow); }
.hero-media { position: relative; margin: 0; height: 550px; z-index: 1; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(233,232,227,.18);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.72), transparent 55%), rgba(17,17,17,.12);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.hero-media figcaption {
  position: absolute;
  inset: auto 28px 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-media figcaption span { padding: 7px 9px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; }
.hero-media figcaption strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.hero-corner {
  position: absolute;
  right: -35px;
  bottom: -96px;
  color: rgba(233,232,227,.025);
  font-size: 470px;
  font-weight: 800;
  line-height: 1;
}

.marquee { overflow: hidden; background: var(--yellow); color: var(--black); border-block: 1px solid var(--black); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 22px; padding: 14px 0; animation: ticker 23s linear infinite; }
.marquee span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.marquee b { width: 7px; height: 7px; background: var(--black); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-dark, .section-light { position: relative; padding: 120px max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.section-dark { background: var(--black); color: var(--warm); }
.section-light { background: var(--warm); color: var(--black); }
.section-number { position: absolute; top: 34px; right: max(28px, calc((100vw - var(--max)) / 2 + 28px)); color: rgba(233,232,227,.18); font-size: 12px; letter-spacing: .16em; }

.diagnostic { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.diagnostic-intro { position: sticky; top: 40px; }
.diagnostic h2, .about h2, .system h2, .journey h2, .plans h2, .team-cta h2, .faq h2, .contact-dialog h2 {
  margin: 0;
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.diagnostic-intro > p:not(.eyebrow), .system-heading > p:not(.eyebrow), .plans-copy > p:not(.eyebrow), .team-content > p:not(.eyebrow), .faq-title > p:not(.eyebrow) {
  margin: 26px 0;
  color: rgba(233,232,227,.6);
  line-height: 1.6;
}
.steps { margin: 42px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(233,232,227,.14); }
.steps li > span { width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; }
.steps strong { font-size: 15px; }
.steps p { margin: 6px 0 0; color: rgba(233,232,227,.5); font-size: 13px; line-height: 1.45; }
.lead-form { padding: 36px; background: var(--warm); color: var(--black); }
.form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-head span { font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.form-head small { color: var(--concrete); font-size: 11px; }
.lead-form label { display: block; margin-bottom: 20px; }
.lead-form label > span { display: block; margin-bottom: 8px; color: var(--concrete); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.lead-form input, .lead-form select {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(17,17,17,.26);
  border-radius: 0;
  outline: none;
}
.lead-form input:focus, .lead-form select:focus { border-color: var(--black); box-shadow: inset 4px 0 var(--yellow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-note { margin: 14px 0 0; color: var(--concrete); font-size: 11px; text-align: center; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.about-visual { position: relative; padding: 0 28px 28px 0; }
.about-visual::before { content: ""; position: absolute; inset: 28px 0 0 28px; background: var(--black); }
.about-visual figure { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.about-visual figure::after { content: ""; position: absolute; inset: 0; border-left: 12px solid var(--yellow); background: linear-gradient(to top, rgba(17,17,17,.35), transparent 48%); }
.visual-label { position: absolute; right: -32px; bottom: 92px; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 13px 16px; background: var(--warm); border: 1px solid var(--black); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.visual-label span { width: 8px; height: 8px; background: var(--yellow); }
.about-copy > p:not(.eyebrow) { max-width: 650px; color: #4f504d; line-height: 1.65; }
.about-facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.about-facts div { padding: 22px 18px 22px 0; border-right: 1px solid var(--line); }
.about-facts div + div { padding-left: 18px; }
.about-facts div:last-child { border: 0; }
.about-facts strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.about-facts span { display: block; margin-top: 8px; color: var(--concrete); font-size: 11px; line-height: 1.4; }

.proof { padding-top: 36px; }
.proof-heading { max-width: 860px; padding: 86px 0 58px; border-top: 1px solid var(--black); }
.proof-heading h2 { margin: 0; font-size: clamp(40px, 5.2vw, 72px); line-height: .98; letter-spacing: -.055em; }
.proof-heading h2 em { color: var(--concrete); font-style: normal; }
.proof-heading > p:not(.eyebrow) { max-width: 560px; margin: 22px 0 0; color: var(--concrete); line-height: 1.55; }
.testimonial-stage { position: relative; display: grid; grid-template-columns: 210px minmax(0, 650px); justify-content: start; gap: 34px; align-items: start; padding: 34px; background: var(--black); color: var(--warm); }
.testimonial-index { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.testimonial-index span { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.testimonial-index small { color: rgba(233,232,227,.45); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.testimonial-stage video { width: 100%; max-height: 720px; background: #000; border-left: 5px solid var(--yellow); }

.system { overflow: hidden; }
.system-heading { max-width: 760px; margin-bottom: 70px; }
.system-map { position: relative; max-width: 1040px; height: 600px; margin: auto; }
.map-lines { position: absolute; inset: 40px 0; width: 100%; height: calc(100% - 80px); }
.map-lines path { fill: none; stroke: rgba(215,255,63,.52); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-card { position: absolute; width: 280px; padding: 24px; background: #1a1a1a; border: 1px solid rgba(233,232,227,.18); }
.map-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--yellow); }
.map-card > span { color: var(--yellow); font-size: 11px; font-weight: 800; }
.map-card h3 { margin: 24px 0 10px; font-size: 27px; letter-spacing: -.04em; }
.map-card p { margin: 0; color: rgba(233,232,227,.55); font-size: 13px; line-height: 1.5; }
.card-brand { left: 0; top: 0; }
.card-google { right: 0; top: 0; }
.card-site { left: 0; bottom: 0; }
.card-content { right: 0; bottom: 0; }
.map-center { position: absolute; left: 50%; top: 50%; width: 176px; height: 176px; transform: translate(-50%,-50%); display: grid; place-items: center; background: var(--yellow); color: var(--black); box-shadow: 0 0 0 14px var(--black), 0 0 0 15px rgba(215,255,63,.35); }
.map-logo { width: 68px; height: 90px; }
.map-logo path { fill: var(--black); }
.map-logo .cut { fill: var(--yellow); }
.map-logo .side { fill: var(--concrete); }
.map-center span { margin-top: -24px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.journey-head { max-width: 800px; margin-bottom: 70px; }
.journey-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--black); }
.journey-item { min-height: 310px; padding: 28px 28px 24px 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.journey-item + .journey-item { padding-left: 28px; }
.journey-item:last-child { border-right: 0; }
.journey-item > span { width: 28px; height: 28px; display: grid; place-items: center; background: var(--black); color: var(--warm); font-size: 10px; font-weight: 800; }
.journey-item h3 { margin: 52px 0 12px; font-size: 30px; letter-spacing: -.04em; }
.journey-item p { margin: 0; color: var(--concrete); font-size: 14px; line-height: 1.5; }
.journey-item b { margin-top: auto; padding-top: 20px; color: var(--black); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.journey-item:hover { background: var(--yellow); }
.journey-item:hover > span { background: transparent; color: var(--black); border: 1px solid var(--black); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.text-link { display: inline-flex; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--yellow); color: var(--yellow); text-decoration: none; font-size: 13px; font-weight: 700; }
.audit-card { padding: 34px; background: var(--warm); color: var(--black); }
.audit-top, .audit-result { display: flex; justify-content: space-between; align-items: center; }
.audit-top { padding-bottom: 20px; border-bottom: 1px solid var(--black); font-size: 11px; letter-spacing: .12em; }
.audit-card ul { margin: 10px 0 34px; padding: 0; list-style: none; }
.audit-card li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.audit-card li i { height: 1px; background: var(--line); }
.audit-card li strong { font-size: 11px; }
.audit-result { padding: 18px; background: var(--yellow); }
.audit-result span { font-size: 10px; letter-spacing: .12em; }

.team-cta { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; }
.team-photo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.98) 0%, rgba(17,17,17,.88) 45%, rgba(17,17,17,.25) 100%), url("assets/tile-work.jpg") center/cover; filter: grayscale(1); }
.team-content { position: relative; z-index: 1; width: min(700px, calc(100% - 56px)); margin-left: max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.team-content .button { margin-top: 12px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-title { position: sticky; top: 40px; align-self: start; }
.faq-title > p:not(.eyebrow) { color: var(--concrete); }
.accordion details { border-top: 1px solid var(--black); }
.accordion details:last-child { border-bottom: 1px solid var(--black); }
.accordion summary { position: relative; padding: 24px 48px 24px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; right: 6px; top: 50%; width: 15px; height: 1px; background: var(--black); }
.accordion summary span::after { transform: rotate(90deg); transition: transform .2s; }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { max-width: 690px; margin: 0 0 26px; color: var(--concrete); font-size: 14px; line-height: 1.65; }

.site-footer { max-width: var(--max); min-height: 138px; margin: auto; padding: 32px 28px; display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 20px; }
.footer-brand div span { margin-top: 5px; color: rgba(233,232,227,.45); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer > a { color: rgba(233,232,227,.62); font-size: 12px; text-decoration: none; }
.site-footer > p { margin: 0; color: rgba(233,232,227,.34); font-size: 11px; }

.contact-dialog { width: min(650px, calc(100% - 32px)); padding: 38px; background: var(--black); color: var(--warm); border: 1px solid rgba(233,232,227,.3); }
.contact-dialog::backdrop { background: rgba(17,17,17,.84); backdrop-filter: blur(8px); }
.contact-dialog .eyebrow { margin-bottom: 18px; }
.contact-dialog h2 { font-size: 36px; }
.contact-dialog pre { margin: 28px 0; padding: 20px; white-space: pre-wrap; background: #1b1b1b; border-left: 4px solid var(--yellow); color: rgba(233,232,227,.75); font: 13px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.dialog-close { position: absolute; top: 14px; right: 14px; background: transparent; color: var(--warm); border: 0; cursor: pointer; font-size: 28px; }
.dialog-actions { display: flex; gap: 12px; }
.dialog-actions .button { flex: 1; }
.contact-dialog > small { display: block; margin-top: 16px; color: rgba(233,232,227,.45); font-size: 10px; line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .22s; }
.reveal[data-delay="3"] { transition-delay: .32s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 138px; }
  .hero-media { height: 490px; }
  .diagnostic, .about, .plans, .faq { grid-template-columns: 1fr; gap: 64px; }
  .diagnostic-intro, .faq-title { position: static; }
  .about-visual { max-width: 620px; }
  .system-map { height: 720px; }
  .map-card { width: 250px; }
  .card-site { bottom: 30px; }
  .card-content { bottom: 30px; }
  .journey-list { grid-template-columns: 1fr 1fr; }
  .journey-item:nth-child(2) { border-right: 0; }
  .journey-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 650px) {
  .site-header { height: 72px; padding-inline: 20px; }
  .header-cta { padding: 9px 11px; font-size: 10px; }
  .brand-mark { width: 23px; height: 32px; }
  .brand-name { font-size: 20px; }
  .hero { min-height: auto; padding: 118px 20px 64px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-media { height: 420px; }
  .hero-media::before { inset: 12px -12px -12px 12px; }
  .hero-corner { display: none; }
  .location-note { align-items: flex-start; flex-wrap: wrap; line-height: 1.4; }
  .section-dark, .section-light { padding: 82px 20px; }
  .diagnostic h2, .about h2, .system h2, .journey h2, .plans h2, .team-cta h2, .faq h2 { font-size: 37px; }
  .lead-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .about { gap: 54px; }
  .about-visual { padding-right: 15px; }
  .visual-label { right: -6px; bottom: 55px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div, .about-facts div + div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-facts div:last-child { border-bottom: 0; }
  .proof { padding-top: 0; }
  .proof-heading { padding-top: 72px; }
  .testimonial-stage { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .system-heading { margin-bottom: 48px; }
  .system-map { height: auto; display: grid; gap: 12px; }
  .map-lines, .map-center { display: none; }
  .map-card { position: relative; inset: auto; width: 100%; }
  .journey-list { grid-template-columns: 1fr; }
  .journey-item, .journey-item + .journey-item { min-height: 230px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .journey-item h3 { margin-top: 34px; }
  .plans { gap: 52px; }
  .audit-card { padding: 24px 18px; }
  .team-cta { min-height: 720px; align-items: flex-end; padding-bottom: 76px; }
  .team-photo { background: linear-gradient(0deg, rgba(17,17,17,1) 0%, rgba(17,17,17,.88) 55%, rgba(17,17,17,.18) 100%), url("assets/tile-work.jpg") 64% center/cover; }
  .team-content { width: calc(100% - 40px); margin-left: 20px; }
  .faq { gap: 46px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding: 38px 20px; }
  .contact-dialog { padding: 32px 20px 24px; }
  .contact-dialog h2 { font-size: 30px; }
  .dialog-actions { flex-direction: column; }
}

@media (max-width: 420px) {
  .header-cta { font-size: 0; }
  .header-cta::after { content: "Diagnóstico"; font-size: 10px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { font-size: 15px; }
  .location-note { font-size: 10px; }
}

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