/* InfoConstru: site de apresentação. Preto e branco, Work Sans. */

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --black: #000000;
  --grey-text: #5c5c5c;
  --grey-line: #d9d9d9;
  --grey-soft: #f5f5f5;
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4rem, 9vw, 8rem);
  --header-h: 4.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

p { margin: 0 0 1.1em; max-width: 62ch; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.2rem + 5.6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3rem);
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--line { border-top: 1px solid var(--grey-line); }

.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .muted { color: #b5b5b5; }

.muted { color: var(--grey-text); }
.lead {
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.45;
  max-width: 34em;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Logo provisório: retângulo de contorno fino. Trocar pelo SVG do logo. */
.logo {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--black);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--black);
}
.logo--on-dark {
  border-color: var(--white);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-bottom-color: var(--black); }

.menu-toggle {
  display: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 2px;
  cursor: pointer;
}

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.9375rem; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: var(--black); color: var(--white); }

.link-line {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.link-line:hover { text-decoration-thickness: 2px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero h1 { max-width: 12em; }
.hero .lead { margin-top: 1.75rem; }

.plan { width: 100%; max-width: 30rem; height: auto; }
.plan .wall {
  fill: none;
  stroke: var(--black);
  stroke-linecap: square;
}
.plan .thin { fill: none; stroke: var(--black); stroke-width: 1.25; }
.plan .cut { fill: var(--white); stroke: none; }
.plan .label { font-family: var(--font); font-size: 13px; fill: var(--grey-text); }
.plan .dim-text { font-family: var(--font); font-size: 14px; fill: var(--black); }

@media (prefers-reduced-motion: no-preference) {
  .plan .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  .plan .fade {
    opacity: 0;
    animation: fade 0.8s ease forwards;
    animation-delay: 1.9s;
  }
  .plan .d0 { animation-delay: 0s; }
  .plan .d1 { animation-delay: 0.3s; }
  .plan .d2 { animation-delay: 0.6s; }
  .plan .d3 { animation-delay: 0.9s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Seções de conteúdo ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 16em; }
.section-head p { margin-top: 1.25rem; }

.cols {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--black);
}
.col {
  padding-block: 2rem 2.5rem;
  border-bottom: 1px solid var(--grey-line);
}
.col h3 { margin-bottom: 0.9rem; }
.col > p { color: var(--grey-text); }

.list-lines {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--grey-line);
}
.list-lines li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-line);
}

/* Lista numerada: só para sequências reais (etapas) */
.steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--grey-line);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--grey-line);
}
.steps li::before {
  content: counter(step);
  font-variant-numeric: tabular-nums;
  color: var(--grey-text);
}
.steps strong { font-weight: 500; }
.steps span { display: block; color: var(--grey-text); font-size: 0.9375rem; }

.section--dark .steps,
.section--dark .steps li { border-color: #3a3a3a; }
.section--dark .steps li::before { color: #b5b5b5; }
.section--dark .steps span { color: #b5b5b5; }

/* Lista de definição: termo e descrição */
.defs { margin: 0; border-top: 1px solid #3a3a3a; }
.defs__row {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid #3a3a3a;
}
.defs dt { font-weight: 500; font-size: 1.125rem; }
.defs dd { margin: 0; color: #b5b5b5; max-width: 46ch; }

.note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-line);
  max-width: 46rem;
}
.section--dark .note { border-top-color: #3a3a3a; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--grey-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-weight: 500;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { color: var(--grey-text); padding-bottom: 1.25rem; margin: 0; }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--black);
  background: var(--white);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--black);
  border-radius: 2px;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%),
    linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field-row { display: grid; gap: 1.25rem; }
.check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
}
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--black); }
.form-note { font-size: 0.9375rem; color: var(--grey-text); margin: 0; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: 3.5rem 3rem;
}
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer h2 {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #b5b5b5;
  margin-bottom: 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer p { margin: 0 0 0.5rem; }

/* ---------- Texto corrido (privacidade) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.015em; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.35rem; }

/* ---------- Botão fixo do WhatsApp (celular) e aviso de cookies ---------- */
.wa-fixed { display: none; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--black);
  padding: 1rem var(--gutter);
}
.cookie__inner {
  max-width: 75rem;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
  font-size: 0.9375rem;
}
.cookie p { margin: 0; max-width: none; }
.cookie__actions { display: flex; gap: 0.75rem; }

/* ---------- Telas maiores ---------- */
@media (min-width: 48em) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .split--2 { grid-template-columns: 1fr 1fr; }
  .split--head { grid-template-columns: 5fr 7fr; align-items: start; }
  .cols { grid-template-columns: 1fr 1fr; }
  .col { padding-inline-end: 2.5rem; }
  .col + .col { padding-inline-start: 2.5rem; border-left: 1px solid var(--grey-line); }
  .defs__row { grid-template-columns: 5fr 7fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 5fr 4fr 3fr; }
  .cookie__inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Celular ---------- */
@media (max-width: 47.99em) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--black);
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--grey-line);
  }
  .nav .btn { margin-top: 1.25rem; }
  .hero__grid .plan { margin-top: 0.5rem; }
  .wa-fixed {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    box-shadow: 0 0 0 1px var(--white);
  }
  .site-footer { padding-bottom: 6rem; }
}

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

.footer-tag { margin-top: 1rem; color: #b5b5b5; max-width: 22rem; }

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Campo anti-spam: fora da tela, invisível para pessoas */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
