/* ──────────────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────────────── */
:root {
  --color-action: #6304f6;
  --color-action-dk: #4a02b8;
  --color-action-lt: #8b3cff;
  --color-title: #1e1e2f;
  --color-text-sec: rgba(30, 30, 47, 0.56);
  --color-white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", Arial, sans-serif;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 8px 40px rgba(99, 4, 246, 0.18);
  --shadow-float: 0 6px 28px rgba(99, 4, 246, 0.35);
}

/* ──────────────────────────────────────────────
   BASE RESET
────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--font-body);
  color: #1e1e2f;
  background: #f4f2fb;
  overflow-x: hidden;
}

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/car.webp");
  background-size: cover;
  background-position: center 40%;
  filter: saturate(1.1);
  z-index: 0;
  transform: scale(1.03);
  animation: subtle-zoom 14s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 4, 45, 0.82) 0%,
    rgba(30, 10, 70, 0.7) 40%,
    rgba(20, 8, 50, 0.3) 72%,
    rgba(10, 5, 25, 0.55) 100%
  );
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 120px 0 80px;
}

/* Pill badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 4, 246, 0.25);
  border: 1px solid rgba(139, 60, 255, 0.45);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 28px;
  animation: fade-up 0.7s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b3cff;
  box-shadow: 0 0 8px #8b3cff;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero__badge-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 20px;
  animation: fade-up 0.8s 0.1s ease both;
}

.hero__headline em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #a855f7, #c084fc, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 44px;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  animation: fade-up 0.9s 0.35s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   FORM CARD
────────────────────────────────────────────── */
.form-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow-card),
    0 2px 0 rgba(99, 4, 246, 0.12) inset;
  overflow: hidden;
  animation: fade-up 0.9s 0.3s ease both;
}

.form-card__header {
  background: linear-gradient(135deg, #6304f6 0%, #8b3cff 100%);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-card__header-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-card__header-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.form-card__header-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: white;
  line-height: 1.2;
}

.form-card__header-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  margin-top: 2px;
}

.form-card__body {
  padding: 0;
}

.iframe-zone {
  width: calc(100% - 40px);
  min-height: 380px;
  background: #faf9ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed rgba(99, 4, 246, 0.18);
  margin: 20px;
  border-radius: 12px;
  color: rgba(30, 30, 47, 0.56);
}

.iframe-zone svg {
  opacity: 0.3;
}

.iframe-zone p {
  font-size: 13px;
  font-style: italic;
  opacity: 0.6;
  text-align: center;
  padding: 0 20px;
}

.form-card iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(30, 30, 47, 0.56);
  font-weight: 500;
}

.trust-item svg {
  width: 14px;
  height: 14px;
  fill: #6304f6;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   SCROLL HINT
────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: fade-up 1.2s 0.8s ease both;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  font-family: var(--font-display);
}

.scroll-hint__mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-hint__wheel {
  width: 3px;
  height: 6px;
  background: white;
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ──────────────────────────────────────────────
   FLOATING INFO BUTTON — sans tooltip
────────────────────────────────────────────── */
.float-info {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 2px solid rgba(99, 4, 246, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(99, 4, 246, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.float-info:hover {
  transform: scale(1.12);
  background: #6304f6;
  box-shadow: 0 8px 32px rgba(99, 4, 246, 0.5);
}

.float-info:hover svg {
  fill: white;
}

.float-info svg {
  width: 22px;
  height: 22px;
  fill: #6304f6;
  transition: fill 0.2s;
}

/* ──────────────────────────────────────────────
   MODAL
────────────────────────────────────────────── */
.modal-backdrop {
  background: rgba(14, 4, 45, 0.65);
}

#infoModal .modal-dialog {
  max-width: 680px;
  width: 90%;
  margin: 60px auto;
}

#infoModal .modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(14, 4, 45, 0.35);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

#infoModal .modal-header {
  background: linear-gradient(135deg, #6304f6, #8b3cff);
  border: none;
  padding: 22px 28px;
}

#infoModal .modal-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

#infoModal .modal-header .close {
  color: #ffffff;
  opacity: 0.7;
  font-size: 22px;
  margin-top: 0;
  text-shadow: none;
}

#infoModal .modal-header .close:hover {
  opacity: 1;
}

#infoModal .modal-body {
  padding: 28px;
  max-height: 58vh;
  overflow-y: auto;
  background: #fdfcff;
  color: #1e1e2f;
  font-size: 14px;
  line-height: 1.72;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

/* Scrollbar custom */
#infoModal .modal-body::-webkit-scrollbar {
  width: 5px;
}
#infoModal .modal-body::-webkit-scrollbar-track {
  background: #f0edfb;
}
#infoModal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(99, 4, 246, 0.3);
  border-radius: 3px;
}

.modal-section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  color: #6304f6;
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(99, 4, 246, 0.12);
}

.modal-section-title:first-child {
  margin-top: 0;
}

#infoModal .modal-body p {
  color: #1e1e2f;
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

#infoModal .modal-body ul,
#infoModal .modal-body ol {
  color: #1e1e2f;
  margin-bottom: 10px;
  padding-left: 20px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

#infoModal .modal-body li {
  margin-bottom: 6px;
}

.modal-legal-note {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(99, 4, 246, 0.05);
  border-left: 3px solid #6304f6;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: rgba(30, 30, 47, 0.7);
  line-height: 1.6;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.modal-legal-note a {
  color: #6304f6;
  text-decoration: none;
}
.modal-legal-note a:hover {
  text-decoration: underline;
}

#infoModal .modal-footer {
  background: #f6f4fe;
  border-top: 1px solid rgba(99, 4, 246, 0.1);
  padding: 16px 28px;
  text-align: right;
}

.btn-close-modal {
  background: #6304f6;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 9px 28px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-close-modal:hover {
  background: #4a02b8;
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.site-footer {
  background: #1e1e2f;
  padding: 40px 0 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-logo img {
  height: 55px;
}

.footer-logo span {
  color: #8b3cff;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
  max-width: 640px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #8b3cff;
}

.footer-orias {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

.footer-orias a {
  color: #8b3cff;
  text-decoration: none;
}

.footer-orias a:hover {
  text-decoration: underline;
}

/* ──────────────────────────────────────────────
   ANIMATIONS
────────────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero__content {
    padding: 100px 0 70px;
  }
  .hero__col-text {
    margin-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .hero__headline {
    font-size: 30px;
  }
  .hero__sub {
    font-size: 15px;
  }
  .form-card {
    border-radius: 16px;
  }
  .float-info {
    bottom: 20px;
    left: 20px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-orias {
    text-align: left;
  }
  #infoModal .modal-dialog {
    margin: 30px auto;
  }
}
