:root {
  --bg: #0f1320;
  --bg-2: #12162a;
  --text: #e7eaf6;
  --muted: #a9b0c7;
  --brand: #3ccf91; /* verde sutil para ações */
  --brand-2: #22a06b;
  --stroke: rgba(255, 255, 255, 0.08);
  --card: #161b31;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-2: #f7f9fc;
    --text: #171a22;
    --muted: #4a5568;
    --brand: #0f9d58;
    --brand-2: #0a7d46;
    --stroke: #e8edf4;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: min(1120px, 100%);
  padding: 0 20px;
  margin-inline: auto;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* /* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card); /* cor sólida do cartão, combina com o restante */
  border-bottom: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.header-inner {
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  color: var(--text);
  background: var(--stroke);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    right: 16px;
    top: 80px;
    background: var(--card);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 16px;
    border-radius: 12px;
    flex-direction: column;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn.primary {
  background: var(--brand);
  color: #0b0f18;
  box-shadow: var(--shadow);
}
.btn.primary:hover {
  background: var(--brand-2);
}
.btn.outline {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn.whatsapp {
  background: #25d366;
  color: #0b0f18;
}
.btn.whatsapp .material-icons {
  font-size: 20px;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}
.hero-text p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  height: 100%; /* make it fill container height */
  object-fit: cover; /* crop/scale proportionally */
  border-radius: 22px;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    height: 220px;
  }
}

/* Sections */
.section {
  padding: 64px 0;
}
.section.alt {
  background: var(--card);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.section-title {
  font-size: 28px;
  margin: 0 0 24px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.cards {
  grid-template-columns: repeat(4, 1fr);
}
.grid.two {
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 1000px) {
  .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid.cards {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

/* Form */
.form {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
label {
  font-weight: 600;
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
}
input:focus,
textarea:focus {
  outline: 3px solid rgba(60, 207, 145, 0.25);
  border-color: var(--brand);
}

/* Contact card + map */
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
}
.contact-card h3 {
  margin-top: 0;
}
.contact-card a {
  color: var(--brand);
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}
.map {
  margin-top: 12px;
  aspect-ratio: 4 / 3;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Footer */
.site-footer {
  padding: 36px 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-mid {
  text-align: center;
  color: var(--muted);
}
.footer-bottom {
  text-align: center;
  color: var(--muted);
  margin-top: 6px;
}
.link {
  color: var(--brand);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

/* Utilities */
.header-spacer {
  height: 64px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.grid.photos {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.photo-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
}
