/* =====================================================
   MICROSAAS :: BASE LAYER
   Tokens + Reset + Utilities + Generic Components
===================================================== */

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* material-icons-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-icons-v145-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* =====================================================
   1. THEME TOKENS (Fallback)
===================================================== */

[ng-cloak] {
  display: none !important;
}

:root {

  /* COLORS */
  --color-primary: hsl(220 70% 25%);
  --color-primary-contrast: hsl(210 40% 98%);

  --color-accent: hsl(200 85% 45%);
  --color-accent-contrast: hsl(0 0% 100%);

  --color-background: hsl(210 20% 98%);
  --color-foreground: hsl(220 30% 15%);

  --color-muted: hsl(215 25% 93%);
  --color-muted-foreground: hsl(220 10% 45%);

  --color-destructive: hsl(0 75% 55%);

  /* TYPOGRAPHY */
  --font-primary: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;

  /* SPACING SCALE (FÁBRICA) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* RADIUS */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* SHADOW */
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,.08);
  --shadow-lg: 0 14px 40px rgba(0,0,0,.12);

  /* SURFACE */
  --color-surface: hsl(0 0% 100%);

  --color-border: hsl(220 15% 88%);
  --color-glow-primary: hsl(from var(--color-primary) h s l / 0.15);
  --color-glow-accent: hsl(from var(--color-accent) h s l / 0.12);

  --gradient-hero:
  radial-gradient(
    60vw circle at 50% -10%,
    var(--color-glow-primary) 0%,
    transparent 70%
  ),
  radial-gradient(
    40vw circle at 80% 20%,
    var(--color-glow-accent) 0%,
    transparent 70%
  ),
  var(--color-background);



}

/* =====================================================
   2. ICON SYSTEM
===================================================== */

.material-iconsxxx {
  display: inline-flex;
  vertical-align: middle;
  color: var(--color-primary);
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;

  display: inline-flex;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  color: var(--color-primary);

  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-20 { font-size: 20px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-30 { font-size: 30px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-100 { font-size: 100px; }




/* =====================================================
   3. RESET
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

body.menu-lock {
  overflow: hidden;
  touch-action: none;
}

/*
img {
  max-width: 100%;
  display: block;
}
  */

/* =====================================================
   APP LOADER GLOBAL
===================================================== */

.app-loader {
  position: fixed;
  inset: 0;
  background: transparent; /*var(--color-background);*/
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(0,0,0,.08);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =====================================================
   4. LAYOUT UTILITIES
===================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-muted-foreground);
}

/* =====================================================
   5. BUTTON SYSTEM
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;

  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}


.btn i {
  padding: 0;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
}

/* PRIMARY */

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.btn-primary i {
  color: var(--color-primary-contrast);
}

.btn-primary:hover {
  box-shadow: var(--shadow-sm);
}

/* ACCENT */

.btn-accent {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  box-shadow: var(--shadow-sm);
  padding: 12px 22px;
  font-weight: 600;
}

.btn-accent i {
  color: var(--color-accent-contrast);
}

.btn-accent:hover {
  box-shadow: var(--shadow-md);
}

/* OUTLINE */

.btn-outline {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
}

.btn-outline:hover {
  /*background: var(--color-muted);*/
  border-color: var(--color-primary);
}

.btn-outline i {
  /*color: var(--color-muted-foreground);*/
  color: var(--color-foreground);
}

/* FULL WIDTH */

.btn-full {
  width: 100%;
}

/* =====================================================
   6. GRID SYSTEM
===================================================== */

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* =====================================================
   7. CARD BASE
===================================================== */

.card {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  margin-bottom: var(--space-3);
}

/* =====================================================
   8. COOKIE BAR
===================================================== */

.msgcookie {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  max-width: 320px;
  padding: var(--space-5);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  font-size: .85em;
  text-align: justify;
}

.msgcookie button {
  margin-top: var(--space-3);
  background: var(--color-primary-contrast);
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}

.msgcookie i {
  color: var(--color-primary-contrast);
}
 
/* =====================================================
   MICROSAAS :: HEADER LAYER
   Estrutura padronizada para fábrica
===================================================== */


/* =====================================================
   HEADER BASE
===================================================== */

:root {
  --header-height: 80px;
}

.header {
  position: relative;
  background: var(--color-surface);
  border-bottom: 0px solid var(--color-muted);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.header--sticky {
  position: sticky;
  top: 0;
}

/* =====================================================
   CONTAINER
===================================================== */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

/* =====================================================
   LOGO
===================================================== */

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.header__logo img {
  width: 40px;
  height: 40px;
  padding: 3px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* =====================================================
   NAV DESKTOP
===================================================== */

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__nav a {
  font-weight: 500;
  text-decoration: none;
  color: var(--color-muted-foreground);
  transition: color .2s ease;
}

.header__nav a:hover {
  color: var(--color-primary);
}

/* alterado em 25/02/2026 */
.header__inner {
  display: flex;
  align-items: center;
}

.header__logo {
  margin-left: 10px;
}

.header__nav {
  margin-left: auto;
}

/* =====================================================
   CONTACT ICONS
===================================================== */

.header__contact-icons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header__contact-icon {
  border: none;
  background: var(--color-primary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;

  transition: transform .2s ease;
}

.header__contact-icon img {
  width: 20px;
  height: 20px;
  margin: 5px;
}

.header__contact-icon i {
  color: var(--color-muted);
  font-size: 20px;
  margin: 5px;
}  

.header__contact-icon:hover {
  transform: scale(1.05);
}

/* =====================================================
   LANGUAGE SWITCH
===================================================== */

.header__lang {
  display: flex;
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  overflow: hidden;
}

.header__lang button {
  padding: 6px 12px;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-muted-foreground);
  transition: background .2s ease, color .2s ease;
}

.header__lang button:hover {
  background: var(--color-muted);
}

.header__lang button.active {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

/* =====================================================
   ACTION BUTTONS
===================================================== */

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.header_btnmenu {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-background);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.header_btnmenu i {
  color: var(--color-primary);
}

/* =====================================================
   OVERLAY
===================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(1px);
  transition: opacity .2s ease;
  z-index: 40;
}

.menu-overlay.open {
  top: var(--header-height);
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1280px) {

  .header_btnmenu {
    display: flex;
  }

  .header__nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 260px;

    position: absolute;
    top: var(--header-height);
    right: 0;

    background: var(--color-background);
    padding: var(--space-5);
    gap: var(--space-4);

    border-left: 0px solid var(--color-muted);
    box-shadow: var(--shadow-md);
  }

  .header__nav.menu-open {
    display: flex;
  }

  .header__actions {
    width: 100%;
    flex-direction: column;
  }

  .header__actions .btn {
    width: 100%;
  }

  .header__lang {
    width: 100%;
  }

  .header__lang button {
    width: 33.333%;
  }
}

/* =====================================================
   HERO :: PADRÃO DEFINITIVO MICROSAAS
===================================================== */

.hero {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

/* Remove qualquer risco de overflow */
.hero,
.hero .container {
  max-width: 100%;
}

/* Glow sutil controlado */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--color-primary) 6%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Conteúdo acima do glow */
.hero .container {
  position: relative;
  z-index: 1;
}

/* ================= BADGE ================= */

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;

  background: color-mix(in srgb, var(--color-primary) 8%, white);
  color: var(--color-primary);

  margin-bottom: 24px;
}

/* ================= TITLE ================= */

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;

  max-width: 900px;
  margin: 0 auto 24px auto;
}

.hero-title span {
  display: block;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= SUBTITLE ================= */

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 40px auto;

  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;

  color: var(--color-muted-foreground);
}

/* ================= ACTIONS ================= */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* ================= BENEFITS (SEM PARECER BOTÃO) ================= */

.hero .grid {
  margin-top: 0;
  gap: 40px;
}

.hero-grid {
  max-width: 900px;
  margin: 0 auto 24px auto;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-5);
  
}

/* remove aparência de card */
.hero .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* layout clean */
.card-iconspan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.card-iconspan i {
  color: var(--color-primary);
}

.card-iconspan span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-foreground);
}

/* ================= MOBILE SAFE ================= */

@media (max-width: 768px) {

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .card-iconspan {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================
   MICROSAAS :: SECTION STRUCTURE LAYER
   Estrutura + tipografia + ritmo vertical
   Não altera grid nem cards
===================================================== */


/* =====================================================
   SECTION BASE
===================================================== */

.section {
  padding: var(--space-9) 0;
  position: relative;
  scroll-margin-top: var(--header-height);
}

/* =====================================================
   BACKGROUND VARIATIONS
===================================================== */

.section--default {
  background: var(--color-background);
}

.section--muted {
  background: var(--color-muted);
}

.section--gradient {
  background: var(--gradient-hero);
}


/* =====================================================
   SECTION HEADER WRAPPER
===================================================== */

.section-header {
  max-width: 820px;
  margin: 0 auto var(--space-7) auto;
  text-align: center;
  
}


/* =====================================================
   SECTION LABEL
===================================================== */

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: var(--section-accent, var(--color-primary));
}


/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;

  max-width: 720px;
  margin: 0 auto var(--space-4) auto;

  color: var(--color-foreground);
  text-wrap: balance;
}


/* =====================================================
   TITLE HIGHLIGHT
===================================================== */

.section-title__highlight {
  display: inline-block;
  margin-left: var(--space-2);
  font-weight: 650;

  background: linear-gradient(
    90deg,
    var(--section-accent, var(--color-primary)) 0%,
    var(--color-accent) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
}


/* =====================================================
   SECTION DESCRIPTION
===================================================== */

.section-description {
  font-size: clamp(1.05rem, 1.1vw, 1.15rem);
  line-height: 1.75;
  font-weight: 450;

  max-width: 720px;
  margin: 0 auto var(--space-2) auto;

  color: color-mix(
    in srgb,
    var(--color-foreground) 78%,
    transparent
  );
}


/* =====================================================
   SECTION FOOTER
===================================================== */

.section-footer {
  margin-top: var(--space-7);
}


/* =====================================================
   ACCENT SYSTEM (SEM DEPENDER DE ID)
===================================================== */

.section--problem {
  --section-accent: var(--color-destructive);
}

.section--solution {
  --section-accent: var(--color-primary);
}

.section--primary {
  --section-accent: var(--color-primary);
}

.section--cta {
  --section-accent: var(--color-accent);
}

.section--legal {
  --section-accent: var(--color-muted-foreground);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .section {
    padding: var(--space-8) 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    max-width: 100%;
  }

}

@media (max-width: 600px) {

  .section {
    padding: var(--space-7) 0;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

}

/* =====================================================
   MICROSAAS :: COMPONENT LAYER (PREMIUM SYSTEM)
   Normalizado • Sem alterar estrutura existente
===================================================== */


/* =====================================================
   PROBLEM :: tensão / alerta
===================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-5);
}

.problem-card {
  position: relative;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,1) 100%
  );

  border: 1px dashed color-mix(
    in srgb,
    var(--color-destructive) 35%,
    var(--color-muted)
  );

  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;

  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease;

  box-shadow: var(--shadow-sm);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-destructive);
  box-shadow: var(--shadow-md);
}

.problem-card__icon i {
  font-size: 48px;
  color: var(--color-destructive);
  margin-bottom: var(--space-4);
}

.problem-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.problem-card__text {
  line-height: 1.7;
  color: var(--color-muted-foreground);
}



/* =====================================================
   SOLUTION :: estabilidade / confiança
===================================================== */

/* =====================================================
   SOLUTION GRID :: 4 COLUNAS PADRÃO FÁBRICA
===================================================== */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-5);
}

/* Tablet */
@media (max-width: 1200px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}


.solution-card {
  position: relative;

  background: linear-gradient(
    180deg,
    var(--color-background) 0%,
    color-mix(in srgb, var(--color-accent) 3%, white) 100%
  );

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;

  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease;

  box-shadow: var(--shadow-sm);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.solution-card__icon i {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.solution-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.solution-card__text {
  line-height: 1.7;
  color: var(--color-muted-foreground);
}



/* =====================================================
   COMO FUNCIONA
===================================================== */

.comofunciona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  
  counter-reset: step;
  position: relative;
  margin-top: var(--space-7);
}

/* Tablet */
@media (max-width: 1200px) {
  .comofunciona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .comofunciona-grid {
    grid-template-columns: 1fr;
  }
}

#comofunciona .grid {
  counter-reset: step;
  position: relative;
  margin-top: var(--space-7);
}


@media (min-width: 1025px) {
  .comofunciona-grid::before {
    content: "";
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: 2px;
    background: color-mix(in srgb, var(--color-accent) 25%, transparent);
    opacity: .35;
    z-index: 0;
  }
}


.comofunciona-grid .card {
  position: relative;
  z-index: 1;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  padding: var(--space-8) var(--space-6) var(--space-7);

  transition: transform .3s ease,
              box-shadow .3s ease,
              border-color .3s ease;

  box-shadow: var(--shadow-sm);
}

#comofunciona .card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.comofunciona-grid .card::before {
  content: counter(step);
  counter-increment: step;

  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-weight: 700;
  font-size: .9rem;

  background: var(--color-accent);
  color: white;

  box-shadow: var(--shadow-md);
}



/* =====================================================
   RECURSOS
===================================================== */

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-5);
}

/* Tablet */
@media (max-width: 1200px) {
  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .recursos-grid {
    grid-template-columns: 1fr;
  }
}

#recursos .grid {
  gap: var(--space-6);
  margin-top: var(--space-5);
}

#recursos .card {
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);

  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease;

  box-shadow: var(--shadow-sm);
}

#recursosxxx .card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

#recursosxxxx .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
}



/* =====================================================
   CLAREZA
===================================================== */

#clareza .grid {
  gap: var(--space-6);
  margin-top: var(--space-5);
}

#clareza .card {
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

#clareza .card:first-child {
  border-left: 4px solid var(--color-primary);
}

#clareza .card-danger {
  border-left: 4px solid var(--color-destructive);
  background: linear-gradient(
    180deg,
    white 0%,
    color-mix(in srgb, var(--color-destructive) 4%, white) 100%
  );
}



/* =====================================================
   PLANOS — Premium Normalizado 10/10
===================================================== */

/* ================= WRAPPER ================= */

.planos-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* ================= CARD ================= */

.plano {
  display: flex;
  flex-direction: column;

  padding: 24px;
  border-radius: var(--radius-lg);

  background: #fff;
  border: 1px solid var(--color-border);

  box-shadow: var(--shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.plano:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: hsl(220 20% 85%);
}

/* ================= DESTAQUE ================= */

.plano-destaque {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* ================= HEADER ================= */

.plano-header {
  margin-bottom: 12px;
}

.plano-nome {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.plano-preco {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  margin-bottom: 8px;
}

.plano-descricao {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--color-muted-foreground);
}

/* ================= LISTA ================= */

.plano-limites {
  list-style: none;
  padding: 0;
  margin: 16px 0 16px 0;
  font-size: .9rem;
}

.plano-limites li {
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 0px solid var(--color-muted);
}

.plano-limites li:last-child {
  border-bottom: none;
}

.plano-limites li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}

/* ================= OBSERVAÇÃO CARD ================= */

.plano-observacao {
  font-size: .82rem;
  color: var(--color-muted-foreground);
  margin-bottom: 16px;
}

/* ================= OBSERVAÇÃO GERAL ================= */

.planos-observacoes {
  max-width: 720px;
  margin: 8px auto 0 auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}

/* ================= BOTÃO ================= */

.plano .btn {
  margin-top: auto;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 1024px) {
  .planos-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .planos-wrapper {
    grid-template-columns: 1fr;
  }
}



/* =====================================================
   MODULOS — premium sólido equilibrado
===================================================== */

#modulos .card {
  position: relative;

  border-radius: 22px;
  padding: 48px 34px;

  background: linear-gradient(
    180deg,
    white 0%,
    color-mix(in srgb, var(--color-primary) 3%, white) 100%
  );

  border: 1px solid color-mix(
    in srgb,
    var(--color-primary) 12%,
    var(--color-muted)
  );

  box-shadow: 0 6px 18px rgba(0,0,0,.04);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

/* linha superior sutil (identidade visual) */
#modulos .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: .85;
}

#modulos .card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* Ícone mais presente */
#modulos .card-icon i {
  font-size: 44px;
  color: var(--color-primary);
  margin-bottom: 18px;
}

/* ================= LISTA ================= */

.modulo-capacidades {
  list-style: none;
  margin-top: 20px;
  padding: 0;

  font-size: .92rem;
  line-height: 1.6;
}

.modulo-capacidades li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;

  color: var(--color-muted-foreground);
}

.modulo-capacidades li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

/* contador de extras */
.modulo-mais {
  margin-top: 6px;
  font-weight: 600;
  color: var(--color-primary);
}



/* =====================================================
   SOBRE — institucional sólido e adaptável ao tema
===================================================== */

.sobre-container {
  margin-top: var(--space-6);
}

/* =====================================================
   TOPO (texto + logo)
===================================================== */

.sobre-topo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-8);
}

/* ===== TEXTOS ===== */

.sobre-textos {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-muted-foreground);
}

.sobre-textos p + p {
  margin-top: 18px;
}

/* ===================================================== 
   LOGO CARD — FUNDO FORTE (suporta logo branco)
===================================================== */

.sobre__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /*padding: 54px 42px;*/
  border-radius: 28px;
  padding: 10px;
  min-height: 150px;

  /* Fundo totalmente dependente do tema */
  background: var(--color-primary);

  /* leve profundidade */
  box-shadow: 0 20px 50px rgba(0,0,0,.12);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .3s ease,
              box-shadow .3s ease;
}

.sobre__logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}  

.sobre__logo a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-primary-contrast);
}

.sobre__logo img {
  width: 70px;
  height: 70px;
  padding: 3px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* =====================================================
   MÉTRICAS
===================================================== */

.sobre-metricas {
  margin-top: var(--space-7);
}

.sobre-card {
  position: relative;
  padding: 48px 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    white 0%,
    color-mix(in srgb, var(--color-primary) 2%, white) 100%
  );

  border: 1px solid color-mix(
    in srgb,
    var(--color-primary) 15%,
    var(--color-muted)
  );

  box-shadow: 0 8px 24px rgba(0,0,0,.05);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.sobre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.sobre-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* ===== ÍCONE ===== */

.sobre-icon i {
  font-size: 44px;
  color: var(--color-primary);
  margin-bottom: 16px;
  opacity: .95;
}

/* ===== MÉTRICA ===== */

.metric-valor {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin: 12px 0 6px 0;
}

.metric-descricao {
  font-size: .95rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* =====================================================
   SOBRE — link externo institucional
===================================================== */

.sobre-logo-card {
  position: relative;
  cursor: pointer;
}

/* ícone no canto */
.sobre-logo-link {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);

  transition: background .25s ease,
              transform .25s ease;
}

.sobre-logo-link i {
  color: white;
  font-size: 18px;
  opacity: .9;
}

.sobre-logo-card:hover .sobre-logo-link {
  background: rgba(255,255,255,.25);
  transform: scale(1.1);
}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 900px) {

  .sobre-topo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre__logo {
    margin-top: var(--space-6);
  }

}



/* =====================================================
   CTA — bloco de conversão forte
===================================================== */

.section--cta {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary) 6%, white) 0%,
    color-mix(in srgb, var(--color-accent) 4%, white) 100%
  );
}

.cta-container {
  max-width: 820px;
  margin: 0 auto;
}

/* ===== TÍTULO ===== */

/* =====================================================
   CTA — título com gradiente forte
===================================================== */

.cta-title {
  font-size: clamp(2.4rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* reforço visual específico do CTA */
#cta .text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-accent) 60%,
    var(--color-primary) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-size: 200% 100%;
}


/* ===== TEXTOS ===== */

.cta-textos {
  margin: 28px 0 40px 0;
}

.cta-textos p + p {
  margin-top: 14px;
}

/* ===== BOTÃO ===== */

.btn-cta {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* ===== OBS ===== */

.cta-observacao {
  margin-top: 22px;
  font-size: .85rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   LEGAL — institucional sóbrio
===================================================== */

.section--legal {
  --section-accent: var(--color-muted-foreground);
}

/* container centralizado */
.legal-container {
  max-width: 820px;
  margin: 0 auto;
}

/* ===== TEXTOS ===== */

.legal-textos {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--color-muted-foreground);
}

.legal-textos p + p {
  margin-top: 16px;
}

/* ===== LISTA ===== */

.legal-list {
  margin: 24px 0;
  padding-left: 20px;

  font-size: .92rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
}

.legal-list li + li {
  margin-top: 8px;
}

/* ===== RODAPÉ ===== */

.legal-rodape {
  margin-top: 32px;
  font-size: .85rem;
  color: var(--color-muted-foreground);
  opacity: .85;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

  .problem-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .problem-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

  .problem-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planos-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .problem-grid,
  .solution-grid,
  .planos-wrapper {
    grid-template-columns: 1fr;
  }

}

/* =====================================================
   MICROSAAS :: FOOTER LAYER
   Isolado e sem dependência cruzada
===================================================== */


/* =====================================================
   FOOTER BASE
===================================================== */

.footer {
  background: var(--color-background);
  border-top: 0px solid var(--color-muted);
  padding: 60px 0 30px 0;
}

/* =====================================================
   FOOTER GRID
===================================================== */

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* =====================================================
   BRAND AREA
===================================================== */

.footer-brand strong {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}

/* =====================================================
   COLUMNS
===================================================== */

.footer-col h4 {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--color-muted-foreground);
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

/* =====================================================
   CONTACT ICONS
===================================================== */

.footer-contact {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-icon {
  border: none;
  background: var(--color-primary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform .2s ease;
}

.footer-icon img {
  width: 20px;
  height: 20px;
  margin: 5px;
}

.footer-icon:hover {
  transform: scale(1.08);
}

.footer-contact-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   COPYRIGHT
===================================================== */

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 0px solid var(--color-muted);
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

}

@media (max-width: 600px) {

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 50px 0 25px 0;
  }

  .footer-bottom {
    margin-top: 40px;
  }
}

body.dark {

  /* BASE */
  --color-background: hsl(0 0% 6%);
  --color-surface: hsl(0 0% 6%);
  --color-border: hsl(0 0% 22%);

  /* TEXTO */
  --color-foreground: hsl(0 0% 92%);
  --color-muted-foreground: hsl(0 0% 65%);

  /* INPUT */
  --color-input-bg: hsl(0 0% 14%);
  --color-input-bg-focus: hsl(0 0% 18%);

  /* DESTAQUE (CTA) */
  --color-primary: hsl(0 0% 35%);
  --color-accent: hsl(0 0% 35%);

  /*
  --color-muted: hsl(0 0% 92%);
  --color-muted-foreground: hsl(0 0% 92%);
  */

  --color-glow-primary: hsl(from var(--color-background) h s l / 0.85);
  --color-glow-accent: hsl(from var(--color-foreground) h s l / 0.12);

    --gradient-hero:
  radial-gradient(
    60vw circle at 50% -10%,
    var(--color-glow-primary) 0%,
    transparent 70%
  ),
  radial-gradient(
    40vw circle at 80% 20%,
    var(--color-glow-accent) 0%,
    transparent 70%
  ),
  var(--color-background);
}

body.dark .text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-muted)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .section--muted {
  background: var(--color-background);
}
body.dark .section--cta  {
  background: var(--color-background);
}

body.dark .header__logo a {
  color: var(--color-foreground);
}

body.dark .header__logo img {
color: var(--color-foreground);
}

body.dark .problem-card {
  background: var(--color-background);
}

body.dark .solution-card{
  background: var(--color-background);
}

body.dark #clareza .card-danger{
  background: var(--color-background);
}

body.dark .plano{
  background: var(--color-background);
}

body.dark #modulos .card {
  background: var(--color-background);
}

body.dark .sobre-card{
  background: var(--color-background);
}