:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #e2e8f0;
  --text: #102a43;
  --text-muted: #52606d;
  --primary: #054a91;
  --primary-soft: #dbeafe;
  --accent: #0f6efd;
  --border: #cbd5e1;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

header,
main,
footer {
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(31, 18, 14, 0.97), rgba(49, 31, 24, 0.95));
  border-bottom: 1px solid rgba(208, 168, 110, 0.22);
  box-shadow: 0 18px 40px rgba(17, 10, 7, 0.22);
}

.header-inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: block;
  flex: 1 1 auto;
  margin: 0 8px;
  max-width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  color: #f1dfc8;
  font-weight: 600;
  font-size: 1.02rem;
}

.nav-item > a::after {
  content: "\25BE";
  font-size: 0.72rem;
  opacity: 0.8;
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  color: #fff6ea;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(31, 18, 14, 0.98);
  border: 1px solid rgba(216, 176, 122, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}

.submenu a {
  color: #f7e7d3;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.submenu a:hover {
  background: rgba(216, 176, 122, 0.14);
  color: #fffdf8;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 30px rgba(5, 74, 145, 0.18);
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(5, 74, 145, 0.16);
  color: var(--primary);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero .button-primary {
  background: rgba(0, 110, 255, 0.95);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button-cta {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #d8b07a, #b8874f);
  color: #24150f;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.button-outline-light {
  border: 1px solid rgba(241, 223, 200, 0.55);
  color: #f5e9db;
  background: transparent;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 176, 122, 0.35);
  border-radius: 12px;
  background: rgba(255, 245, 232, 0.1);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: #f1dfc8;
  display: block;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    width: 150px;
  }

  .nav-list {
    gap: 6px;
  }

  .nav-item > a {
    font-size: 0.92rem;
    padding: 8px 8px;
  }

  .button {
    padding: 11px 16px;
  }
}

main {
  max-width: 100%;
  margin: 0;
  padding: 0 0 80px;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 112px 7vw 104px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("HOME_BANNER_Novaimagem_59bba996c4.webp") center/cover no-repeat;
  color: #fff;
  min-height: 760px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 940px;
  display: grid;
  gap: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
  line-height: 1.35;
  max-width: 700px;
}

.hero-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.hero-copy p {
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding: 72px 0;
}

.section-overlap {
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 64px 40px;
  margin-top: 0;
}

.section-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-header.compact {
  max-width: 580px;
}

.section-header h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.1;
}

.section-header p {
  margin: 18px 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.benefits-grid,
.feature-grid,
.testimonials-grid,
.summary-list {
  display: grid;
  gap: 24px;
}

.image-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
  min-height: 240px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card,
.feature-card,
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.benefit-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.benefit-card h3,
.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-light {
  background: #f4f7fb;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card p {
  margin: 20px 0 0;
  color: var(--text-muted);
  line-height: 1.82;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.testimonial-profile strong {
  display: block;
}

.testimonial-profile span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-simulator {
  position: relative;
  background: url("HOME_BANNER_Novaimagem_59bba996c4.webp") center/cover no-repeat;
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 64px 40px;
  overflow: hidden;
  color: #fff;
}

.section-simulator::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 38, 0.72);
  pointer-events: none;
}

.section-simulator .section-header .eyebrow {
  color: #a4c5ff;
}

.section-simulator .section-header h2 {
  color: #fff;
}

.section-simulator .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.section-simulator label,
.section-simulator .form-note,
.section-simulator .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section-simulator .section-header h2,
.section-simulator .section-header p {
  color: rgba(255, 255, 255, 0.92);
}

.simulator-form,
.simulator-summary {
  position: relative;
  z-index: 1;
}

.simulator-form {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  padding: 28px;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.section-simulator .summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section-simulator .summary-item:last-child {
  border-bottom: none;
}

.section-simulator .summary-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-simulator .summary-item strong {
  color: var(--text);
}

.simulator-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.simulator-form {
  display: grid;
  gap: 20px;
}

.field-group {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fff;
  color: var(--text);
}

.section-simulator input,
.section-simulator select {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.field-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-status {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f1f5f9;
  color: var(--text);
}

.hidden {
  display: none;
}

.simulator-summary {
  display: grid;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
}

.simulator-summary h3 {
  margin: 0;
  font-size: 1.35rem;
}

.simulator-summary strong {
  font-size: 1.85rem;
  line-height: 1.2;
  margin-top: 8px;
  display: block;
}

.summary-list {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  align-items: flex-start;
  flex-wrap: wrap;
}

.summary-item span {
  font-size: 0.95rem;
  line-height: 1.5;
}

.summary-item strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  text-align: right;
}

.site-footer {
  padding: 56px 24px 40px;
  background: #3d1216;
  color: #f4f0ee;
}

.footer-top,
.footer-bottom-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.footer-top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-subtitle {
  margin: 24px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-divider {
  max-width: 1180px;
  margin: 40px auto 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-section-label {
  max-width: 1180px;
  margin: 0 auto 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}

.footer-bottom-grid .footer-column {
  gap: 10px;
}

.footer-disclaimer {
  grid-column: span 2;
}

.footer-disclaimer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  font-size: 0.95rem;
}

.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .benefits-grid,
  .feature-grid,
  .testimonials-grid,
  .simulator-grid,
  .image-gallery,
  .footer-top,
  .footer-bottom-grid {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer {
    grid-column: auto;
  }

  .section-overlap {
    margin-top: 0;
  }
}


@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 156px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    background: rgba(31, 18, 14, 0.98);
    border: 1px solid rgba(216, 176, 122, 0.2);
    border-radius: 24px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-links.open {
    display: flex;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    width: 100%;
    display: grid;
    gap: 0;
    justify-content: stretch;
  }

  .nav-item > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #f7e7d3;
    border-bottom: 1px solid rgba(216, 176, 122, 0.16);
  }

  .submenu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 245, 232, 0.04);
    border-radius: 10px;
    margin: 0 0 8px;
  }

  .submenu a {
    padding: 8px 10px;
  }

  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .button-cta {
    width: auto;
    min-width: 140px;
    padding: 12px 22px;
  }

  .hero {
    left: 0;
    right: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 72px 20px 92px;
    min-height: 0;
    background-position: center top;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .simulator-grid {
    gap: 24px;
  }

  .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px 40px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 0;
    overflow-x: hidden;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    gap: 18px;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
    line-height: 1.14;
    word-break: break-word;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    gap: 15px;
    box-sizing: border-box;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
    min-width: 0;
  }

  .hero h1,
  .hero p,
  .hero-actions {
    margin-bottom: 20px;
  }

  main,
  .section,
  .section-overlap,
  .section-simulator,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    padding: 16px 20px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 18px 20px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero-actions .button,
  .simulator-form .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .benefits-grid,
  .feature-grid,
  .testimonials-grid,
  .image-gallery,
  .summary-list {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .simulator-grid {
    grid-template-columns: 1fr;
  }

  .section-overlap,
  .section-simulator,
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
