:root {
  --ink: #101a16;
  --muted: #5c6d65;
  --paper: #f2eee5;
  --paper-2: #e5dfd2;
  --forest: #0a2f25;
  --forest-mid: #0f4638;
  --leaf: #1a7a5c;
  --gold: #c9a84c;
  --line: rgba(16, 26, 22, 0.12);
  --shadow: 0 28px 70px rgba(7, 30, 24, 0.22);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 6px;
  --shell: min(1160px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 122, 92, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(201, 168, 76, 0.07), transparent 55%),
    var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff;
  padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 47, 37, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f0e8;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.4rem; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit;
}
.brand-logo {
  width: 2.6rem; height: 2.6rem; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 0.2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
}
.brand-text em {
  font-style: normal; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244, 240, 232, 0.65); font-weight: 600;
}
.nav-principal { display: flex; align-items: center; gap: 1.25rem; }
.nav-principal a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  color: rgba(244, 240, 232, 0.88); transition: color 0.2s;
}
.nav-principal a:hover { color: #fff; }
.nav-cta {
  background: var(--gold); color: var(--forest) !important;
  padding: 0.45rem 0.9rem; border-radius: 999px; font-weight: 600 !important;
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span {
  display: block; width: 1.35rem; height: 2px; background: #f4f0e8; margin: 0.28rem 0;
}

/* Hero */
.hero {
  position: relative; color: #f7f3ea;
  min-height: min(88vh, 720px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-plane {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 28, 22, 0.35) 0%, rgba(7, 28, 22, 0.82) 70%, rgba(7, 28, 22, 0.95) 100%),
    url("/img/carousel-fachada.jpg") center/cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 5.5rem 0 4rem;
  max-width: 40rem;
}
.hero-logo {
  width: min(280px, 70vw); height: auto; margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  animation: fade-up 0.8s ease both;
}
.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700; line-height: 1.08;
  animation: fade-up 0.8s 0.08s ease both;
}
.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem; color: rgba(247, 243, 234, 0.86);
  max-width: 34rem;
  animation: fade-up 0.8s 0.16s ease both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  animation: fade-up 0.8s 0.24s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 999px;
  padding: 0.7rem 1.25rem; transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--forest); }
.btn-primary:hover { background: #d4b45a; }
.btn-ghost {
  background: transparent; color: #f7f3ea;
  box-shadow: inset 0 0 0 1.5px rgba(247, 243, 234, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.02rem; }

.strip {
  background: var(--forest);
  color: rgba(247, 243, 234, 0.9);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; padding: 1.35rem 0;
}
.strip strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem;
}
.strip span { font-size: 0.95rem; font-weight: 500; }

.section { padding: 4.5rem 0; }
.section-muted { background: rgba(229, 223, 210, 0.45); }
.section-head { margin-bottom: 2.2rem; max-width: 40rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2,
.split-copy h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15; margin: 0.35rem 0 0.7rem;
}
.eyebrow {
  margin: 0; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf);
}
.eyebrow.light { color: var(--gold); }

.split {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: start;
}
.fact-list {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: 0.55rem;
}
.fact-list li {
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.split-card {
  background: var(--forest); color: #f4f0e8;
  border-radius: 14px; padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.split-card-label {
  margin: 0 0 1rem; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
}
.split-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.split-card li { display: flex; gap: 0.75rem; align-items: baseline; }
.split-card span {
  font-weight: 700; color: var(--gold); min-width: 4.5rem; font-size: 0.85rem;
}

/* Carousel */
.carousel { margin-top: 0.5rem; }
.carousel-viewport {
  position: relative; overflow: hidden;
  border-radius: 16px; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; background: var(--forest);
}
.carousel-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide {
  position: relative; flex: 0 0 100%; height: 100%;
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(7, 28, 22, 0.88));
  color: #f7f3ea;
}
.carousel-caption strong {
  display: block; font-family: var(--font-display); font-size: 1.25rem;
}
.carousel-caption span { font-size: 0.92rem; opacity: 0.85; }
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1rem;
}
.carousel-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--forest);
}
.carousel-btn:hover { background: var(--paper-2); }
.carousel-dots { display: flex; gap: 0.45rem; }
.carousel-dots button {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: 0; background: rgba(16, 26, 22, 0.25); cursor: pointer; padding: 0;
}
.carousel-dots button.is-active { background: var(--leaf); width: 1.2rem; border-radius: 999px; }
.carousel-menu {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem;
  margin-top: 1.35rem;
}
.carousel-menu a {
  text-decoration: none; font-size: 0.88rem; font-weight: 600;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.carousel-menu a:hover {
  background: var(--forest); color: #fff; border-color: var(--forest);
}

/* Categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.cat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1.5rem 1.35rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-num {
  margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--gold);
}
.cat-card h3 {
  font-family: var(--font-display); margin: 0 0 0.6rem; font-size: 1.35rem;
}
.cat-card p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
.cat-card ul {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 0.35rem; font-size: 0.9rem;
}
.cat-card li::before {
  content: ""; display: inline-block; width: 0.4rem; height: 0.4rem;
  border-radius: 50%; background: var(--leaf); margin-right: 0.5rem;
  vertical-align: middle;
}

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.card-op {
  padding: 1.25rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.card-op h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.card-op p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.partner-block { margin-bottom: 2rem; }
.partner-block-title {
  margin: 0 0 1rem; font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
}
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.45rem; min-height: 6.5rem;
}
.logo-tile img { max-height: 2.4rem; width: auto; object-fit: contain; }
.logo-tile span { font-size: 0.78rem; color: var(--muted); text-align: center; }
.logo-wall-photos { grid-template-columns: repeat(3, 1fr); }
.logo-tile-photo { min-height: 5.2rem; }
.logo-tile-photo img { max-height: 2.8rem; filter: grayscale(0.15); }
.cases-note {
  margin: 1rem 0 0; font-size: 0.82rem; color: var(--muted);
}

.map-frame {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 21 / 9; min-height: 280px;
  background: var(--paper-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem;
}
.map-actions .btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.section-cta {
  background:
    linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 55%, #0d3d30 100%);
  color: #f4f0e8;
}
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start;
}
.contact-meta {
  list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem;
}
.contact-meta a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-meta a:hover { text-decoration: underline; }

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.form-row { margin-bottom: 0.95rem; }
.form-row.two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
}
.contact-form label {
  display: block; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 0.3rem; color: rgba(244, 240, 232, 0.8);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.2); color: #fff;
  border-radius: 8px; padding: 0.7rem 0.8rem; font: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form select option { color: #111; }
.form-legal { font-size: 0.78rem; color: rgba(244, 240, 232, 0.65); margin: 0 0 1rem; }
.form-legal a { color: var(--gold); }
.form-status { margin: 0.85rem 0 0; font-size: 0.92rem; min-height: 1.3em; }
.form-status.is-ok { color: #9be7c4; }
.form-status.is-err { color: #ffb4a8; }
.hp {
  position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden;
}

/* Footer (padrão IMBECOR) */
.site-footer {
  margin-top: auto;
  background: #0b1620;
  color: #9aa8b8;
  padding: 1.1rem 1rem;
  font-size: 0.85rem;
}
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.35rem 0.5rem; text-align: center;
}
.footer-sep { opacity: 0.5; }
.footer-link, .footer-dev a { color: #c4a35a; text-decoration: none; }
.footer-link:hover, .footer-dev a:hover { text-decoration: underline; }

.legal { padding: 3rem 0 4rem; max-width: 42rem; }
.legal h1 { font-family: var(--font-display); }

@media (max-width: 960px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .logo-wall, .logo-wall-photos { grid-template-columns: repeat(2, 1fr); }
  .map-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-principal {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest); padding: 0.75rem 1.25rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-principal.is-open { display: flex; }
  .nav-principal a { padding: 0.7rem 0; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .hero-inner { padding: 4.5rem 0 3rem; }
  .cards { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
}
