:root {
  --background: #f7f4ee;
  --foreground: #1b2f3f;
  --card: #ffffff;
  --primary: #1e3a52;
  --primary-foreground: #ffffff;
  --accent: #e8b43a;
  --accent-foreground: #1b2f3f;
  --muted-foreground: #4f5f6c;
  --border: #d9d2c3;
  --input: #cfc7b5;
  --whatsapp: #0f7a6b;
  --radius: 0.75rem;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 4rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.section-text {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 85vh;
  min-height: 85svh;
  overflow: hidden;
  color: var(--primary-foreground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(30 58 82 / 0.55);
}

.hero-content {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding: 8rem 1.5rem 4rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

.lead {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, filter 150ms ease;
}

.btn:hover {
  filter: brightness(0.95);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

.btn-outline {
  border-color: var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  filter: none;
}

.cta {
  margin-top: 2rem;
}

/* Cadastro */

.cadastro-card {
  max-width: 36rem;
  margin-inline: auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(27 47 63 / 0.06);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
}

.field input::placeholder {
  color: var(--muted-foreground);
}

.form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.note {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Honeypot: hidden from people, visible to bots that fill every field */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Localização */

.map {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.map iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}

.location-link {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .map iframe {
    height: 24rem;
  }
}

/* Contato */

.contact {
  background: var(--accent);
  color: var(--accent-foreground);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-block: 4rem;
}

.contact .section-title {
  text-wrap: balance;
}

.contact-text {
  color: inherit;
}

@media (min-width: 640px) {
  .contact-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
