/* ============================================================
   EVOHUB - ASSOCIAÇÕES  —  Landing de apresentação
   Estende a identidade visual de evo.css (preto + amarelo)
   ============================================================ */

/* ---- Hero do produto ---- */
.evohub-hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.9)),
    url('../assets/fundo_home.jpg') center/cover no-repeat fixed;
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.evohub-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.evohub-hero .container { position: relative; z-index: 1; }

.law-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 229, 0, 0.1);
  border: 1px solid rgba(255, 229, 0, 0.35);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.evohub-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.evohub-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

.evohub-hero .lead strong { color: #fff; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item { display: flex; align-items: center; gap: 0.6rem; }
.hero-trust-item i { color: var(--yellow); font-size: 1.25rem; }
.hero-trust-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Faixa de contexto (o porquê) ---- */
.context-strip {
  background: var(--dark);
  border-top: 1px solid var(--dark-2);
  border-bottom: 1px solid var(--dark-2);
  padding: 3.5rem 0;
}

/* Quando é a primeira seção da página (sem hero), compensa a navbar fixa */
.context-strip--top {
  padding-top: 9rem;
  border-top: none;
}

.context-quote {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.context-quote .text-yellow { font-weight: 800; }

.context-cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Selo/pill de base legal ---- */
.law-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 229, 0, 0.08);
  border: 1px solid rgba(255, 229, 0, 0.28);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  line-height: 1.2;
}

.law-badge i { font-size: 0.8rem; }

/* ---- Grid de módulos ---- */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dark);
  border: 1px solid var(--dark-2);
  border-radius: 1rem;
  padding: 1.75rem;
  cursor: pointer;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 18px 40px rgba(255, 229, 0, 0.1);
}

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.module-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  background: rgba(255, 229, 0, 0.1);
  border: 1px solid rgba(255, 229, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--yellow);
  flex-shrink: 0;
  transition: background 0.35s;
}

.module-card:hover .module-icon { background: rgba(255, 229, 0, 0.18); }

.module-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.module-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.module-summary {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.module-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dark-2);
}

.module-detail-link {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s;
  white-space: nowrap;
}

.module-card:hover .module-detail-link { gap: 0.55rem; }

/* card CORE em destaque */
.module-card.is-core {
  background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 229, 0, 0.06) 100%);
  border-color: rgba(255, 229, 0, 0.3);
}

/* ---- Selo "Contrate por módulo" ---- */
.modular-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.42rem 1.05rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

/* ---- Bloco de destaque: contratação modular ---- */
.modular-highlight {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 229, 0, 0.07) 100%);
  border: 1px solid rgba(255, 229, 0, 0.3);
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.modular-highlight::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -5%;
  width: 45%;
  height: 220%;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.modular-highlight-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(255, 229, 0, 0.12);
  border: 1px solid rgba(255, 229, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--yellow);
  position: relative;
  z-index: 1;
}

.modular-highlight-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.modular-highlight-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.35rem;
}

.modular-highlight-body h3 {
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem;
  color: var(--white);
}

.modular-highlight-body p {
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}

.modular-highlight-cta {
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .modular-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
  }
  .modular-highlight-cta {
    width: 100%;
    text-align: center;
  }
}

/* ---- Módulos em linha (1 por linha, screenshot de fundo) ---- */
.modules-rows {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.module-row {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: center;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--dark-2);
  background: var(--black);
  cursor: pointer;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.module-row:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 229, 0, 0.12);
}

/* screenshot real do sistema como fundo */
.module-row-shot {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left 30%;
  opacity: 0.7;
  transform: scale(1.02);
  transition: opacity 0.5s, transform 0.6s;
}

.module-row:hover .module-row-shot {
  opacity: 1;
  transform: scale(1.05);
}

/* gradiente escuro à direita (onde fica o texto); screenshot revelada à esquerda */
.module-row-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(13, 13, 13, 0.08) 0%,
      rgba(13, 13, 13, 0.28) 26%,
      rgba(13, 13, 13, 0.65) 48%,
      rgba(13, 13, 13, 0.93) 68%,
      rgba(13, 13, 13, 0.97) 100%);
  transition: background 0.5s;
}

.module-row:hover .module-row-overlay {
  background: linear-gradient(90deg,
      rgba(13, 13, 13, 0) 0%,
      rgba(13, 13, 13, 0.12) 26%,
      rgba(13, 13, 13, 0.5) 47%,
      rgba(13, 13, 13, 0.9) 68%,
      rgba(13, 13, 13, 0.97) 100%);
}

.module-row-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  padding: 1.85rem 2rem;
  max-width: 560px;
  width: 100%;
}

.module-row-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.module-row h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
  color: var(--white);
}

.module-row-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 500px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.45s ease, opacity 0.4s ease, margin 0.45s ease;
}

.module-row:hover .module-row-desc {
  max-height: 150px;
  opacity: 1;
  margin: 0.85rem 0 0;
}

.module-row-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .module-row-content { padding: 2rem 2.5rem; }
}

/* Touch / telas pequenas: sem hover, revela descrição e escurece o fundo para leitura */
@media (hover: none), (max-width: 767.98px) {
  .module-row-shot { opacity: 0.28; }
  .module-row-overlay,
  .module-row:hover .module-row-overlay {
    background: linear-gradient(90deg,
        rgba(13, 13, 13, 0.82) 0%,
        rgba(13, 13, 13, 0.9) 100%);
  }
  .module-row-desc {
    max-height: 200px;
    opacity: 1;
    margin: 0.85rem 0 0;
  }
  .module-row-content { max-width: 100%; margin-left: 0; }
}

/* ---- Diferenciais / Por que EvoHub ---- */
.feature-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--dark);
  border: 1px solid var(--dark-2);
  border-radius: 1rem;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-item:hover { border-color: var(--yellow); transform: translateY(-4px); }

.feature-item i {
  font-size: 1.6rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.feature-item h4 { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.feature-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---- Como funciona (2 acessos) ---- */
.access-card {
  background: var(--dark);
  border: 1px solid var(--dark-2);
  border-radius: 1.25rem;
  padding: 2.25rem;
  height: 100%;
  transition: border-color 0.3s;
}

.access-card:hover { border-color: var(--yellow); }

.access-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.access-card-head i { font-size: 1.8rem; color: var(--yellow); }
.access-card-head h3 { font-weight: 800; font-size: 1.25rem; margin: 0; }

.access-list { list-style: none; padding: 0; margin: 0; }
.access-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}
.access-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--yellow);
  font-size: 0.9rem;
}

/* ---- Modal (detalhamento do módulo) ---- */
.evohub-modal .modal-content {
  background: var(--dark);
  border: 1px solid rgba(255, 229, 0, 0.25);
  border-radius: 1.1rem;
  color: var(--white);
  overflow: hidden;
}

.evohub-modal .modal-header {
  border-bottom: 1px solid var(--dark-2);
  padding: 1.75rem 1.75rem 1.25rem;
  align-items: flex-start;
  gap: 1rem;
}

.evohub-modal .modal-header-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  background: rgba(255, 229, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.evohub-modal .modal-title {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
}

.evohub-modal .modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 0.25rem;
}

.evohub-modal .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.6;
  margin-top: 0.25rem;
}
.evohub-modal .btn-close:hover { opacity: 1; }

.evohub-modal .modal-body { padding: 1.5rem 1.75rem 1.75rem; }

.modal-lede {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.detail-group { margin-bottom: 1.75rem; }

.detail-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.9rem;
}

.detail-group-title i { font-size: 1rem; }

.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.55;
}
.detail-list li::before {
  content: "\F270";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--yellow);
  font-size: 0.9rem;
}

.detail-list.is-public li::before { content: "\F26E"; }

.law-box {
  background: rgba(255, 229, 0, 0.06);
  border: 1px solid rgba(255, 229, 0, 0.25);
  border-radius: 0.85rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.law-box i { color: var(--yellow); font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.law-box-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; color: #fff; }
.law-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tables-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.table-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background: var(--black);
  border: 1px solid var(--dark-2);
  border-radius: 0.4rem;
  padding: 0.2rem 0.6rem;
}

/* ---- Formulário de demonstração ---- */
.demo-section {
  background: linear-gradient(135deg, #1a1a00 0%, #000 70%);
  border-top: 1px solid rgba(255, 229, 0, 0.15);
}

.demo-card {
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--dark-2);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.demo-form label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
  display: block;
}

.demo-form .form-control,
.demo-form .form-select {
  background: var(--black);
  border: 1px solid var(--dark-2);
  color: #fff;
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus {
  background: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 0 0 0.2rem rgba(255, 229, 0, 0.15);
  color: #fff;
}

.demo-form .form-control::placeholder { color: rgba(255, 255, 255, 0.3); }

.demo-aside-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.demo-aside-item i { color: var(--yellow); font-size: 1.4rem; flex-shrink: 0; margin-top: 0.15rem; }
.demo-aside-item strong { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.demo-aside-item span { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; line-height: 1.55; }

.btn-whatsapp-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}
.btn-whatsapp-outline:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* ---- Ajustes responsivos ---- */
@media (max-width: 767.98px) {
  .evohub-hero { padding: 8rem 0 3.5rem; background-attachment: scroll; }
  .demo-card { padding: 1.75rem; }
  .access-card { padding: 1.75rem; }
  .hero-trust { gap: 1rem 1.5rem; }
}
