/* ============================
   BOTÃO WHATSAPP FLUTUANTE
============================ */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 62px;
  height: 62px;
  background: #b5e1c5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 22px;
    bottom: 22px;
  }
}

/* ============================
   AJUSTE DE ÂNCORAS
============================ */
#inicio,
#seguros,
#contato {
  scroll-margin-top: 90px;
}

/* ============================
   CORES E VARIÁVEIS
============================ */
:root {
  --bg-light: #f7f4ef;
  --white: #ffffff;
  --brown-dark: #775238;
  --brown-medium: #6a4a32;
  --gold: #c89a3c;
  --text-main: #222222;
  --text-muted: #555555;
  --border-soft: #e0d6c8;
}

/* ============================
   RESET E BASE
============================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================
   HEADER
============================ */
header {
  background: var(--brown-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mini {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.logo-text-main {
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.4rem;
  margin-bottom: -2px;
}

.logo-text-sub {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: -4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ============================
   HERO
============================ */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--brown-dark);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--brown-dark);
  background: #fffaf0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown-dark);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--brown-dark);
  cursor: pointer;
}

.hero-highlight {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.hero-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card-list li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.hero-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============================
   SEÇÕES
============================ */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}

.section-underline {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ============================
   GRID E CARDS
============================ */
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 1.25rem 1.4rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================
   SEGUROS
============================ */
.seguro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.seguro-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.seguro-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.seguro-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.seguro-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.seguro-cta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--brown-dark);
  font-weight: 500;
}

.seguro-cta span {
  color: var(--gold);
}

.seguro-extra {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ============================
   CONTATO
============================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.contact-block {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.5rem;
}

.contact-item {
  margin-bottom: 0.9rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-main);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.contact-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--brown-dark);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  background: #fdfbf7;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form button {
  margin-top: 0.25rem;
}

/* ============================
   FOOTER
============================ */
footer {
  background: var(--brown-dark);
  color: var(--white);
  padding: 1.5rem 1.5rem 1.25rem;
  margin-top: 1rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-inner span {
  display: block;
}

/* ============================
   RESPONSIVIDADE
============================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .seguro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav ul {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-inner {
    padding-top: 2.25rem;
  }

  .seguro-grid {
    grid-template-columns: 1fr;
  }
}
