:root {
  --tm-green: #7ac143;
  --tm-orange: #f37021;
  --tm-purple: #92278f;
  --tm-dark: #1f1f24;
  --tm-light: #f6f7fb;
  --tm-border: #e0e2ea;
  --tm-text: #2e2f37;
  --tm-radius-lg: 18px;
  --tm-radius-sm: 10px;
  --tm-shadow-soft: 0 14px 40px rgba(10, 12, 30, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tm-text);
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em; /* mantém “TecMaster” como digitado */
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #6b6f7d;
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  padding: 0.35rem 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--tm-green), var(--tm-purple));
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav .btn,
.nav .btn-outline {
  margin-left: 0.5rem;
}

/* NAV MOBILE */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: 70px 0 auto 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.25rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-open .nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
  }
}

/* BUTTONS */

.btn,
.btn-outline,
.btn-secondary,
.btn-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, var(--tm-orange), var(--tm-purple));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: #ffffff;
  color: var(--tm-purple);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--tm-purple);
  color: var(--tm-purple);
}

.btn-outline:hover,
.btn-secondary:hover {
  background: rgba(146, 39, 143, 0.06);
}

.btn-full {
  width: 100%;
}

/* Botão especial do topo – Área do Parceiro */

.btn-nav {
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

/* LINK INLINE */

.link-inline {
  font-size: 0.9rem;
  color: var(--tm-purple);
  text-decoration: none;
  position: relative;
}

.link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--tm-purple);
  opacity: 0.5;
}

/* HERO */

.hero {
  background: radial-gradient(circle at top left, rgba(122, 193, 67, 0.08), transparent 50%),
    radial-gradient(circle at top right, rgba(243, 112, 33, 0.1), transparent 55%),
    linear-gradient(to bottom, #ffffff, #f9fafc);
  padding: 3rem 0 3.5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--tm-dark);
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--tm-orange), var(--tm-purple));
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  color: #505362;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* HERO VISUAL – ilustração + card alinhados */

.hero-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.hero-illustration {
  background: #ffffff;
  border-radius: 20px;
  padding: 0.7rem;
  box-shadow: var(--tm-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  max-width: 150px;
  width: 100%;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

/* HERO CARD */

.hero-card {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 1.3rem;
  box-shadow: var(--tm-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  max-width: 280px;
}

.hero-card h2 {
  font-size: 1.05rem;
  margin-top: 0;
}

.hero-card p {
  font-size: 0.93rem;
  color: #55586a;
}

.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.9rem 0 1.2rem;
  font-size: 0.9rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--tm-green);
}

/* SECTIONS */

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: var(--tm-light);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.section-intro {
  max-width: 640px;
  font-size: 0.98rem;
  color: #55586a;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.highlight-box {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--tm-border);
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.highlight-box li {
  margin-bottom: 0.5rem;
}

/* ==== FUNDOS TRABALHADOS (ELEGANTES) PARA BLOCOS DE CARDS ==== */

.section#imobiliarias,
.section#diferenciais {
  position: relative;
  overflow: hidden;
}

.section#imobiliarias::before,
.section#diferenciais::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(146, 39, 143, 0.06), transparent 60%),
    radial-gradient(circle at bottom right, rgba(122, 193, 67, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#imobiliarias .container,
#diferenciais .container {
  position: relative;
  z-index: 1;
}

/* CARDS GRID (imobiliárias) */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

/* CARD – bolinha + título lado a lado, texto embaixo */

.card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--tm-radius-lg);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--tm-border);
  box-shadow: 0 10px 26px rgba(14, 19, 40, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  align-items: flex-start;
}

/* título ao lado da bolinha */

.card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: left;
}

/* texto sempre na linha de baixo, ocupando toda a largura */

.card p {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ÍCONES NAS BOLINHAS – bolinha menor, ícone quase do tamanho da bolinha */

.card-icon,
.diff-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(146, 39, 143, 0.12), rgba(146, 39, 143, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg,
.diff-icon svg {
  width: 46px;
  height: 46px;
}

/* DIFERENCIAIS – mesma lógica dos cards */

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.diferencial-item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--tm-radius-lg);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--tm-border);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  align-items: flex-start;
}

.diferencial-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: left;
}

.diferencial-item p {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* STEPS */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(243, 112, 33, 0.1), rgba(146, 39, 143, 0.2));
  z-index: 0;
}

.step {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 1.3rem;
  border: 1px solid var(--tm-border);
  position: relative;
  z-index: 1;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tm-green), var(--tm-purple));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ */

.faq {
  margin-top: 1.5rem;
}

.faq details {
  background: #ffffff;
  border-radius: var(--tm-radius-sm);
  padding: 0.9rem 1rem;
  border: 1px solid var(--tm-border);
  margin-bottom: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* FORM CONTATO */

.form-contato {
  margin-top: 1.2rem;
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 1.4rem;
  border: 1px solid var(--tm-border);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #cfd2e1;
  font-size: 0.92rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--tm-purple);
  box-shadow: 0 0 0 1px rgba(146, 39, 143, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

/* CONTACT BOX */

.contact-box {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--tm-border);
}

.contact-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.contact-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--tm-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
}

.small {
  font-size: 0.8rem;
  color: #6b6f7d;
}

/* SEGURADORAS PARCEIRAS */

.partners-section {
  text-align: center;
}

.partners-header h2 {
  margin-bottom: 0.4rem;
}

.partners-logos {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}

/* Logos maiores */
.partner-logo img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Estilo base do carrossel */
.partners-carousel.carousel-mode .partner-logo {
  opacity: 0.3;
  filter: grayscale(1);
  transform: scale(0.9);
}

/* Logo central ativa (colorida, maior) */
.partners-carousel.carousel-mode .partner-logo.is-active {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.3);
}

/* Logos anterior e posterior */
.partners-carousel.carousel-mode .partner-logo.is-prev,
.partners-carousel.carousel-mode .partner-logo.is-next {
  opacity: 0.7;
  filter: grayscale(0.6);
  transform: scale(1.05);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #7b8090;
  gap: 1rem;
}

.footer-login-link {
  color: var(--tm-purple);
  font-weight: 600;
}

/* LOGIN PAGE */

.login-body {
  background: radial-gradient(circle at top, rgba(146, 39, 143, 0.18), transparent 55%),
    linear-gradient(to bottom, #f9fafc, #ffffff);
}

.login-header {
  background: transparent;
  border-bottom: none;
}

.login-main {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-layout {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.login-illustration {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.7rem;
  box-shadow: var(--tm-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.login-illustration svg {
  width: 100%;
  height: auto;
}

.login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  box-shadow: var(--tm-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.login-card h1 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.login-subtitle {
  font-size: 0.9rem;
  color: #6b6f7d;
  margin-bottom: 1.2rem;
}

.login-form .form-group {
  margin-bottom: 0.9rem;
}

.login-help {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  text-align: center;
}

.login-help a {
  color: var(--tm-purple);
}

.login-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #84889b;
}

.login-footer {
  background: transparent;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
    justify-content: center;
  }

  .two-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .login-illustration {
    order: -1;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .steps,
  .diferenciais-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-card {
    margin-top: 0.8rem;
  }

  .partners-logos {
    flex-wrap: nowrap;
    gap: 1.4rem;
  }
}



