/*
  CloneFlow — ajustes do projeto & Otimizações Mobile-First & Performance
  ---------------------------------------------------------------------------
  Composição Simétrica da Hero, Cards Informativos, Efeitos Uiverse e Modal
*/

:root {
  /* Imagens da Hero */
  --hero-bg-desktop: url("/EDITAR-AQUI/novos-assets/foto-ia.jpg");
  --hero-bg-mobile:  url("/EDITAR-AQUI/novos-assets/foto-ia.jpg");

  /* Paleta Imersão IA */
  --cor-cyan: #00c7db;
  --cor-cyan-hover: #00b4c8;
  --cor-cyan-light: #5fcfe0;
  --cor-azul-btn: #275efe;
  --cor-insta: #e1306c;
}

/* Base Global */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #06080d;
  color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Hero Section & Layout Simétrico
   ========================================================================== */

.elementor-8463 .elementor-element.elementor-element-47ae78e {
  /* Neutraliza variáveis do Elementor (post-8463.css) que vazam para os
     filhos via herança de custom properties (--min-height, --padding-*) */
  --min-height: auto !important;
  --height: auto !important;
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px, env(safe-area-inset-left)) !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;

  /* Fundo Mobile: foto IA com gradiente escuro por cima (legibilidade) */
  background:
    linear-gradient(to bottom, rgba(6, 8, 13, 0.88) 0%, rgba(6, 8, 13, 0.72) 42%, rgba(6, 8, 13, 0.96) 100%),
    var(--hero-bg-mobile) no-repeat center top / cover !important;
}

/* Container interno com 2 colunas perfeitamente simétricas */
.elementor-8463 .elementor-element.elementor-element-47ae78e .e-con-inner {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  z-index: 2;
  gap: 32px;
}

/* Desktop: 2 Colunas Lado a Lado Equilibradas */
@media (min-width: 992px) {
  .elementor-8463 .elementor-element.elementor-element-47ae78e {
    justify-content: flex-start !important;
    height: 100vh;
    height: 100dvh;
    background:
      linear-gradient(to right, rgba(6, 8, 13, 0.97) 0%, rgba(6, 8, 13, 0.90) 42%, rgba(6, 8, 13, 0.62) 72%, rgba(6, 8, 13, 0.42) 100%),
      var(--hero-bg-desktop) no-repeat center right / cover !important;
    padding: 60px 48px 0 48px !important;
  }

  .elementor-8463 .elementor-element.elementor-element-47ae78e .e-con-inner {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 48px !important;
  }
}

/* ==========================================================================
   Coluna da Esquerda: Conteúdo
   ========================================================================== */

.elementor-8463 .elementor-element.elementor-element-b2cc1eb,
.elementor-element-b2cc1eb {
  width: 100% !important;
  max-width: 660px !important;
  flex: 1 1 54%;
  z-index: 3;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-top: 0 !important;
  --margin-top: 0px !important;
  padding-top: 0 !important;
}

/* Logo no Topo da Página */
.hero-top-nav {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
}

.logo-imersao-topo {
  max-width: 185px !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .hero-top-nav {
    justify-content: center;
    margin: 0 auto 16px auto;
  }
  .logo-imersao-topo {
    max-width: 160px !important;
  }
}

/* Badges de Data e Formato */
.hero-badges-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hero-badges-wrapper {
    gap: 10px;
  }
  .hero-badge-item {
    font-size: 12px;
    gap: 6px;
  }
}

.hero-badge-accent {
  background: none;
  border: none;
  color: #ffffff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cor-cyan-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--cor-cyan-light);
  animation: pulse-glow 2s infinite ease-in-out;
}

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

/* Headline Principal (H1) */
.elementor-element-c0d2d07 {
  margin-bottom: 16px !important;
}

.elementor-element-c0d2d07 .elementor-heading-title {
  font-family: "Inter", "Sora", sans-serif !important;
  font-size: clamp(2rem, 4.4vw, 3.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  color: #ffffff !important;
  letter-spacing: -0.6px !important;
  word-break: break-word;
  margin: 0 !important;
}

.destaque-cyan {
  color: var(--cor-cyan-light) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  display: inline;
}

/* Subtítulo */
.hero-copy-container {
  width: 100%;
  margin-bottom: 24px;
}

.hero-subtitulo {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 20px 0;
  font-weight: 400;
}

/* ==========================================================================
   Cards Informativos Visuais Confortáveis
   ========================================================================== */

.hero-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}

.card-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-info-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 199, 219, 0.3);
  transform: translateX(4px);
}

.card-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0, 199, 219, 0.12);
  border: 1px solid rgba(0, 199, 219, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cor-cyan-light);
}

.card-info-text {
  font-size: 15px;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.45;
  flex: 1;
  word-break: break-word;
}

/* ==========================================================================
   Área de Botões (CTA Principal + Instagram com Efeito Uiverse)
   ========================================================================== */

.hero-actions-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

/* Botão Principal Garantir Acesso */
.btn-cta-principal {
  background: linear-gradient(135deg, #00b4c8 0%, #0092a3 100%);
  color: #ffffff;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(0, 180, 200, 0.4);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-principal:hover {
  background: linear-gradient(135deg, #00c7db 0%, #00a4b6 100%);
  box-shadow: 0 14px 34px rgba(0, 199, 219, 0.55);
  transform: translateY(-2px);
}

.btn-cta-principal:active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   /* From Uiverse.io by SharpTH - Botão Instagram com Efeito Deslizante */
/* -------------------------------------------------------------------------- */

.btn-cssbuttons {
  --btn-color: #275efe;
  position: relative;
  padding: 16px 30px;
  font-family: Roboto, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1;
  color: white;
  background: none;
  border: none;
  border-radius: 28px;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  filter: drop-shadow(0 4px 14px rgba(39, 94, 254, 0.35));
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* Variação Instagram */
.btn-cssbuttons.btn-instagram {
  --btn-color: #1a2238;
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: drop-shadow(0 4px 14px rgba(225, 48, 108, 0.25));
}

.btn-cssbuttons::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--btn-color);
  border-radius: 28px;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-cssbuttons.btn-instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  opacity: 0.92;
}

.btn-cssbuttons > span,
.btn-cssbuttons > span > span {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-cssbuttons > span {
  transition-delay: 0.05s;
}

.btn-cssbuttons > span:first-child {
  padding-right: 7px;
}

.btn-cssbuttons > span > span {
  margin-left: 6px;
  font-weight: 700;
  color: #ffffff;
  transition-delay: 0.1s;
}

.btn-cssbuttons ul {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-cssbuttons ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.btn-cssbuttons ul li a,
.btn-cssbuttons ul li .btn-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translateY(55px);
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-cssbuttons:hover::before {
  transform: scale(1.15);
  opacity: 1;
}

.btn-cssbuttons:hover > span,
.btn-cssbuttons:hover > span > span {
  transform: translateY(-55px);
}

.btn-cssbuttons:hover ul li a,
.btn-cssbuttons:hover ul li .btn-icon-inner {
  transform: translateY(0);
}

.btn-cssbuttons:hover ul li:nth-child(1) a,
.btn-cssbuttons:hover ul li:nth-child(1) .btn-icon-inner {
  transition-delay: 0.15s;
}

@media (max-width: 767px) {
  .hero-actions-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .btn-cta-principal,
  .btn-cssbuttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    padding: 16px 20px;
  }
}

/* ==========================================================================
   Coluna da Direita: Foto Principal Simétrica
   ========================================================================== */

.hero-col-imagem {
  width: 100%;
  max-width: 640px;
  flex: 1 1 46%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-col-imagem {
    max-width: 700px !important;
    justify-content: center !important;
    align-items: flex-end !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: auto !important;
  }
}

.hero-foto-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Halo de luz ciano perfeitamente concêntrico com a foto */
.hero-foto-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 199, 219, 0.22) 0%, rgba(0, 199, 219, 0.06) 50%, transparent 70%);
  filter: blur(55px);
  z-index: -1;
  pointer-events: none;
}

.hero-foto-principal {
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: 88vh;
  display: block;
  object-fit: contain;
  object-position: bottom;
  margin: 0 auto;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.8));
  will-change: transform;
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .hero-foto-principal {
    max-width: 700px !important;
    max-height: 92vh !important;
  }
}

/* ==========================================================================
   Modal Popup Formulário (Fiel à imagem de referência)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 30px;
  width: 100%;
  max-width: 480px;
  padding: 42px 36px 36px 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0,0,0,0.1);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  color: #111827;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-title {
  font-family: "Inter", "Sora", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.modal-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
  padding: 0 8px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.form-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 18px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input::placeholder {
  color: #94a3b8;
}

.form-group input:focus {
  background: #ffffff;
  border-color: #00b4c8;
  outline: none;
  box-shadow: 0 0 0 3.5px rgba(0, 180, 200, 0.16);
}

.modal-btn-submit {
  width: 100%;
  box-sizing: border-box;
  padding: 17px 14px;
  margin-top: 6px;
  background: #1e3352;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 16.5px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 51, 82, 0.38);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.modal-btn-submit:hover {
  background: #26406a;
  box-shadow: 0 12px 30px rgba(30, 51, 82, 0.5);
  transform: translateY(-1px);
}

.modal-btn-submit:active {
  transform: scale(0.98);
}

.modal-security {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
