
/* Gentill Mob v7 - pré-cadastro + fundo único premium */
:root {
  --gentill-yellow: #f2b631;
  --gentill-yellow-soft: rgba(242, 182, 49, 0.18);
  --gentill-green: #9bf65b;
  --gentill-ink: #050b15;
  --gentill-panel: rgba(7, 18, 33, 0.72);
  --gentill-border: rgba(255, 255, 255, 0.13);
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  background: #050b15 !important;
}

body.gentill-v7 {
  background:
    radial-gradient(circle at 20% 0%, rgba(242, 182, 49, 0.10), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(155, 246, 91, 0.08), transparent 24rem),
    linear-gradient(180deg, #050b15 0%, #071121 50%, #050b15 100%) !important;
}

#gentill-live-canvas,
#gentill-cursor-aura,
.gentill-v6-ambient,
.gentill-v6-cursor-aura {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gentill-v7-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.gentill-v7-aura {
  position: fixed;
  left: 0;
  top: 0;
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  background:
    radial-gradient(circle, rgba(242, 182, 49, 0.28) 0%, rgba(242, 182, 49, 0.13) 24%, rgba(155, 246, 91, 0.06) 45%, transparent 72%);
  filter: blur(34px);
  transition: opacity 620ms ease, transform 980ms cubic-bezier(.16, 1, .3, 1);
}

body.gentill-v7-pointer .gentill-v7-aura { opacity: 0.82; }

.gentill-mob-page,
.gentill-mob-header,
.gentill-mob-main,
.gentill-mob-footer {
  position: relative;
  z-index: 1;
}

.gentill-mob-page,
.gentill-mob-main {
  background: transparent !important;
}

.gentill-mob-section {
  background: linear-gradient(180deg, rgba(5, 11, 21, 0.78), rgba(5, 11, 21, 0.64)) !important;
}

.gentill-mob-section.gentill-mob-dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 182, 49, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(4, 10, 19, 0.88), rgba(5, 11, 21, 0.74)) !important;
}

.gentill-v7-reveal {
  transform: translate3d(0, 18px, 0);
  opacity: 0;
  transition: transform 760ms cubic-bezier(.16, 1, .3, 1), opacity 760ms ease, box-shadow 480ms ease, border-color 480ms ease, background-color 480ms ease;
}
.gentill-v7-reveal.is-visible { transform: translate3d(0, 0, 0); opacity: 1; }

.gentill-mob-contact[href="#pre-cadastro"],
.gentill-mob-header .gentill-mob-contact[href="#pre-cadastro"] {
  min-height: 42px !important;
  padding: 0.68rem 1.05rem !important;
  border-radius: 999px !important;
  font-size: 0.9rem !important;
  box-shadow: 0 12px 34px rgba(242, 182, 49, 0.20) !important;
  transform: translateZ(0);
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1), box-shadow 520ms ease, filter 520ms ease !important;
}
.gentill-mob-contact[href="#pre-cadastro"]:hover,
.gentill-mob-contact[href="#pre-cadastro"]:focus-visible {
  transform: translate3d(0, -1px, 0) !important;
  box-shadow: 0 18px 42px rgba(242, 182, 49, 0.28) !important;
  filter: saturate(1.08);
}

/* Pre-cadastro */
.gentill-mob-driver-section {
  overflow: hidden;
  position: relative;
}
.gentill-mob-driver-section::before {
  content: "";
  position: absolute;
  inset: 4rem auto auto 50%;
  width: min(72rem, 86vw);
  height: 26rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 182, 49, 0.13), transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}
.gentill-driver-head { position: relative; z-index: 1; }
.gentill-driver-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: 2rem;
}
.gentill-driver-form,
.gentill-driver-summary-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(5, 11, 21, 0.68);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.gentill-driver-form { padding: clamp(1rem, 2.4vw, 1.5rem); display: grid; gap: 1rem; }
.gentill-driver-summary { position: sticky; top: 6.5rem; }
.gentill-driver-summary-card { padding: clamp(1rem, 2.4vw, 1.5rem); }
.gentill-driver-summary-card h3 { margin: .2rem 0 .55rem; color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.gentill-driver-summary-card p { color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.gentill-driver-steps {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}
.gentill-driver-steps span {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255,255,255,.68);
  border-radius: 999px;
  padding: .48rem .72rem;
  font-size: .79rem;
  font-weight: 700;
}
.gentill-driver-steps span.is-active {
  color: #06111f;
  background: linear-gradient(135deg, var(--gentill-yellow), #ffe08a);
  border-color: rgba(242, 182, 49, 0.68);
}
.gentill-driver-card {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 1.35rem;
  padding: clamp(1rem, 2vw, 1.2rem);
  background: rgba(255,255,255,.035);
  transition: border-color 520ms ease, box-shadow 520ms ease, background-color 520ms ease, transform 520ms cubic-bezier(.16, 1, .3, 1);
}
.gentill-driver-card:focus-within {
  border-color: rgba(242, 182, 49, .45);
  box-shadow: 0 18px 46px rgba(242, 182, 49, .08);
  background: rgba(255,255,255,.055);
}
.gentill-driver-card legend {
  padding: 0 .35rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.gentill-driver-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.gentill-driver-form label {
  display: grid;
  gap: .42rem;
  color: rgba(255,255,255,.80);
  font-size: .9rem;
  font-weight: 700;
}
.gentill-driver-form input,
.gentill-driver-form select,
.gentill-driver-form textarea,
.gentill-driver-summary textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 1rem;
  background: rgba(2, 8, 16, .62);
  color: #fff;
  padding: .86rem .92rem;
  outline: none;
  transition: border-color 360ms ease, box-shadow 360ms ease, background-color 360ms ease, transform 360ms cubic-bezier(.16, 1, .3, 1);
}
.gentill-driver-form input::placeholder,
.gentill-driver-form textarea::placeholder { color: rgba(255,255,255,.36); }
.gentill-driver-form input:focus,
.gentill-driver-form select:focus,
.gentill-driver-form textarea:focus,
.gentill-driver-summary textarea:focus {
  border-color: rgba(242, 182, 49, .72);
  box-shadow: 0 0 0 4px rgba(242, 182, 49, .10);
  background: rgba(4, 12, 24, .82);
}
.gentill-driver-form select option { background: #071121; color: #fff; }
.gentill-driver-full { margin-top: .9rem; }
.gentill-driver-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .75rem !important;
  line-height: 1.55;
  margin-top: .75rem;
}
.gentill-driver-check input { width: 1.1rem; height: 1.1rem; margin-top: .18rem; accent-color: var(--gentill-yellow); }
.gentill-driver-note,
.gentill-driver-feedback {
  margin: .9rem 0 0;
  color: rgba(255,255,255,.64);
  font-size: .9rem;
  line-height: 1.65;
}
.gentill-driver-summary textarea {
  min-height: 24rem;
  resize: vertical;
  line-height: 1.55;
  font-family: inherit;
  margin-top: .8rem;
}
.gentill-driver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .9rem;
}
.gentill-driver-button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}
.gentill-driver-feedback.is-ok { color: #9bf65b; }
.gentill-driver-feedback.is-warn { color: #ffe08a; }

/* Cards com abertura inline mais suave */
.gentill-mob-model-card,
.gentill-expandable-card,
.gentill-mob-feature,
.gentill-mob-panel {
  transition: transform 680ms cubic-bezier(.16, 1, .3, 1), border-color 620ms ease, box-shadow 620ms ease, background-color 620ms ease, filter 620ms ease !important;
}
.gentill-mob-model-card:hover,
.gentill-expandable-card:hover,
.gentill-mob-feature:hover {
  transform: translate3d(0, -4px, 0) !important;
  border-color: rgba(242, 182, 49, .40) !important;
  box-shadow: 0 20px 62px rgba(0,0,0,.28), 0 0 46px rgba(242, 182, 49, .055) !important;
}
.gentill-v7-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 560ms cubic-bezier(.16, 1, .3, 1), opacity 440ms ease, margin-top 440ms ease;
  opacity: 0;
  margin-top: 0;
}
.gentill-v7-drawer > div { overflow: hidden; }
.gentill-v7-drawer p { margin: .8rem 0 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.gentill-v7-open .gentill-v7-drawer {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: .75rem;
}
.gentill-v7-open { border-color: rgba(242,182,49,.48) !important; box-shadow: 0 22px 70px rgba(0,0,0,.30), 0 0 60px rgba(242,182,49,.08) !important; }

@media (max-width: 980px) {
  .gentill-driver-workspace { grid-template-columns: 1fr; }
  .gentill-driver-summary { position: static; }
}
@media (max-width: 720px) {
  .gentill-v7-bg { opacity: .70; }
  .gentill-v7-aura { width: 88vw; height: 88vw; filter: blur(42px); }
  .gentill-driver-grid-2 { grid-template-columns: 1fr; }
  .gentill-driver-actions { display: grid; }
  .gentill-driver-summary textarea { min-height: 20rem; }
  .gentill-mob-nav-menu, .gentill-mob-nav-menu-panel, .gentill-mob-nav-menu-panel nav { max-width: 100vw !important; overflow-x: hidden !important; }
  .gentill-mob-nav-menu-panel { left: auto !important; right: 0 !important; width: min(92vw, 23rem) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .gentill-v7-bg,
  .gentill-v7-aura { display: none !important; }
  .gentill-v7-reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}


/* Gentill Mob v8 - QA do pré-cadastro e menu mobile */
.gentill-v8 .gentill-driver-workspace {
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
}
.gentill-v8 .gentill-driver-summary-card {
  overflow: hidden;
}
.gentill-v8 .gentill-driver-whatsapp-card {
  display: grid;
  gap: .85rem;
}
.gentill-v8 .gentill-driver-flow-list {
  display: grid;
  gap: .75rem;
  margin-top: .25rem;
}
.gentill-v8 .gentill-driver-flow-list > div {
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.04);
  border-radius: 1.05rem;
  padding: .85rem .9rem;
  display: grid;
  gap: .22rem;
  transition: border-color 480ms ease, transform 520ms cubic-bezier(.16,1,.3,1), box-shadow 520ms ease, background-color 520ms ease;
}
.gentill-v8 .gentill-driver-flow-list > div:hover,
.gentill-v8 .gentill-driver-flow-list > div:focus-within {
  transform: translate3d(0,-2px,0);
  border-color: rgba(242,182,49,.38);
  box-shadow: 0 14px 34px rgba(0,0,0,.22), 0 0 34px rgba(242,182,49,.06);
  background: rgba(255,255,255,.06);
}
.gentill-v8 .gentill-driver-flow-list strong {
  color: #fff;
  font-size: .95rem;
}
.gentill-v8 .gentill-driver-flow-list span {
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  font-size: .9rem;
}
.gentill-v8 .gentill-driver-submit-zone {
  border: 1px solid rgba(242,182,49,.24);
  border-radius: 1.35rem;
  padding: clamp(1rem, 2vw, 1.2rem);
  background:
    radial-gradient(circle at 8% 10%, rgba(242,182,49,.12), transparent 15rem),
    rgba(255,255,255,.045);
  display: grid;
  gap: .85rem;
}
.gentill-v8 .gentill-driver-submit-zone strong { color: #fff; font-size: 1.05rem; }
.gentill-v8 .gentill-driver-submit-zone p { color: rgba(255,255,255,.68); line-height: 1.62; margin: .25rem 0 0; }
.gentill-v8 .gentill-driver-submit {
  width: fit-content;
  min-height: 48px;
  padding-inline: 1.25rem !important;
  border: 0;
}
.gentill-v8 .gentill-driver-form small {
  color: rgba(255,255,255,.48);
  font-weight: 600;
  line-height: 1.35;
}
.gentill-v8 .gentill-driver-form .is-invalid,
.gentill-v8 .gentill-driver-form input[aria-invalid="true"],
.gentill-v8 .gentill-driver-form select[aria-invalid="true"],
.gentill-v8 .gentill-driver-form textarea[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, .82) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, .12) !important;
}
.gentill-v8 .gentill-driver-check.is-invalid {
  border: 1px solid rgba(255,107,107,.38);
  border-radius: 1rem;
  padding: .75rem;
  background: rgba(255,107,107,.06);
}
.gentill-v8 .gentill-driver-feedback.is-warn { color: #ffd98a; }
.gentill-v8 .gentill-driver-feedback.is-ok { color: #a5ff72; }

/* Botão e menu mobile mais estáveis */
@media (max-width: 980px) {
  .gentill-v8 .gentill-mob-nav {
    gap: .65rem;
  }
  .gentill-v8 .gentill-mob-nav-menu {
    position: relative !important;
    flex: 0 0 auto !important;
    max-width: calc(100vw - 1.25rem) !important;
    overflow: visible !important;
  }
  .gentill-v8 .gentill-mob-nav-menu summary {
    min-width: 0 !important;
    width: auto !important;
    max-width: 8.25rem !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  .gentill-v8 .gentill-mob-nav-menu-panel {
    right: 0 !important;
    left: auto !important;
    width: min(22rem, calc(100vw - 1.5rem)) !important;
    max-width: calc(100vw - 1.5rem) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .gentill-v8 .gentill-mob-nav-menu-panel *,
  .gentill-v8 .gentill-mob-nav-menu-panel a {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere;
  }
  .gentill-v8 .gentill-mob-nav-menu-panel .gentill-mob-contact {
    width: 100% !important;
    display: inline-flex !important;
    justify-content: center !important;
  }
}
@media (max-width: 720px) {
  html, body, .gentill-mob-page, .gentill-mob-main { overflow-x: hidden !important; }
  .gentill-v8 .gentill-driver-workspace { grid-template-columns: 1fr; }
  .gentill-v8 .gentill-driver-submit { width: 100%; justify-content: center; }
}
