:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --text: #1c2a4a;
  --accent: #c4c400;
  --accent-dark: #a8a000;
  --border: rgba(28, 42, 74, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,0.95);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 5%;
}

.logo img {
  height: 65px;
  max-width: 220px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1c2a4a;
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: #1c2a4a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #c4c400;
}

.header-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 4px;
  font-family: 'Century Gothic', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  background: #1c2a4a;
  color: #f1f3f5;
}

.btn:hover {
  background: #e2e5e9;
}

.btn.destaque {
  background: #c4c400;
  color: #1c2a4a;
}

.btn.destaque:hover {
  background: #c4c400;
}

.hero-contato {
  min-height: 80vh;
  position: relative;
  background: #1c2a4a;
  display: grid;
  align-items: center;
  overflow: hidden;
  place-items: center;
  padding: 48px 24px;
  color: #e2e5e9;
}

.hero-contato::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: url('../img/contato-negociacao.jpg') center 45%/cover no-repeat;
  filter: saturate(0.88) contrast(1.02);
  transform: scale(1.02);
  opacity: 1;
}

.hero-contato::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 33, 61, 0.62), rgba(28, 42, 74, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
  text-shadow: 0 3px 14px rgba(28, 42, 74, 0.95);
}

.hero-content span {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 20px;
  color: #e2e5e9;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 32px;
  color: #e2e5e9;
}

.hero-content .btn {
  margin-top: 16px;
}

.whatsapp-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 76px 24px 52px;
}

.section-intro {
  max-width: 980px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro > span {
  display: inline-block;
  margin-bottom: 14px;
  color: #8c8c00;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-intro h2 {
  color: #1c2a4a;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-intro h2 em {
  color: #159447;
  font-style: normal;
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.whatsapp-card {
  grid-column: span 2;
  min-height: 142px;
  padding: 20px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(28, 42, 74, 0.12);
  border-top: 3px solid #c4c400;
  border-radius: 16px;
  background: #fff;
  color: #1c2a4a;
  box-shadow: 0 10px 26px rgba(28, 42, 74, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.whatsapp-card:hover {
  border-color: rgba(37, 211, 102, 0.42);
  border-top-color: #25d366;
  box-shadow: 0 15px 32px rgba(28, 42, 74, 0.12);
  transform: translateY(-3px);
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #25d366;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.23);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-icon img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.whatsapp-icon:hover,
.whatsapp-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 196, 0, 0.32), 0 10px 22px rgba(37, 211, 102, 0.3);
  transform: scale(1.06);
}

.whatsapp-card__content {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.whatsapp-card__content strong {
  color: #1c2a4a;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.whatsapp-card__phone {
  width: fit-content;
  color: #58647c;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration-color: rgba(21, 148, 71, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  user-select: text;
  -webkit-user-select: text;
}

.whatsapp-card__phone:hover,
.whatsapp-card__phone:focus-visible {
  color: #157f42;
  outline: none;
  text-decoration-color: #25d366;
  text-decoration-thickness: 2px;
}

.whatsapp-center {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.whatsapp-commercial {
  padding: 11px 24px 11px 11px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 2px solid #1c2a4a;
  border-radius: 15px;
  background: #1c2a4a;
  color: #fff;
  box-shadow: 0 12px 26px rgba(28, 42, 74, 0.16);
}

.whatsapp-commercial strong {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.whatsapp-center-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #25d366;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-center-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.whatsapp-center-icon:hover,
.whatsapp-center-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 196, 0, 0.32);
  transform: scale(1.06);
}

.form-section {
  background: var(--bg);
  padding: 60px 24px 80px;
}

.form-header {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.form-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 18px;
}

.form-header p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(28, 42, 74, 0.8);
  line-height: 1.75;
}

.contato-form {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contato-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 196, 0, 0.12);
}

.contato-form textarea {
  min-height: 160px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.field-error {
  min-height: 18px;
  font-size: 0.95rem;
  color: #d12b2b;
}

.btn-submit {
  width: fit-content;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.form-message {
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.9;
}

.form-message.is-success {
  color: #26713a;
}

.form-message.is-error {
  color: #b42318;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer {
  position: relative;
  background: #1c2a4a;
  overflow: hidden;
  z-index: 1;
}

.footer-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.footer-cta {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
  border-bottom: 1px solid rgba(196, 196, 0, 0.2);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.btn-footer {
  background: #c4c400;
  color: #1c2a4a;
  padding: 18px 44px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 8px;
}

.btn-footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(196, 196, 0, 0.3);
  background: #c4c400;
}

.footer-links {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
  border-bottom: 1px solid rgba(196, 196, 0, 0.15);
}

.links-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 60px;
}

.links-column h3 {
  font-size: 1.1rem;
  color: #c4c400;
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.links-column a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  position: relative;
  padding-left: 0;
}

.links-column a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #c4c400;
  transition: width 0.3s ease;
}

.links-column a:hover {
  color: #c4c400;
  padding-left: 12px;
}

.links-column a:hover::before {
  width: 8px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-branding {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.footer-about {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196, 196, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(196, 196, 0, 0.2);
}

.footer-social a:hover {
  background: rgba(196, 196, 0, 0.25);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 24px rgba(196, 196, 0, 0.15);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-legal h4,
.footer-contact h4 {
  color: #c4c400;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.footer-legal a:hover {
  color: #c4c400;
  padding-left: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.contact-item {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  color: #c4c400;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a,
.contact-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-item a:hover {
  color: #c4c400;
}

.footer-copyright {
  border-top: 1px solid rgba(196, 196, 0, 0.15);
  padding-top: 28px;
  text-align: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

.heart {
  color: #c4c400;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
}

@media (max-width: 1024px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .btn-footer {
    width: 100%;
    text-align: center;
  }

  .footer-bottom-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-cta {
    padding: 50px 5%;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-links {
    padding: 50px 5%;
  }

  .links-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-bottom {
    padding: 50px 5%;
  }

  .footer-bottom-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5%;
    gap: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav ul {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .primary-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .header-ctas {
    display: none;
  }
}

@media (max-width: 1024px) {
  .whatsapp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .whatsapp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-card {
    grid-column: span 2;
    min-height: 126px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-contato {
    min-height: 68vh;
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
}
