/* ===========================
   RT Soluções Financeiras
   Estilo corporativo bancário
   =========================== */

:root {
  --navy-900: #0f1f38;
  --navy-800: #16294a;
  --navy-700: #1c3a63;
  --green-600: #a3811c;
  --green-500: #c9a227;
  --green-100: #faf3df;
  --gray-50: #f7f9fb;
  --gray-100: #eef1f5;
  --gray-300: #d3dae3;
  --gray-500: #6b7a90;
  --gray-700: #3c4a5e;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.14);
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray-700);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-900);
}

.logo .mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.logo-tagline {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-500);
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid var(--gray-300);
  max-width: 170px;
}

.logo-tagline br {
  content: "";
}

.footer-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-900);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.18), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--green-500);
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 560px;
}

.hero-stats .stat b {
  display: block;
  font-size: 26px;
  color: var(--white);
}

.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--navy-900);
}

.hero-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.hero-card p.muted {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 22px;
}

.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--navy-900);
}

.hero-card ul li .ico {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* Trust bar */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.trust-item .ico {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy-900);
}

.service-card p {
  color: var(--gray-700);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.service-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 999px;
}

/* About */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-visual .big-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--green-500);
}

.about-visual .row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.about-visual .row:first-child {
  border-top: none;
  padding-top: 0;
}

.about-visual .row span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 200px;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 18px;
  color: var(--navy-900);
}

.about p {
  color: var(--gray-700);
  font-size: 16px;
  margin-bottom: 18px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.about-points .point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-points .ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.about-points strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.about-points p {
  font-size: 13.5px;
  margin: 0;
  color: var(--gray-500);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.step p {
  font-size: 13.5px;
  color: var(--gray-500);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--green-600);
}

.cta-banner .btn-primary:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}

.contact-card h4 {
  font-size: 15px;
  margin-bottom: 3px;
  color: var(--navy-900);
}

.contact-card p, .contact-card a {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-card a:hover {
  color: var(--green-600);
}

.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.contact-form p.muted {
  font-size: 13.5px;
  color: var(--gray-500);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy-900);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
}

.disclaimer {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 14px;
  line-height: 1.5;
}

/* Footer */
footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid h5 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-grid ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-grid ul a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-size: 26px;
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* Legal pages */
.legal-page {
  padding: 64px 0 96px;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.legal-page .updated {
  font-size: 13.5px;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  color: var(--navy-900);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page p, .legal-page li {
  color: var(--gray-700);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero {
    padding: 64px 0 80px;
  }

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .logo-tagline {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 36px 24px;
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
