/* ============================================
   LEMOVI — Administração de Condomínios
   Identidade visual baseada na logo oficial
   ============================================ */

:root {
  --primary: #1a3b5d;
  --primary-dark: #122a44;
  --primary-mid: #2c5278;
  --secondary: #4a86b3;
  --accent: #a61e2b;
  --accent-dark: #8a1823;
  --text: #1c2430;
  --muted: #5c6570;
  --light: #f3f5f8;
  --border: #e2e7ee;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(18, 42, 68, 0.08);
  --shadow-sm: 0 6px 18px rgba(18, 42, 68, 0.06);
  --radius: 12px;
  --header-h: 84px;
  --container: 1120px;
  --whatsapp-offset: 5.5rem;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
iframe,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

h1,
h2,
h3,
.footer__name {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--primary);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header.is-scrolled,
.header--static {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header--static {
  position: sticky;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1.5rem, 1240px);
  height: 100%;
  margin-inline: auto;
}

.logo {
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  width: auto;
  height: clamp(40px, 6.5vw, 54px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__list {
  display: flex;
  gap: 0.2rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
}

.btn--header {
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  font-size: 0.72rem;
}

.nav-backdrop {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 820px);
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(74, 134, 179, 0.18), transparent 28%),
    linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 58%, #163250 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8c4c8;
}

.hero h1 {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.65rem);
}

.hero__lead {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.skyline {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.78fr 0.9fr;
  align-items: end;
  gap: 10px;
  height: min(52vh, 460px);
  padding-top: 1rem;
}

.skyline__accent {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(166, 30, 43, 0.85);
  border-radius: 50%;
}

.building {
  position: relative;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.building--a { height: 68%; }
.building--b { height: 100%; }
.building--c { height: 54%; }
.building--d { height: 78%; }

.building__crown {
  height: 18px;
  margin: 0 18%;
  background: rgba(166, 30, 43, 0.9);
}

.building__windows,
.elevation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 12px;
  height: 100%;
}

.building__windows--dense {
  grid-template-columns: repeat(4, 1fr);
}

.building__windows--wide {
  grid-template-columns: repeat(2, 1fr);
}

.building__windows::before,
.building__windows::after,
.elevation__grid::before,
.elevation__grid::after {
  content: "";
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  box-shadow:
    22px 0 0 rgba(255, 255, 255, 0.16),
    0 28px 0 rgba(255, 255, 255, 0.12),
    22px 28px 0 rgba(255, 255, 255, 0.12),
    0 56px 0 rgba(255, 255, 255, 0.1),
    22px 56px 0 rgba(255, 255, 255, 0.1),
    0 84px 0 rgba(255, 255, 255, 0.08),
    22px 84px 0 rgba(255, 255, 255, 0.08);
}

.building__windows--dense::before {
  box-shadow:
    18px 0 0 rgba(255, 255, 255, 0.16),
    36px 0 0 rgba(255, 255, 255, 0.16),
    0 24px 0 rgba(255, 255, 255, 0.12),
    18px 24px 0 rgba(255, 255, 255, 0.12),
    36px 24px 0 rgba(255, 255, 255, 0.12),
    0 48px 0 rgba(255, 255, 255, 0.1),
    18px 48px 0 rgba(255, 255, 255, 0.1),
    36px 48px 0 rgba(255, 255, 255, 0.1),
    0 72px 0 rgba(255, 255, 255, 0.08),
    18px 72px 0 rgba(255, 255, 255, 0.08),
    36px 72px 0 rgba(255, 255, 255, 0.08),
    0 96px 0 rgba(255, 255, 255, 0.08),
    18px 96px 0 rgba(255, 255, 255, 0.08),
    36px 96px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Values ---------- */

.values {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.values__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.1rem 0;
}

.values__inner p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section--alt {
  background: var(--light);
}

.section--contact {
  padding-bottom: calc(clamp(3.5rem, 7vw, 6.5rem) + var(--whatsapp-offset));
}

.section__header {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section__header h2,
.about h2,
.cta h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.7rem);
}

.section__lead {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
  border-color: #cdd7e3;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--primary);
  background: var(--light);
  border-radius: 10px;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.about__copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about__points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.about__points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.elevation {
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.elevation__roof {
  height: 28px;
  margin: 0 12%;
  background: var(--secondary);
  clip-path: polygon(8% 100%, 50% 0, 92% 100%);
}

.elevation__body {
  position: relative;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.elevation__grid {
  height: 210px;
  grid-template-columns: repeat(4, 1fr);
}

.elevation__grid::before {
  width: 18px;
  height: 28px;
  box-shadow:
    28px 0 0 rgba(255, 255, 255, 0.16),
    56px 0 0 rgba(255, 255, 255, 0.16),
    84px 0 0 rgba(255, 255, 255, 0.16),
    0 42px 0 rgba(255, 255, 255, 0.12),
    28px 42px 0 rgba(255, 255, 255, 0.12),
    56px 42px 0 rgba(255, 255, 255, 0.12),
    84px 42px 0 rgba(255, 255, 255, 0.12),
    0 84px 0 rgba(255, 255, 255, 0.1),
    28px 84px 0 rgba(255, 255, 255, 0.1),
    56px 84px 0 rgba(255, 255, 255, 0.1),
    84px 84px 0 rgba(255, 255, 255, 0.1);
}

.elevation__entry {
  width: 54px;
  height: 48px;
  margin: 0 auto;
  background: rgba(166, 30, 43, 0.85);
  border-radius: 28px 28px 0 0;
}

.elevation__base {
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Contact / Form ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}

.contact__info h3,
.form-card h3 {
  font-size: 1.45rem;
}

.contact__info p,
.form-card > p {
  color: var(--muted);
}

.contact__card {
  margin-top: 1.4rem;
  padding: 1.3rem 1.25rem;
  font-style: normal;
  background: var(--light);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}

.contact__name {
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact__card a {
  color: var(--primary);
  text-decoration: none;
}

.contact__card a:hover {
  color: var(--accent);
}

.form-card {
  position: relative;
  z-index: 61;
  padding: 1.5rem 1.25rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  scroll-margin-top: 110px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(26, 59, 93, 0.15);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--accent);
}

.field__error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.3rem;
  color: var(--accent);
  font-size: 0.82rem;
}

.form__status {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #fdecee;
  color: var(--accent-dark);
  font-size: 0.92rem;
}

/* Overlay de e-mail enviado */
.mail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.92);
}

.mail-overlay[hidden] {
  display: none;
}

.mail-overlay__box {
  width: min(100%, 420px);
  padding: 2.2rem 1.4rem;
  text-align: center;
}

.mail-overlay__box h2 {
  margin: 0 0 1.6rem;
  color: var(--white);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.overlay-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mail-overlay {
    background: #000;
  }
}

/* ---------- CTA / Footer ---------- */

.cta {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 36rem;
  margin: 0 auto 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer {
  padding: 2.6rem 0 calc(1.4rem + env(safe-area-inset-bottom));
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

.footer__inner {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__name {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.footer__contact {
  font-style: normal;
}

.footer__contact p,
.footer__brand p {
  margin: 0 0 0.3rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__copy {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
}

/* ---------- WhatsApp ---------- */

.whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  background: #1f6b46;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18, 42, 68, 0.22);
  text-decoration: none;
  animation: wa-pulse 3.2s ease-in-out infinite;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  color: var(--white);
  background: #185536;
}

.whatsapp svg {
  width: 28px;
  height: 28px;
}

.whatsapp__tooltip {
  display: none;
}

@keyframes wa-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---------- Success ---------- */

.page-success {
  min-height: 100vh;
  background: var(--light);
}

.success {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 2rem 1rem 6rem;
}

.success__card {
  width: min(100%, 520px);
  padding: 2.4rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.success__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  color: var(--primary);
  background: var(--light);
  border-radius: 50%;
}

.success__mark svg {
  width: 32px;
  height: 32px;
}

.success p {
  color: var(--muted);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.7s var(--ease) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-card {
    padding: 1.8rem 1.7rem 1.9rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.2rem;
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .footer__inner {
    grid-template-columns: 1.1fr 1fr 1.3fr;
    align-items: start;
  }

  .whatsapp__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    display: block;
    width: max-content;
    padding: 0.45rem 0.7rem;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.78rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .whatsapp:hover .whatsapp__tooltip,
  .whatsapp:focus-visible .whatsapp__tooltip {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1280px) {
  .hero__inner {
    gap: 5rem;
  }

  .skyline {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .nav-toggle {
    display: inline-block;
    z-index: 70;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(18, 42, 68, 0.42);
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    width: min(86vw, 340px);
    height: 100dvh;
    padding: calc(var(--header-h) + 0.8rem) 1.3rem 1.6rem;
    background: var(--white);
    box-shadow: -16px 0 40px rgba(18, 42, 68, 0.12);
    transform: translateX(110%);
    transition: transform 0.3s var(--ease);
  }

  .nav.is-open {
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1rem;
  }

  .btn--header {
    width: 100%;
  }

  .values__inner {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .values__inner p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 1.6rem) 0 2.4rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 220px;
  }

  .skyline {
    height: 240px;
  }

  .skyline__accent {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .values__inner {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.9rem 0;
  }

  .values__inner p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  :root {
    --header-h: 70px;
  }

  .logo img {
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }

  .skyline {
    height: 190px;
    gap: 6px;
  }

  .whatsapp {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 320px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .btn {
    padding-inline: 1rem;
  }

  .logo img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
