/* ============================================================
   AxiomWeb — Melhorias Visuais e de Conversão
   Arquivo incremental: não altera estrutura base
   ============================================================ */

/* ----------------------------------------------------------
   1. HERO: layout dividido — texto esquerda, imagem direita
   ---------------------------------------------------------- */
.hero-3 .hero-container {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), #000 28%) 0%,
    var(--accent-color) 60%,
    color-mix(in srgb, var(--accent-color), #2986cc 35%) 100%
  );
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* fade para o fundo da página na transição para os cards */
.hero-3 .hero-container .hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--background-color));
  pointer-events: none;
}

.hero-3 .hero-container .hero-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero-3 .hero-container h1 {
  color: #ffffff;
  font-size: 3rem;
}

.hero-3 .hero-container p,
.hero-3 .hero-container span {
  color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------------
   2. HERO: espaçamento entre texto e botões CTA
   ---------------------------------------------------------- */
.hero-3 .hero-container .hero-content .cta-buttons {
  margin-top: 40px;
}

/* imagem direita: sombra colorida + animação suave */
.hero-3 .hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3 .hero-product-img {
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.35))
          drop-shadow(0 0 80px color-mix(in srgb, var(--accent-color), transparent 55%));
  animation: heroFloat 5s ease-in-out infinite;
  max-width: 92%;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-3 .hero-image-col {
  position: relative;
  z-index: 0;
}

@media (min-width: 992px) {
  .hero-3 .hero-image-col {
    margin-right: -60px;
  }
  .hero-3 .hero-product-img {
    max-width: 110%;
  }
}

@media (max-width: 991px) {
  .hero-3 .hero-container {
    text-align: center;
    padding: 100px 0 60px;
  }
  .hero-3 .hero-container .hero-content {
    text-align: center;
  }
  .hero-3 .hero-product-img {
    max-width: 80%;
    margin-top: 40px;
  }
}

/* ----------------------------------------------------------
   3. MOCKUPS LAPTOP: sem shadow/radius (já têm frame próprio)
   ---------------------------------------------------------- */
img[src*="-laptop"] {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ----------------------------------------------------------
   4. MOCKUPS PHONE ASSEIO: limitar a 65% do container
   ---------------------------------------------------------- */
.asseio-page img[src*="axio-asseio-phone"],
img[src*="asseio-resumo-phone"] {
  width: 65% !important;
  height: auto !important;
  display: block;
  margin: auto;
}

/* ----------------------------------------------------------
   4. FEATURES 3: tamanho dos mockups no painel lateral
   ---------------------------------------------------------- */
.features-3 .feature-image img {
  width: 65%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* ----------------------------------------------------------
   4. HIGHLIGHT CARDS: seta visual nos itens de lista
   ---------------------------------------------------------- */
.highlight-item p {
  position: relative;
  padding-left: 18px;
  text-align: left;
  font-size: 0.9rem;
  margin-bottom: 5px !important;
}

.highlight-item p::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   4. ABOUT: reduzir padding-bottom excessivo
   ---------------------------------------------------------- */
.about {
  padding-bottom: 70px !important;
}

/* ----------------------------------------------------------
   5. FEATURES 2: microinteração nos ícones
   ---------------------------------------------------------- */
.features-2 .feature-item {
  transition: all 0.3s ease;
}

.features-2 .feature-item:hover .feature-icon {
  background-color: var(--accent-color);
}

.features-2 .feature-item:hover .feature-icon i {
  color: var(--contrast-color);
}

/* ----------------------------------------------------------
   6. CALL TO ACTION: fundo gradiente sutil
   ---------------------------------------------------------- */
.call-to-action {
  background: linear-gradient(
    180deg,
    var(--background-color) 0%,
    color-mix(in srgb, var(--accent-color), transparent 94%) 100%
  );
}

.call-to-action .scribble {
  opacity: 0.06;
}


/* ----------------------------------------------------------
   7. FORMULÁRIO DE INSCRIÇÃO: substituir inline styles
   ---------------------------------------------------------- */
.form-inscricao {
  background: var(--accent-color) !important;
  padding: 60px 0 !important;
}

.form-inscricao .form-wrapper {
  border-radius: 12px !important;
}

.form-inscricao .form-wrapper h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--heading-color);
}

.form-inscricao .form-wrapper h3 {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
}

.form-inscricao .btn-submit {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  border: none;
  color: var(--contrast-color);
  padding: 14px 48px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.form-inscricao .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), black 22%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ----------------------------------------------------------
   8. STATS BANNER: barra de social proof
   ---------------------------------------------------------- */
.stats-banner {
  background: var(--accent-color);
  padding: 48px 0;
}

.stats-banner .stat-item h3 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-banner .stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  margin: 0;
}

.stats-banner .stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.stats-banner .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
  .stats-banner .stat-item:not(:last-child)::after {
    display: none;
  }

  .stats-banner .stat-item {
    padding: 16px 0;
  }
}

/* ----------------------------------------------------------
   9. SEÇÕES: separadores visuais mais claros entre seções
   ---------------------------------------------------------- */
.features-2 {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

/* ----------------------------------------------------------
   10. FOOTER: newsletter input focus
   ---------------------------------------------------------- */
.footer .newsletter-form input:focus {
  outline: none;
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* ----------------------------------------------------------
   11. STEP CARDS: hover mais pronunciado
   ---------------------------------------------------------- */
.steps .step-card:hover h3 {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

/* ----------------------------------------------------------
   12. FEATURES 3: badge com mais destaque
   ---------------------------------------------------------- */
.features-3 .feature-badge {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* ----------------------------------------------------------
   13. BTN-CTA GLOBAL: expande o escopo para fora de .about
   ---------------------------------------------------------- */
a.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

a.btn-cta:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

a.btn-cta i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

a.btn-cta:hover i {
  transform: translateX(3px);
}


/* ----------------------------------------------------------
   14. SCREEN MOCKUP: frame de navegador para screenshots de produto
   ---------------------------------------------------------- */
.screen-mockup {
  position: relative;
  border-radius: 10px 10px 8px 8px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  background: #e8e8ec;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* barra do navegador */
.screen-mockup::before {
  content: "";
  display: block;
  height: 28px;
  background: #e8e8ec;
  border-bottom: 1px solid #d0d0d8;
  flex-shrink: 0;
}

/* dots macOS */
.screen-mockup::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 18px 0 0 #febc2e, 36px 0 0 #28c840;
  pointer-events: none;
}

.screen-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 6px 6px;
}

.about-image .screen-mockup:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ----------------------------------------------------------
   14. ABOUT REVERSO: conteúdo à esquerda, imagem à direita
   ---------------------------------------------------------- */
.about-rev .content {
  padding-left: 0;
  padding-right: 60px;
}

@media (max-width: 991px) {
  .about-rev .content {
    padding-right: 0;
  }
}

/* section-badge reutilizável em seções about */
.about .content .section-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

/* ----------------------------------------------------------
   15. PRICING CARDS: altura estável ao trocar modalidade
   ---------------------------------------------------------- */
.pricing .pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing .pricing-card .features-list {
  flex: 1;
  min-height: 285px;
}

.pricing .pricing-card .btn-plan {
  margin-top: auto;
}

/* ----------------------------------------------------------
   16. SCROLL TOP: posição não conflita com WhatsApp
   ---------------------------------------------------------- */
.scroll-top {
  right: 15px;
  bottom: 80px;
}

/* ----------------------------------------------------------
   17. RISCO PAGE — hero-4: imagem maior + showcase com ícones
   ---------------------------------------------------------- */
.risco-page .hero-4 .hero-left .model-container .main-model {
  max-height: 780px;
}

.risco-page .hero-4 .hero-left .model-container .product-showcase {
  width: 210px;
  gap: 8px;
}

.risco-page .hero-4 .hero-left .model-container .product-showcase .showcase-item {
  padding: 9px 10px;
  box-shadow: 0 8px 24px rgba(33, 93, 142, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.risco-page .hero-4 .hero-left .model-container .product-showcase .showcase-item .item-image {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.risco-page .hero-4 .hero-left .model-container .product-showcase .showcase-item .item-details h4 {
  font-size: 13px;
}

.hero-4 .hero-left .model-container .product-showcase .showcase-item .item-image i {
  font-size: 1.6rem;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

/* ----------------------------------------------------------
   18. RISCO PAGE — CTA: ícone de risco + botão invertido
   ---------------------------------------------------------- */
.services-3 .cta-wrapper .cta-box .cta-image i {
  font-size: 6rem;
  color: var(--contrast-color);
  display: block;
  line-height: 1;
  opacity: 0.92;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.20));
}

a.btn-cta.btn-cta-filled {
  background: var(--contrast-color);
  border-color: var(--contrast-color);
  color: var(--accent-color);
}

a.btn-cta.btn-cta-filled:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------------------------------
   18. ABOUT SECTIONS — phones a 65% (axio-mobile sections)
   ---------------------------------------------------------- */
#sec-asseio-mobile .about-image img,
#sec-risco-mobile .about-image img,
#sec-imoveis .about-image img,
#sec-clientes-mobile .about-image img {
  width: 65% !important;
  height: auto !important;
  display: block;
  margin: auto;
}

/* ----------------------------------------------------------
   18. FEATURES-9: ícones grandes no lugar de imagens
   ---------------------------------------------------------- */
.features-9 .icon-wrapper i {
  font-size: 3.2rem;
  color: var(--accent-color);
  transition: transform 0.4s ease-out, color 0.3s ease;
  display: block;
  line-height: 1;
}

.features-9 .feature-card:hover .icon-wrapper i {
  transform: scale(1.15);
  color: color-mix(in srgb, var(--accent-color), #000 15%);
}

/* ----------------------------------------------------------
   18. HERO-6 AXIO MOBILE: dois phones lado a lado escalonados
   ---------------------------------------------------------- */
.hero-6 .hero-image-container .hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}

.hero-6 .hero-image-container .hero-phones .device-image {
  width: calc(50% - 6px);
  height: auto;
  margin: 0;
  display: block;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.30));
}

/* esquerda: sobe, direita: desce — efeito escalonado */
.hero-6 .hero-image-container .hero-phones .device-left {
  transform: translateY(-28px);
}

.hero-6 .hero-image-container .hero-phones .device-right {
  transform: translateY(28px);
}

@media (min-width: 768px) {
  .hero-6 .hero-image-container .hero-phones {
    gap: 20px;
    width: 100%;
  }

  .hero-6 .hero-image-container .hero-phones .device-image {
    width: calc(50% - 10px);
  }

  .hero-6 .hero-image-container .hero-phones .device-left {
    transform: translateY(-36px);
  }

  .hero-6 .hero-image-container .hero-phones .device-right {
    transform: translateY(36px);
  }
}

/* ----------------------------------------------------------
   18. FEATURES-8: imagem fluida com glow e hover lift
   ---------------------------------------------------------- */
.features-8 .featured-image-container {
  position: relative;
  z-index: 1;
}

/* blob decorativo atrás da imagem */
.features-8 .featured-image-container::before {
  content: "";
  position: absolute;
  inset: -30px -20px;
  background: radial-gradient(
    ellipse at 55% 45%,
    color-mix(in srgb, var(--accent-color), transparent 80%) 0%,
    transparent 68%
  );
  border-radius: 40px;
  z-index: -1;
  pointer-events: none;
}

.features-8 .featured-image-container img {
  border-radius: 18px;
  box-shadow:
    0 24px 56px rgba(33, 93, 142, 0.14),
    0 0 0 1px rgba(33, 93, 142, 0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
  width: 100%;
}

.features-8 .featured-image-container:hover img {
  transform: translateY(-7px);
  box-shadow:
    0 40px 80px rgba(33, 93, 142, 0.20),
    0 0 0 1px rgba(33, 93, 142, 0.10);
}

/* badge flutua independente do hover da imagem */
.features-8 .featured-image-container .floating-badge {
  transition: transform 0.4s ease;
}

.features-8 .featured-image-container:hover .floating-badge {
  transform: translateY(-7px);
}

/* ============================================================
   Sobre — Valor Cards (features section)
   ============================================================ */
.valor-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px 32px;
  height: 100%;
  text-align: center;
  border: 1px solid rgba(33, 93, 142, 0.10);
  box-shadow:
    0 4px 20px rgba(33, 93, 142, 0.07),
    0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.valor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #2986cc 40%));
  border-radius: 14px 14px 0 0;
}

.valor-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 40px rgba(33, 93, 142, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(33, 93, 142, 0.22);
}

.valor-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.valor-icon i {
  font-size: 1.9rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.valor-card:hover .valor-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 78%);
  transform: scale(1.08);
}

.valor-card:hover .valor-icon i {
  transform: scale(1.12);
}

.valor-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.valor-card p {
  font-size: 0.9rem;
  color: var(--default-color);
  opacity: 0.82;
  line-height: 1.6;
  margin-bottom: 0;
}
