/* Header — grid Power-like (logo | nav | telefone) */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 78px;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  padding: 0 max(30px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(23, 26, 30, 0.08);
  backdrop-filter: blur(14px);
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-link img {
  width: 142px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
  color: #34393e;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 50% 16px;
  width: 0;
  height: 2px;
  background: var(--singel);
  transition: width 220ms ease, left 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  left: 0;
  width: 100%;
}

.main-nav a.is-active {
  color: var(--singel);
}

.header-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 16px;
  background: var(--singel);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-phone:hover {
  background: var(--singel-deep);
  transform: translateY(-1px);
}

.header-phone span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.82rem;
}

.header-phone small {
  font-size: 0.67rem;
  font-weight: 500;
  opacity: 0.9;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  justify-self: end;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 160px 1fr 160px;
    padding-inline: 24px;
  }
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    height: 72px;
    gap: 10px;
  }
  .logo-link img {
    width: 120px;
    height: 48px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-sm);
  }
  .main-nav.main-nav--open {
    display: flex;
  }
  .main-nav a {
    padding: 0.85rem 0.5rem;
  }
  .main-nav a::after {
    display: none;
  }
  .header-phone {
    min-height: 44px;
    padding: 6px 12px;
  }
  .header-phone span {
    font-size: 0.72rem;
  }
  .menu-button {
    display: inline-flex;
  }
}

/* Monograma S (dois arcos / “C”s da marca) */
.mono {
  display: inline-block;
  width: 1.35em;
  height: 1.75em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("../assets/brand/monogram-s.png") center / contain no-repeat;
  mask: url("../assets/brand/monogram-s.png") center / contain no-repeat;
}

.mono--sm { width: 28px; height: 36px; }
.mono--md { width: 44px; height: 56px; }
.mono--lg { width: 72px; height: 92px; }
.mono--xl { width: min(28vw, 200px); height: min(36vw, 260px); }
.mono--singel { color: var(--singel); }
.mono--navy { color: var(--navy); }
.mono--white { color: #fff; }
.mono--soft { opacity: 0.12; }
.mono--mid { opacity: 0.22; }

.mono-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

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

.btn--primary {
  background: var(--singel);
  color: #fff;
  box-shadow: 0 10px 28px var(--singel-glow);
}

.btn--primary:hover {
  background: var(--singel-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--singel);
  color: var(--singel);
}

.btn--dark {
  background: var(--navy);
  color: #fff;
}

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8f1ff, #f5f8ff);
  color: var(--singel);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Footer — compacto, padrão Power (fundo escuro, grid horizontal) */
.site-footer {
  padding: 36px 0;
  background: #111519;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 170px 1fr auto auto;
  align-items: center;
  gap: 40px;
}

.site-footer img {
  width: 132px;
  height: auto;
  /* logo azul → branco no footer escuro */
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: #858d92;
  font-size: 0.74rem;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #c3c8cb;
  font-size: 0.74rem;
}

.site-footer nav a {
  color: #c3c8cb;
}

.site-footer nav a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-footer nav {
    gap: 14px;
  }
}

/* Form */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}
