:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --card: #ffffff;
  --text: #1c2333;
  --muted: #667085;
  --line: #e9ecf2;
  --primary: #2251ff;
  --primary-dark: #1639c9;
  --green: #22c5c0;
  --verde: #22c5c0;
  --green-dark: #169e9a;
  --accent: #00c48c;
  --white: #ffffff;
  --white-hover: #f2f2f2;
  --container: 1120px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
  --azul-claro: #f8fbff;
  --cinza-azulado: #f3f7fb;
  --azul-escuro: #0f172a;

  --surface: hsl(0 0% 95%);
  --border: hsl(0 0% 0% / .08);
  --shadow: 0 8px 24px hsl(222 50% 10% / .08), 0 2px 8px hsl(222 50% 10% / .06);

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
             Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", 
             "Segoe UI Emoji";
  color: var(--text);
  background: #f7f9fc;
  line-height: 1.5;
}



img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 16px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(34, 81, 255, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-secondary:hover {
  background: var(--white-hover);
  border: 1px solid rgba(255,255,255,0.28);
}

.btn-outline {
  background: transparent;
  border: 1px solid #d6dbe7;
  color: var(--text);
}
.btn-outline i {
  margin-right: 5px;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 36px;
}

/*banner cor fixo*/
/*.hero {
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)),
    url('https://forecastweb.com.br/vault/portfolio/notebook.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 32px 0 72px;
  overflow: hidden;
}*/

/*banner com degrade suave na parte inferior*/
.hero {
  position: relative;
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)),
    url('https://forecastweb.com.br/vault/portfolio/notebook.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 32px 0 100px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(to top, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
  pointer-events: none;
}


.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 26px;
}

.brand {
  width: 150px;
}

.brand span {
  color: #91a8ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #d8def3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 720px;
}

.hero p.lead {
  font-size: 19px;
  color: #d9def0;
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions a i {
  margin-right: 5px;
}



.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.hero-point {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  color: #e7ebfa;
}

.hero-visual img {
  border-radius: var(--radius);
}

.problem-grid,
.split-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}



.check-list {
  list-style: none;
  margin-top: 18px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #475467;
  font-size: 16px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.compare-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-box {
  border-radius: 16px;
  padding: 18px;
  min-height: 220px;
}

.compare-box.bad {
  background: #fff5f5;
  border: 1px solid #ffd8d8;
}

.compare-box.good {
  background: #f3fff9;
  border: 1px solid #cbf1df;
}

.compare-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.compare-box ul {
  list-style: none;
}

.compare-box li {
  margin-bottom: 10px;
  color: #475467;
  font-size: 15px;
}




.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-wrap h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.form-wrap p {
  color: var(--muted);
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #344054;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7ddea;
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9cb0ff;
  box-shadow: 0 0 0 4px rgba(34, 81, 255, 0.10);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.cta-section {
  background: linear-gradient(180deg, #0f1631 0%, #101a3b 100%);
  color: #fff;
}



.footer {
  background: #0b1020;
  color: #cdd5ea;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero-grid,
  .problem-grid,
  .split-grid,
  .cta-grid,
  .cards,
  .portfolio-grid,
  .steps,
  .proof-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    position: relative;
    right: 0;
    bottom: 0;
    margin: 18px auto 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 56px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-box h2 {
    font-size: 30px;
  }

  .preview-hero {
    grid-template-columns: 1fr;
  }

  .compare-card {
    grid-template-columns: 1fr;
  }
}



/*---------- N8N CHAT CUSTOM ----------*/
:root {
  /* fonte padrão */
  --chat--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* dimensões da janela */
  --chat--window--width: 380px;
  --chat--window--height: 70vh;
  --chat--window--border-radius: 14px;
  --chat--window--box-shadow: 0 8px 24px rgba(0,0,0,.15);

  /* ===== HEADER REDUZIDO ===== */
  --chat--header--background: var(--verde);  /* verde mais profissional */
  --chat--header--color: #ffffff;

  /* Altura total MUITO mais compacta */
  --chat--header--padding-y: 10px;  /* Antes: 14px */
  --chat--header--padding-x: 16px;

  /* Título */
  --chat--heading--font-size: 18px;   /* antes 20–24px */
  --chat--font-size-2xl: 18px;
  --chat--font-size-xl: 18px;
  --chat--heading-1-font-size: 18px;
  --chat--h1--font-size: 18px;

  /* Subtítulo ficou vazio, mas deixamos minúsculo caso apareça */
  --chat--subtitle--font-size: 0px;
  --chat--subtitle--line-height: 0;

  /* background geral */
  --chat--background: #f5f5f5;

  /* Mensagens */
  --chat--message--assistant--background: #ffffff;
  --chat--message--assistant--color: #111;
  
  --chat--message--user--background: var(--verde);
  --chat--message--user--color: #ffffff;
  --chat--message--user--border-radius: 12px;

  /* Input */
  --chat--input--background: #ffffff;
  --chat--input--color: #111;
  --chat--input--font-size: 16px;

  /* Botão flutuante */
  --chat--toggle--background: var(--verde);
  --chat--toggle--hover--background: hsl(168 100% 25% / .75);
  --chat--toggle--border-radius: 999px;
  --chat--toggle--width: 48px;
  --chat--toggle--height: 48px;
}
.chat-footer {
  margin-top: 0;
  padding-top: 0;
}


/* Banner de cookies – barra inferior */

.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  max-width: 960px;
  margin-inline: auto;
  z-index: 9999;
  background: color-mix(in srgb, var(--surface) 95%, #000 0%);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  font-size: 13px;
  color: var(--muted);
  display: none; /* aparece via JS */
}

.cookie-banner-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-main {
  flex: 1 1 260px;
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.cookie-banner-text {
  margin: 0 0 6px;
}

.cookie-banner-link,
.cookie-banner-link-sm {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link-sm {
  text-decoration: none;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Preferências (drop-down) */

.cookie-banner-preferences {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed color-mix(in srgb, var(--border) 80%, transparent);
  display: none;
  gap: 10px;
  flex-direction: column;
}

.cookie-banner-subtitle {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-pref-item p {
  margin: 2px 0 0;
  font-size: 12px;
}

.cookie-pref-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  white-space: nowrap;
}

.cookie-pref-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

/* Toggle switch */

.cookie-toggle {
  position: relative;
  width: 34px;
  height: 18px;
  display: inline-block;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 999px;
  transition: 0.2s;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background-color: var(--surface);
  transition: 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: color-mix(in srgb, var(--green) 70%, transparent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(16px);
}

/* Ajustes mobile */

@media (max-width: 600px) {
  .cookie-banner {
    inset-inline: 8px;
    bottom: 8px;
    padding: 12px 12px 10px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}



/*botão de whatsapp canto inferior lado direito */
.whatsapp {
  position: fixed;
  right: 15px;
  bottom: 90px;
  z-index: 8888;
}

.whatsapp a {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp a:hover {
  background-color: #1ebe5d;
  animation: whatsappShake 0.5s ease;
}

@keyframes whatsappShake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
  .whatsapp {
    right: 15px;
    bottom: 75px;
  }

  .whatsapp a {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
}


/* botão do chat n8n */
#n8n-chat .chat-window-toggle {
  position: fixed !important;
  right: 15px !important;
  bottom: 20px !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 50% !important;
}

#n8n-chat .chat-window-wrapper {
  z-index: 8888 !important;
}

#n8n-chat .chat-window-toggle svg {
  width: 28px !important;
  height: 28px !important;
}

@media (max-width: 768px) {
  #n8n-chat .chat-window-toggle {
    right: 15px !important;
    bottom: 15px !important;
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
  }

  #n8n-chat .chat-window-toggle svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/*esconder o icone inicial*/
#n8n-chat .chat-window-toggle svg {
  display: none !important;
}

/*trocar pelo icone awesome*/
#n8n-chat .chat-window-toggle::before {
  content: "\f27a"; /* fa-commenting - Font Awesome 4 */
  font-family: FontAwesome;
  font-size: 26px;
  color: #fff;
}

/*animação tipo shake*/
#n8n-chat .chat-window-toggle {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#n8n-chat .chat-window-toggle:hover {
  animation: chatShake 0.5s ease;
}

@keyframes chatShake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}


/*janela do chat*/
.chat-layout .chat-header h1 {
  font-size: 22px !important;
  font-weight: 500 !important;
}
.chat-layout .chat-header {
  padding: 15px !important;
  text-align: center;
}


/*recapcha*/
.grecaptcha-badge {
  bottom: 140px !important;
}
@media only screen and (min-width: 768px) {
  .grecaptcha-badge {
    bottom: 160px !important;
  }
}


/*footer*/
footer .link a:hover {
  color: var(--green);
  transition: 0.2s ease;
}
@media only screen and (max-width: 1024px) {
  footer .link {
    padding-right: 65px;
  }
}