/* Bela Obra — estilos principais */



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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brown-900);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brown-900); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, p { margin: 0; }

.section-pad {
  padding: var(--space-24) clamp(20px, 5vw, 48px);
}

.eyebrow {
  font-size: var(--text-body-s);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow--on-inverse { color: var(--text-on-inverse-muted); }

.section-title {
  margin: 8px 0 0;
  font-weight: var(--weight-medium);
  font-size: var(--text-display-l);
  color: var(--text-primary);
}
.section-title--on-inverse { color: var(--text-on-inverse); }

/* ---------- Botões ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { font-size: 17px; padding: 16px 32px; }
.btn-sm { font-size: 15px; padding: 10px 20px; }

.btn-primary {
  background: var(--brown-900);
  color: var(--text-on-inverse);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-inverse); }
.btn-primary:active { background: var(--accent-active); }

.btn-inverse {
  background: var(--brown-100);
  color: var(--brown-900);
}
.btn-inverse:hover { background: var(--white); color: var(--brown-900); }

.btn-outline {
  border-color: var(--brown-500);
  color: var(--text-on-inverse);
}
.btn-outline:hover { border-color: var(--brown-300); color: var(--text-on-inverse); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 48px);
  background: var(--surface-inverse);
  flex-wrap: wrap;
  row-gap: 16px;
}
.nav__logo { height: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
  row-gap: 12px;
}
.nav__link {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--text-on-inverse-muted);
  text-decoration: none;
}
.nav__link:hover { color: var(--text-on-inverse); }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav__toggle svg { stroke: var(--text-on-inverse); }

.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-inverse);
  flex-direction: column;
  padding: 8px clamp(20px, 5vw, 48px) 24px;
  gap: 20px;
  border-top: 1px solid var(--brown-700);
}
.nav__mobile-menu .nav__link { font-size: 16px; }
.nav__mobile-menu .btn { width: 100%; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(88,61,48,0.88) 10%, rgba(88,61,48,0.45) 60%, rgba(88,61,48,0.15) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  padding: 0 clamp(20px, 5vw, 48px);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title {
  font-weight: var(--weight-medium);
  font-size: var(--text-display-xl);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--text-on-inverse);
}
.hero__subtitle {
  max-width: 520px;
  font-size: var(--text-body-l);
  line-height: var(--leading-relaxed);
  color: var(--text-on-inverse-muted);
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ---------- Statement ---------- */
.statement {
  background: var(--brown-900);
  color: var(--text-on-inverse);
  padding: var(--space-20) clamp(20px, 5vw, 48px);
  text-align: center;
}
.statement__text {
  margin: 0 auto;
  max-width: 780px;
  font-weight: var(--weight-medium);
  font-size: var(--text-display-l);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--text-on-inverse);
}

/* ---------- Para quem é ---------- */
.publico {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.publico__intro { max-width: 620px; }
.publico__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

/* ---------- Sobre ---------- */
.sobre {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-10);
  align-items: center;
}
.sobre__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.sobre__copy {
  font-size: var(--text-body-l);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 620px;
}

/* Números extraídos das trajetórias das fundadoras, como prova do "a gente sabe como é". */
.sobre__stats {
  margin: var(--space-4) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  max-width: 620px;
}
.stat {
  margin: 0;
  background: var(--surface-page);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__value {
  margin: 0;
  font-weight: var(--weight-medium);
  font-size: var(--text-heading-m);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}
.stat__label {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .sobre__stats { grid-template-columns: repeat(2, 1fr); }
}
.notch-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

/* ---------- Fundadoras ---------- */
.fundadoras {
  background: var(--surface-sunken);
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.fundadoras__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-10);
}
.founder {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.founder__photo {
  aspect-ratio: 4 / 5;
  object-position: top;
}
.founder__name {
  margin: 0 0 4px;
  font-weight: var(--weight-medium);
  font-size: var(--text-heading-l);
  color: var(--text-primary);
}
.founder__role {
  font-size: var(--text-body-s);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.founder__bio {
  font-size: var(--text-body-s);
  color: var(--text-secondary);
}

/* ---------- Cards (Para quem é) ---------- */
.card {
  background: var(--surface-card);
  padding: var(--space-8) var(--space-6);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-3);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.card__title {
  font-weight: var(--weight-medium);
  font-size: var(--text-heading-l);
  color: var(--text-primary);
}
.card__description {
  font-size: var(--text-body-s);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* ---------- Serviços ----------
   Índice de escopo: os serviços são ofertas paralelas, não etapas.
   Cada linha leva ao formulário já com o tipo de projeto escolhido. */
.servicos {
  background: var(--surface-inverse);
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.servicos__intro { max-width: 620px; }

.servico-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--brown-700);
}
.servico { border-bottom: 1px solid var(--brown-700); }

.servico__link {
  --servico-title: var(--text-on-inverse);
  --servico-desc: var(--text-on-inverse-muted);
  --servico-cue: var(--brown-500);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) 32px;
  align-items: baseline;
  gap: var(--space-4) var(--space-10);
  padding: var(--space-8) var(--space-6);
  text-decoration: none;
  transition: background-color 0.3s ease, clip-path 0.3s ease;
}
.servico__link:hover,
.servico__link:focus-visible {
  --servico-title: var(--text-primary);
  --servico-desc: var(--text-secondary);
  --servico-cue: var(--brown-600);
  background: var(--surface-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  outline: none;
}
.servico__link:focus-visible { box-shadow: inset 0 0 0 2px var(--brown-900); }

.servico__title {
  margin: 0;
  font-weight: var(--weight-medium);
  font-size: var(--text-heading-l);
  letter-spacing: var(--tracking-tight);
  color: var(--servico-title);
  transition: color 0.3s ease;
}
.servico__desc {
  margin: 0;
  font-size: var(--text-body-m);
  line-height: var(--leading-relaxed);
  color: var(--servico-desc);
  transition: color 0.3s ease;
}
.servico__cue {
  justify-self: end;
  align-self: center;
  color: var(--servico-cue);
  transition: color 0.3s ease, transform 0.3s ease;
}
.servico__link:hover .servico__cue,
.servico__link:focus-visible .servico__cue { transform: translateX(6px); }

@media (max-width: 760px) {
  .servico__link {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-4);
  }
  .servico__cue { display: none; }
}

/* ---------- Projetos ---------- */
.projetos {
  background: var(--brown-800);
  color: var(--text-on-inverse);
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.projetos__intro {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.projetos__lead {
  margin: 0;
  font-size: var(--text-body-l);
  line-height: var(--leading-relaxed);
  color: var(--text-on-inverse-muted);
}
.projetos__obras {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

/* Cada obra é um bloco próprio: a casa concluída e a Casa Cor em execução
   são projetos diferentes e precisam ser lidos como tal. */
.obra {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.obra__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--brown-600);
}
.obra__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-s);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-inverse-muted);
}
.obra__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--brown-500);
}
.obra__dot--ativo { background: var(--brown-100); }

.obra__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.obra__item {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--brown-700);
  cursor: zoom-in;
}
.obra__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.obra__item:hover img,
.obra__item:focus-visible img { transform: scale(1.05); }
.obra__item:focus-visible {
  outline: 2px solid var(--brown-100);
  outline-offset: 3px;
}
.obra__item--lead {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.obra__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.obra__item--full {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (max-width: 860px) {
  .obra__grid { grid-template-columns: repeat(2, 1fr); }
  .obra__item--wide { aspect-ratio: 16 / 9; }
  .obra__item--full { aspect-ratio: 16 / 9; }
}

/* ---------- Parceiros ----------
   Sem logos, os nomes valem mais como crédito tipográfico
   do que dentro de caixas que parecem espaços vazios. */
.parceiros {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.parceiros__intro { max-width: 620px; }
.parceiros__roll {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}
.parceiro {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.parceiro__name {
  font-size: var(--text-display-m);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--text-primary);
}
.parceiro__role {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ---------- Depoimentos ----------
   O depoimento da arquiteta é o mais persuasivo para o público principal,
   então ganha peso; as falas curtas de clientes acompanham como notas. */
.depoimentos {
  background: var(--surface-sunken);
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}
.depoimentos__intro { max-width: 620px; }
.depoimentos__layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 900px) {
  .depoimentos__layout { grid-template-columns: 1fr; gap: var(--space-8); }
}

.testimonial { margin: 0; }
.testimonial__quote {
  margin: 0;
  font-style: italic;
  line-height: var(--leading-relaxed);
}
.testimonial__author {
  display: block;
  font-style: normal;
  font-size: var(--text-body-s);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial--destaque {
  background: var(--surface-inverse);
  padding: var(--space-10);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.testimonial--destaque .testimonial__quote {
  font-size: var(--text-heading-l);
  color: var(--text-on-inverse);
}
.testimonial--destaque .testimonial__author { color: var(--text-on-inverse-muted); }

.depoimentos__notas {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.testimonial--nota {
  border-left: 2px solid var(--brown-400);
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.testimonial--nota .testimonial__quote {
  font-size: var(--text-body-l);
  color: var(--text-primary);
}
.testimonial--nota .testimonial__author { color: var(--text-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(45, 31, 24, 0.95); }

.lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 9vw, 96px) clamp(16px, 4vw, 32px);
}
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: 72dvh;
  object-fit: contain;
}
.lightbox__caption {
  font-size: var(--text-body-s);
  line-height: var(--leading-relaxed);
  color: var(--brown-300);
  text-align: center;
  max-width: 60ch;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--brown-600);
  border-radius: var(--radius-pill);
  background: rgba(88, 61, 48, 0.85);
  color: var(--brown-100);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  background: var(--brown-900);
  border-color: var(--brown-100);
}
.lightbox__btn--close {
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
}
.lightbox__btn--prev {
  left: clamp(12px, 3vw, 24px);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__btn--next {
  right: clamp(12px, 3vw, 24px);
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Contato ---------- */
.contato {
  background: var(--surface-inverse);
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}
.contato__info {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contato__lead {
  font-size: var(--text-body-l);
  color: var(--text-on-inverse-muted);
  max-width: 420px;
}
.contato__channels {
  font-size: var(--text-body-s);
  color: var(--text-on-inverse-muted);
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contato__channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-inverse-muted);
  text-decoration: none;
}
.contato__channels a:hover { color: var(--text-on-inverse); }

.form {
  flex: 1;
  min-width: 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-page);
  padding: var(--space-8);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
}
.field__label {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 16px;
  background: var(--surface-page);
  border: 1.5px solid var(--border-default);
  border-radius: 4px;
  color: var(--text-primary);
  outline: none;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brown-700);
}

.form__privacidade {
  margin: 0;
  font-size: var(--text-caption);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

/* ---------- CTA flutuante ---------- */
.floating-cta {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 60;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface-inverse);
  padding: var(--space-16) clamp(20px, 5vw, 48px) var(--space-10);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  color: var(--text-on-inverse-muted);
  font-size: var(--text-body-s);
  gap: var(--space-8);
}
.footer img { height: 20px; opacity: 0.9; }

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
.footer__tagline { color: var(--text-on-inverse-muted); }

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__links a,
.footer__contact a {
  color: var(--text-on-inverse-muted);
  text-decoration: none;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--text-on-inverse); }

.footer__copy {
  grid-column: 1 / -1;
  padding-top: var(--space-6);
  border-top: 1px solid var(--brown-700);
  color: var(--text-on-inverse-muted);
}
