:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 252, 246, 0.92);
  --surface-strong: #fffdfa;
  --text: #1e1a17;
  --muted: #655b53;
  --line: rgba(75, 57, 42, 0.14);
  --gold: #b08a48;
  --gold-deep: #8f6d37;
  --ink: #161210;
  --forest: #29433a;
  --shadow: 0 18px 50px rgba(27, 18, 10, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(176, 138, 72, 0.1), transparent 28%),
    linear-gradient(180deg, #f6f1ea 0%, #efe8de 100%);
  color: var(--text);
  padding-top: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.logo-text,
.car-name,
.car-price,
.car-name-img {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: linear-gradient(135deg, #1f1a17, #3a2d22);
  color: #f8f2e8;
  box-shadow: 0 14px 30px rgba(22, 18, 16, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#scrollToTopBtn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.contact-info {
  background: linear-gradient(90deg, #161210, #2d241d);
  color: #f6efe3;
  padding: 14px 22px;
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(17, 12, 8, 0.16);
}

.contact-info span {
  margin-right: 20px;
  font-size: 14px;
  color: rgba(246, 239, 227, 0.92);
}

.contact-info a {
  color: inherit;
}

.social-icons-topo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons-topo a {
  color: #d8b981;
  font-size: 18px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons-topo a:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

.logo-container {
  text-align: center;
  margin-bottom: 36px;
  padding: 18px 0 4px;
}

.logo {
  max-width: 180px;
  display: block;
  margin: 0 auto;
}

.logo-text {
  color: #2f241d;
  font-weight: 700;
  font-size: 1.45rem;
  margin: 10px 0 0;
}

.row_title {
  display: flex;
  justify-content: center;
}

.section-title {
  position: relative;
  margin: 52px 0 28px;
  padding-bottom: 14px;
  font-size: 2.15rem;
  font-weight: 700;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #2a2019;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 82px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(176, 138, 72, 0.15), var(--gold), rgba(176, 138, 72, 0.15));
}

.car,
.form-container,
.additional-info-container,
.car-info {
  background: var(--surface);
  border: 1px solid rgba(176, 138, 72, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.car {
  height: 100%;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(27, 18, 10, 0.16);
}

.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.new-badge,
.nova-badge,
.new-label {
  position: absolute;
  z-index: 4;
  top: 26px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(17, 12, 8, 0.24);
}

.new-badge,
.new-label {
  left: 26px;
  background: linear-gradient(135deg, var(--gold), #d7bc84);
  color: #1d150f;
}

.nova-badge {
  right: 26px;
  background: linear-gradient(135deg, #2a433b, #446558);
  color: #fff;
}

.car-name {
  text-align: center;
  margin-top: 18px;
  font-weight: 700;
  font-size: 1.35rem;
  color: #231a15;
}

.car-info {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.9;
}

.car-info span {
  display: inline-block;
  margin: 0 10px;
}

.car-price {
  text-align: center;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold-deep);
}

.car-details {
  padding: 8px 0 16px;
}

.car-details-container {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(21, 15, 10, 0.18);
}

.car-details-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 12, 8, 0.08), rgba(18, 12, 8, 0.58));
  pointer-events: none;
}

.car-name-img {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  z-index: 3;
  font-weight: 700;
  font-size: 1.45rem;
  color: #fff8ec;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.car-info-overlay-img {
  position: absolute;
  left: 22px;
  right: 150px;
  bottom: 24px;
  z-index: 3;
  color: rgba(255, 248, 236, 0.96);
  font-weight: 500;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.car-info-overlay-img p {
  margin: 0;
}

.car-price-img {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: #fff6e7;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.zoom-effect {
  overflow: hidden;
}

.zoom-effect img,
.car img {
  transition: transform 0.45s ease;
}

.zoom-effect:hover img,
.car:hover img {
  transform: scale(1.05);
}

.form-container {
  padding: 32px;
  border-radius: 28px;
}

.form-container h3,
.form-container h2 {
  margin-bottom: 12px;
  color: #241a14;
  font-weight: 700;
}

.form-container p {
  color: var(--muted);
}

label {
  color: #372a21;
  font-weight: 600;
}

.form-control,
.input-group-text {
  min-height: 50px;
  border: 1px solid rgba(143, 109, 55, 0.16);
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.9);
  color: #241a14;
}

.form-control:focus {
  border-color: rgba(176, 138, 72, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(176, 138, 72, 0.12);
}

.btn-primary,
button {
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #9a7840, #c5a86f);
  color: #1e1610;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(176, 138, 72, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover,
button:hover {
  background: linear-gradient(135deg, #8d6d3a, #bb9a60);
  color: #1e1610;
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(176, 138, 72, 0.28);
}

.ver-mais {
  text-align: center;
  margin-top: 18px;
}

.ver-mais-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #201813, #3a2d22);
  color: #f5ede0;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ver-mais-link:hover {
  color: #f5ede0;
  transform: translateY(-1px);
  opacity: 0.95;
}

.gallery {
  margin-top: 18px;
}

.gallery .row {
  justify-content: center;
  gap: 12px;
}

.gallery-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid rgba(176, 138, 72, 0.16);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(27, 18, 10, 0.08);
  cursor: pointer;
}

.additional-info h3 {
  margin-top: 42px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: #261d16;
}

.additional-info-container {
  padding: 28px;
  border-radius: 24px;
  margin-top: 18px;
}

.additional-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #261d16;
  margin-bottom: 14px;
}

.table {
  background: transparent;
}

.table th,
.table td {
  border-top: 1px solid rgba(117, 91, 66, 0.12);
  padding: 0.95rem 0.75rem;
}

.table th {
  color: #3c2e24;
  font-weight: 700;
}

.table td {
  color: #5b4d41;
}

.pagination {
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-link {
  border: 1px solid rgba(176, 138, 72, 0.16);
  border-radius: 999px !important;
  color: #241a14;
  background: rgba(255, 252, 246, 0.88);
  padding: 10px 16px;
}

.page-link:hover {
  color: #241a14;
  background: #f3eadc;
}

.footer {
  margin-top: 70px;
  background:
    linear-gradient(180deg, #ebe3d6, #ddd0bc),
    #e7dccd;
  color: #34281f;
  padding: 60px 0 34px;
  width: 100%;
}

.footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 28px;
}

.footer-section {
  flex: 1 1 260px;
  max-width: none;
  margin-bottom: 0;
}

.footer-section h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #6f542a;
}

.footer-section p,
.footer-section li {
  color: rgba(52, 40, 31, 0.88);
  line-height: 1.75;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #4b3729;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 12px 28px rgba(70, 50, 31, 0.08);
}

.social-icons {
  margin-top: 18px;
}

.social-icons a {
  color: #8f6d37;
  margin-right: 14px;
  font-size: 22px;
}

.social-icons a:hover {
  color: #6f542a;
}

.footer-map {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(70, 50, 31, 0.16);
}

.img-whatshapp {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 22px auto 0;
}

.share-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid rgba(176, 138, 72, 0.12);
}

.share-title {
  margin-bottom: 12px;
  color: #261d16;
  font-weight: 700;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffdfa, #f4ecdf);
  color: #2d221a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(38, 26, 16, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.share-btn:hover {
  color: #2d221a;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(38, 26, 16, 0.12);
}

.share-btn i {
  font-size: 0.95rem;
}

.share-btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0f5fcb);
  color: #fff;
}

.share-btn-facebook:hover {
  color: #fff;
}

.share-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #179b4a);
  color: #fff;
}

.share-btn-whatsapp:hover {
  color: #fff;
}

.share-btn-linkedin {
  background: linear-gradient(135deg, #0a66c2, #084f97);
  color: #fff;
}

.share-btn-linkedin:hover {
  color: #fff;
}

.share-btn-copy {
  background: linear-gradient(135deg, #2d221a, #4a392d);
  color: #fff8ee;
}

.share-btn-copy:hover {
  color: #fff8ee;
}

.modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: #17120f;
}

.modal-body {
  padding: 0;
}

@media (max-width: 991.98px) {
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .car-info-overlay-img {
    right: 22px;
    bottom: 68px;
  }

  .car-price-img {
    left: 22px;
    right: auto;
  }
}

@media (max-width: 767.98px) {
  .contact-info {
    padding: 14px 16px;
  }

  .contact-info span {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 1.7rem;
    margin-top: 40px;
  }

  .logo {
    max-width: 145px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .car,
  .form-container,
  .additional-info-container {
    border-radius: 22px;
  }

  .car-name-img {
    font-size: 1.15rem;
  }

  .car-info-overlay-img,
  .car-price-img {
    font-size: 0.95rem;
  }
}
