:root {
  --color-black: #262626;
  --color-black-soft: #2f2f2b;
  --color-card-dark: #322f28;
  --color-offwhite: #f8f7f5;
  --color-cream: #ede9e1;
  --color-accent: #5a583c;
  --color-accent-dark: #454330;
  --color-accent-light: #a9a37e;
  --color-text: #262626;
  --color-text-light: #f5f1e6;
  --color-muted: #7d7266;
  --color-muted-light: #d6cec1;
  --color-border: #ded6c8;
  --color-whatsapp: #25d366;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-offwhite);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 1.25rem;
}

.section--cream { background: var(--color-cream); }
.section--offwhite { background: var(--color-offwhite); }
.section--dark { background: var(--color-black); color: var(--color-text-light); }

.kicker {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 0.75rem;
  color: inherit;
}

.section-subtitle {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 3rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.section--dark .section-subtitle { color: var(--color-muted-light); }

.section-head { margin-bottom: 3rem; }

/* Placeholder media block — swap for real photos/videos before launch */
.placeholder-media {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: repeating-linear-gradient(45deg, #d8cdbb, #d8cdbb 12px, #e6ddd0 12px, #e6ddd0 24px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  border: 2px dashed var(--color-accent);
  padding-top: 1.25rem;
}

.placeholder-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  max-width: 85%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(90, 88, 60, 0.35);
}

.btn--accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}

.btn--outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover { transform: translateY(-2px); }

.btn--large { padding: 1.1rem 2.5rem; font-size: 0.9rem; }
.btn--block { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(38, 38, 38, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header img { height: 30px; width: auto; }

.site-header__nav {
  display: none;
  gap: 2rem;
}

.site-header__nav a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.site-header__nav a:hover { opacity: 0.7; }

.site-header .btn { padding: 0.6rem 1.3rem; font-size: 0.72rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.55) 0%, rgba(38, 38, 38, 0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 7rem 1.25rem 3rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-accent-light);
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero__subheadline {
  font-size: 1rem;
  color: #e9e4d8;
  margin-bottom: 2rem;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero__microcopy {
  font-size: 0.82rem;
  color: #cfc9b8;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--color-black);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1.5rem 1.25rem;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats-bar__number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-accent-light);
}

.stats-bar__label {
  font-size: 0.78rem;
  color: var(--color-muted-light);
}

/* ===== DIFFERENTIALS ===== */
.diff-photo {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.diff-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.differentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.diff-card {
  background: var(--color-card-dark);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.diff-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent-light);
}

.diff-card__icon svg { width: 26px; height: 26px; }

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.diff-card p {
  font-size: 0.92rem;
  color: var(--color-muted-light);
}

/* ===== GALLERY ===== */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.portfolio__item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  position: relative;
}

.portfolio__item__badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  background: rgba(38, 38, 38, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio__item:hover img {
  transform: scale(1.06);
}

.portfolio__item__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 38, 38, 0);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.portfolio__item:hover .portfolio__item__zoom {
  opacity: 1;
  background: rgba(38, 38, 38, 0.25);
}

.portfolio__item__zoom svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(38, 38, 38, 0.92);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.lightbox.is-open { display: flex; }

.lightbox__inner {
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ===== GOOGLE REVIEWS ===== */
.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 3rem;
}

.google-rating__score {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.google-rating__stars {
  color: #fbbc04;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.google-rating__count {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.reviews__carousel {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3.25rem;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}

.reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-offwhite);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 1;
}

.reviews__nav svg { width: 20px; height: 20px; }

.reviews__nav:hover { background: var(--color-text); color: var(--color-offwhite); }

.reviews__nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.reviews__nav--prev { left: 0; }
.reviews__nav--next { right: 0; }

.review-card {
  flex: 0 0 100%;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text);
}

.review-card__meta {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.review-card__stars {
  color: #fbbc04;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.review-card__text {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.review-card__badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--color-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
}

/* ===== FORM (ORÇAMENTO) ===== */
.quote-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.checkbox-item input { accent-color: var(--color-accent); width: 16px; height: 16px; }

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 1.75rem 0 1.5rem;
  line-height: 1.5;
}

.form-consent input { margin-top: 0.2rem; accent-color: var(--color-accent); }

.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-black);
  color: var(--color-muted-light);
  padding: 3rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer__brand img { height: 38px; width: auto; margin: 0 auto 1.25rem; }

.footer__meta p { margin-bottom: 0.4rem; }

.footer__social {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer__social a:hover { background: rgba(255, 255, 255, 0.1); }
.footer__social svg { width: 16px; height: 16px; }

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #8b8677;
}

.footer__legal a {
  text-decoration: underline;
  color: inherit;
}

.footer__legal p:last-child {
  margin-top: 0.4rem;
}

/* ===== FIXED WHATSAPP BUTTON ===== */
.whatsapp-fixed {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 998;
  transition: transform 0.3s ease;
}

.whatsapp-fixed:hover { transform: scale(1.08); }

/* ===== DESKTOP ===== */
#diferenciais,
#projetos,
#depoimentos,
#orcamento {
  scroll-margin-top: 68px;
}

@media (min-width: 860px) {
  .site-header__nav { display: flex; }

  .stats-bar { gap: 2rem 4.5rem; padding: 1.75rem 1.25rem; }
  .stats-bar__number { font-size: 1.5rem; }
  .stats-bar__label { font-size: 0.85rem; }

  .hero__headline { font-size: 3.4rem; }
  .hero__subheadline { font-size: 1.15rem; }

  .section { padding: 7rem 1.25rem; }
  .section-title { font-size: 2.4rem; }

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

  .portfolio__grid { grid-template-columns: repeat(4, 1fr); }

  .review-card { flex: 0 0 calc((100% - 2 * 1.25rem) / 3); }

  .form-row--2col { grid-template-columns: 1fr 1fr; }

  .quote-form { padding: 3.5rem; }
}

@media (min-width: 1100px) {
  .portfolio__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== LEGAL PAGE (Política de Privacidade) ===== */
.legal-header {
  background: var(--color-offwhite);
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 1.25rem;
}

.legal-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.legal-header img { height: 28px; width: auto; }

.legal-doc {
  padding: 3.5rem 1.25rem 5rem;
}

.legal-doc__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-doc h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-doc__updated {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}

.legal-doc h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 2.25rem 0 0.9rem;
}

.legal-doc p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.legal-doc ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-doc li {
  margin-bottom: 0.5rem;
}

.legal-doc a { color: var(--color-accent); text-decoration: underline; }

.legal-doc strong { font-weight: 700; }

.legal-doc__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}
