/* JR Empréstimos — site estático */
:root {
  --background: #fdfcf9;
  --foreground: #2b3440;
  --card: #ffffff;
  --primary: #d4a437;
  --primary-foreground: #2e2405;
  --gold: #e0b64a;
  --gold-deep: #a87f1f;
  --gold-soft: #f7efd9;
  --teal-deep: #2e4a5c;
  --muted: #f6f4ec;
  --muted-foreground: #6b7683;
  --border: #e8e4d8;
  --radius: 0.75rem;
  --shadow-hero: 0 24px 60px -24px rgba(23, 43, 66, 0.5);
  --shadow-card: 0 16px 40px -16px rgba(140, 110, 30, 0.25);
  --shadow-gold: 0 10px 24px -8px rgba(212, 164, 55, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display { font-family: "Outfit", ui-sans-serif, system-ui, sans-serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(232, 228, 216, 0.6);
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.header-logo { height: 4rem; width: auto; }
@media (min-width: 640px) { .header-logo { height: 6rem; } }
.header-nav { display: none; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.header-nav a:hover { color: var(--foreground); }
@media (min-width: 640px) { .header-nav { display: flex; } }
.header-phone {
  border: 1px solid var(--primary); border-radius: 0.375rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--gold-deep);
  transition: background 0.2s;
}
.header-phone:hover { background: var(--gold-soft); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(46,74,92,0.9), rgba(46,74,92,0.8), rgba(46,74,92,0.85));
}
.hero-inner {
  position: relative; display: grid; gap: 3rem;
  padding-top: 4rem; padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 4rem; padding-top: 7rem; padding-bottom: 7rem; }
}
.hero-copy { color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background: rgba(255,255,255,0.1);
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 500;
  color: var(--gold); box-shadow: inset 0 0 0 1px rgba(224,182,74,0.4);
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 1rem; height: 1rem; }
.hero h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub { margin-top: 1rem; max-width: 36rem; font-size: 1rem; color: rgba(255,255,255,0.85); }
@media (min-width: 640px) { .hero-sub { font-size: 1.125rem; } }

.hero-chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background: rgba(255,255,255,0.95);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--teal-deep);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08); transition: transform 0.2s, background 0.2s;
}
.chip:hover { transform: translateY(-2px); background: var(--gold-soft); }
.chip svg { width: 1rem; height: 1rem; color: var(--gold-deep); }

.hero-highlights { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .hero-highlights { grid-template-columns: repeat(3, 1fr); } }
.hero-highlights li {
  display: flex; align-items: center; gap: 0.625rem;
  border-radius: 0.75rem; background: rgba(255,255,255,0.1);
  padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); backdrop-filter: blur(4px);
}
.hero-highlights svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--gold); }

/* ===== Form ===== */
.form-wrap { width: 100%; max-width: 28rem; margin: 0 auto; }
@media (min-width: 1024px) { .form-wrap { margin-left: auto; margin-right: 0; } }
.contact-form {
  width: 100%; border-radius: 1rem; background: var(--card);
  padding: 1.5rem; box-shadow: var(--shadow-hero); box-shadow: var(--shadow-hero), inset 0 0 0 1px var(--border);
}
@media (min-width: 640px) { .contact-form { padding: 2rem; } }
.contact-form h2 { font-size: 1.5rem; font-weight: 600; color: var(--teal-deep); }
@media (min-width: 640px) { .contact-form h2 { font-size: 1.875rem; } }
.contact-form .form-sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.form-fields { margin-top: 1.5rem; display: grid; gap: 1rem; }
.field {
  width: 100%; border-radius: 0.5rem; border: 1px solid var(--border);
  background: var(--card); padding: 0.8rem 1rem; font-size: 0.95rem;
  color: var(--foreground); outline: none; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,164,55,0.2); }
.field::placeholder { color: var(--muted-foreground); }
.btn-submit {
  margin-top: 1.5rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
  border: none; cursor: pointer; border-radius: 0.375rem; background: var(--primary);
  padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--primary-foreground);
  box-shadow: var(--shadow-gold); transition: transform 0.2s, background 0.2s; font-family: inherit;
}
.btn-submit:hover { transform: translateY(-2px); background: var(--gold-deep); color: #fff; }
.btn-submit svg { width: 1.25rem; height: 1.25rem; }
.form-note { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* ===== Services ===== */
.services { background: rgba(246, 244, 236, 0.6); }
.services-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .services-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.services-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.services-kicker { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold-deep); }
.services h2 { margin-top: 0.5rem; font-size: 1.875rem; font-weight: 600; color: var(--teal-deep); }
@media (min-width: 640px) { .services h2 { font-size: 2.25rem; } }
.services-text { margin-top: 1rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .services-text { font-size: 1.125rem; } }
.services-photo { margin-top: 2rem; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-card); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  display: flex; height: 100%; align-items: center; gap: 1rem;
  border-radius: 1rem; background: var(--card); padding: 1.25rem;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold), inset 0 0 0 1px rgba(212,164,55,0.5); }
.service-icon {
  display: flex; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--gold-soft); color: var(--gold-deep); transition: background 0.2s, color 0.2s;
}
.service-card:hover .service-icon { background: var(--primary); color: var(--primary-foreground); }
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-label { flex: 1; font-weight: 600; color: var(--teal-deep); }
.service-arrow { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--primary); transition: transform 0.2s; }
.service-card:hover .service-arrow { transform: translateX(4px); }
.service-cta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 1rem; background: var(--teal-deep); padding: 1.25rem;
  font-weight: 600; color: #fff; transition: transform 0.2s, box-shadow 0.2s;
}
.service-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-cta svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--background); }
.footer-grid { display: grid; gap: 3rem; padding-top: 3.5rem; padding-bottom: 3.5rem; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.footer-grid svg.icon { width: 2rem; height: 2rem; color: var(--primary); margin: 0 auto; }
.footer-title { margin-top: 0.75rem; font-size: 1.125rem; font-weight: 500; }
.footer-email { margin-top: 0.25rem; display: inline-block; font-size: 0.875rem; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }
.footer-logo { height: 10rem; width: auto; margin: 0 auto; display: block; }
@media (min-width: 640px) { .footer-logo { height: 10rem; } }
.footer-social { margin-top: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.footer-social a { color: var(--muted-foreground); transition: color 0.2s; }
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 1.5rem; height: 1.5rem; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom p { padding: 1.25rem 0; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-bottom .brand { font-weight: 600; color: var(--gold-deep); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--gold-deep); }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 50;
  display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center;
  border-radius: 9999px; background: #25d366; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 1.75rem; height: 1.75rem; fill: #fff; }
