/* ===========================
   SGMAN - Global Styles (Modern)
   =========================== */

/* Fontes do sistema — sem requisição externa ao Google Fonts.
   Cada SO/navegador resolve para sua fonte nativa (San Francisco no
   macOS/iOS/Safari, Segoe UI no Windows, Roboto no Android/Chrome OS). */
:root {
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --primary: #0a0f1e;
  --secondary: #0d1b35;
  --accent: #00e5a0;
  --accent2: #2563eb;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --border: rgba(255,255,255,0.08);
}

body {
  font: 15px/1.5 var(--font-body);
  background: var(--primary);
  color: var(--text);
}

#hubspot-messages-iframe-container { z-index: 1 !important; }

/* ── Nav scroll effect ─────────────────────────── */

.blur-nav {
  backdrop-filter: blur(20px) saturate(180%);
  background-color: rgba(10,15,30,0.88) !important;
}

nav { transition: all 0.4s ease; }

/* ── Cookie alert ──────────────────────────────── */

#cookie-alert {
  position: fixed;
  bottom: 20px;
  left: 50%;
  display: flex !important;
  background: rgba(13,27,53,0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 14px 16px;
  width: 90%;
  font-size: 12px;
  color: var(--text-muted);
  transform: translate(-50%, 200%);
  transition: 0.5s ease-in-out;
  z-index: 1000;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
}

#cookie-alert a { color: var(--accent); }

#cookie-alert button {
  background: linear-gradient(135deg, var(--accent2), #7c3aed);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 16px;
  font-weight: 600;
  white-space: nowrap;
}

#cookie-alert.visible { transform: translate(-50%, 0px); }

/* ── WhatsApp ──────────────────────────────────── */

.whatsapp-container {
  z-index: 100;
  position: fixed;
  bottom: 30px;
  right: 15px;
  background: rgba(13,27,53,0.98);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

form.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.whatsapp-form button {
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.whatsapp-form button:hover { transform: scale(1.02); }

.whatsapp-form input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.9rem;
}
.whatsapp-form input::placeholder { color: var(--text-muted); }
.whatsapp-form input:focus {
  outline: none;
  border-color: rgba(0,229,160,0.4);
}

.whatsapp-form-header {
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: white;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.close-whatsapp-form {
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.close-whatsapp-form:hover { opacity: 1; }

.whatsapp-icon img {
  z-index: 100;
  position: fixed;
  bottom: 30px;
  right: 15px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  border-radius: 15px;
  transition: 0.2s ease-in-out;
  width: 60px;
  cursor: pointer;
}

.whatsapp-icon img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

/* ── Logo ──────────────────────────────────────── */

.logo {
  background-image: url('../imgs/logo_rect_shadow.png');
  width: 60px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 50px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 15px;
}

#branding {
  display: inline-block;
  vertical-align: middle;
  font-size: 30px;
  color: #e2e4e7;
  font-family: var(--font-heading);
  font-weight: 800;
}

/* ── Header ────────────────────────────────────── */

.header {
  border-bottom: 1px solid rgba(0,229,160,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Cards marketing ────────────────────────────── */

.marketing .card-deck .card:hover { transform: scale(1.05); }
.marketing .card-deck .card { transition: 0.5s; }

.marketing-00, .marketing-01, .marketing-02, .marketing-03 {
  background-size: cover;
  width: 100%;
  height: 100%;
}
.marketing-00 { background-image: url(../imgs/software-background.webp); background-position: center; }
.marketing-01 { background-image: url(../imgs/marketing_everywhere.webp); background-position: center; }
.marketing-02 { background-image: url(../imgs/Industria-4.0-2.webp); background-position: right; }
.marketing-03 { background-image: url(../imgs/collaborative.webp); background-position: center; }

.botons {
  width: 250px;
  height: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin: auto;
  background-size: cover;
  transition: 0.3s;
}
.botons:hover { transform: scale(1.05); }

/* ── Carousel ───────────────────────────────────── */

.carousel-caption {
  background: rgba(10,15,30,0.7);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  text-shadow: 2px 2px 3px rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: fit-content;
  width: 90%;
  border: 1px solid var(--border);
}

.carousel-inner {
  border-bottom: 1px solid rgba(0,229,160,0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Plan badge colors ──────────────────────────── */

.bronze { background: linear-gradient(135deg, #cd7f32, #ffb975); }
.prata  { background: linear-gradient(135deg, #8f8f8f, #d4d4d4); }
.ouro   { background: linear-gradient(135deg, #ffc107, #ff9800); }

/* ── Feature img ────────────────────────────────── */

.feature-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.featurette-heading { margin-top: 0; }

.pointer { cursor: pointer; }

/* ── AJAX Loader ────────────────────────────────── */

.ajax-loader {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  z-index: 99999;
  display: none;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(10px);
}

.ajax-loader img {
  position: relative;
  top: 50%; left: 50%;
  width: 80px;
  margin-top: -40px;
  margin-left: -40px;
}

iframe { width: 100%; }

.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 51%;
}
.aspect-ratio iframe {
  position: absolute;
  width: 100%; height: 100%;
  left: 0; top: 0;
}

/* ── Alerts ─────────────────────────────────────── */

#alerta-sucesso, #alerta-erro {
  position: fixed;
  top: 0px;
  z-index: 9999;
  width: 100%;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 768px) {
  #cookie-alert {
    flex-wrap: wrap;
  }
  #cookie-alert button {
    width: 100%;
    margin-top: 8px;
  }

  .clientes-carrossel-wrapper .slick-track{
    gap: 10px;
  }
}


/* ===========================
   SGMAN - Modern LP Styles
   =========================== */

   :root {
    --primary: #0a0f1e;
    --secondary: #0d1b35;
    --accent: #00e5a0;
    --accent2: #2563eb;
    --accent3: #7c3aed;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --surface: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --card-bg: rgba(13,27,53,0.8);
    --glow: 0 0 40px rgba(0,229,160,0.15);
    --radius: 16px;
    --radius-sm: 8px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
  }

/* ── Typography ─────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

.social-icons {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.social-network {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.social-network li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #888;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.social-network li a:hover {
  transform: translateY(-3px);
  border-color: transparent;
}

.social-network li a.icoYouTube:hover {
  background: #ff0000;
  color: #fff;
}

.social-network li a.icoInstagram:hover {
  background: radial-gradient(
    circle at 30% 110%,
    #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888
  );
  color: #fff;
}

.social-network li a.icoLinkedin:hover {
  background: #0077b5;
  color: #fff;
}

.lp-section h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lp-section h2 {
  color: var(--accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lp-section h3 {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.lp-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ── Nav ─────────────────────────────────────────── */

header nav.header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: fixed;
  transition: background 0.4s, backdrop-filter 0.4s;
}

nav.blur-nav.lp {
  background: rgba(10,15,30,0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
}

.logo {
  background-image: url(/imgs/logo_text_rect_shadow.png);
  width: 200px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(1.1);
}

.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff !important; }

/* ── Container ───────────────────────────────────── */

.lp-container { overflow: hidden; }

.container { max-width: unset !important; }

.lp-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  padding: 100px 60px 80px;
  box-sizing: border-box;
  gap: 40px;
}
.lp-section > div { z-index: 2; }

/* ── CTA Buttons ─────────────────────────────────── */

button.teste-button,
button.teste-button-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

button.teste-button {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent3) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

button.teste-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

button.teste-button:hover::before { opacity: 1; }
button.teste-button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }

button.teste-button span { position: relative; z-index: 1; }

button.teste-button-2 {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,71,87,0.4);
}
button.teste-button-2:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,71,87,0.5); }

/* ── Flex helpers ────────────────────────────────── */

.flex { display: flex; flex-wrap: wrap; }
.flex-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.justify-left { justify-content: flex-start; }
.flex-100 { flex: auto; flex-basis: 100%; }
.flex-70 { flex: auto; flex-basis: 70%; }
.flex-60 { flex: auto; flex-basis: 60%; }
.flex-50 { flex: auto; flex-basis: 50%; }
.flex-40 { flex: auto; flex-basis: 40%; }
.flex-30 { flex: auto; flex-basis: 30%; }
.white { color: #fff !important; }

/* ── Hero Section ────────────────────────────────── */

#main-section {
  min-height: 100vh;
  background: var(--primary);
  align-items: center;
  padding-top: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '●';
  font-size: 0.6rem;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Notebook view ───────────────────────────────── */

.notebook-view {
  position: relative;
  width: 100%;
  min-height: 155px;
  max-width: 640px;
  min-width: 350px;
}

.notebook-view-frame {
  background-image: url(/imgs/notebook-light-2.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  aspect-ratio: 16 / 9;
  filter: drop-shadow(0px 30px 60px rgba(0,229,160,0.2));
}

.notebook-view-content {
  background-image: url(/imgs/sgman_web_ss01.webp);
  width: 78%;
  border-radius: 5px;
  background-position: top;
  background-size: cover;
  position: absolute;
  top: 5%;
  left: 11%;
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 8px 2px rgb(0 0 0 / 50%);
}

/* ── App views ───────────────────────────────────── */

.app-view { position: relative; }

.app-view-frame {
  background-image: url(/imgs/mobile_frame1.webp);
  width: 565px;
  height: 465px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: baseline;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.app-view-content {
  background-image: url(/imgs/app_home.webp);
  height: 362px;
  width: 164px;
  margin-top: 5px;
  border-radius: 17px;
  background-position: center;
  background-size: cover;
  margin-right: 135px;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 24%;
}

.app-view2 {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  min-width: 350px;
}

.app-view2-frame {
  background-image: url(/imgs/mobile_frame2.webp);
  width: 80%;
  margin: auto;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: baseline;
  justify-content: center;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0px 5px 10px rgba(0,0,0,.8));
}

.app-view2-content {
  height: 95%;
  margin-top: 5px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 135px;
  z-index: 0 !important;
  position: absolute;
  top: 1%;
  left: 38%;
  box-shadow: 2px 2px 9px 3px rgb(0 0 0 / 50%);
  aspect-ratio: 7/16;
}
.app-view2-content:nth-child(2) { left: 60% !important; transform: scale(0.82) !important; }
.app-view2-content:nth-child(3) { transform: scale(0.82) !important; left: 18% !important; }

/* ── App store buttons ───────────────────────────── */

.android-app-button, .ios-app-button {
  width: 150px;
  height: 50px;
  border: none;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.android-app-button:hover, .ios-app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.android-app-button { background-image: url(/imgs/google-play-botao.png); }
.ios-app-button { background-image: url(/imgs/applestore.png); }

/* ── Awards / Capterra ───────────────────────────── */

.capterra_badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
}

.capterra_badges img {
  max-width: 130px;
  max-height: 90px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
  transition: transform 0.2s;
}
.capterra_badges img:hover { transform: scale(1.08); }

/* ── Section backgrounds ─────────────────────────── */

.section-dark {
  background: var(--secondary) !important;
}

.section-gradient-blue {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1b35 50%, #0f2549 100%) !important;
}

/* Decorative mesh grid */
.section-dark::before,
.section-gradient-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
  linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Numbers section ─────────────────────────────── */

.numbers-container {
  justify-content: space-around;
}

.numbers-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-width: 160px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.numbers-card:hover {
  transform: translateY(-6px);
  background: rgba(0,229,160,0.08);
  border-color: rgba(0,229,160,0.3);
  box-shadow: var(--glow);
}

.numbers-card i {
  font-size: 36px;
  color: var(--accent);
}

.numbers-card .num-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.numbers-card p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ── Feature cards (indicators) ─────────────────── */

.feature-item {
  height: 400px !important;
  max-width: 350px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow);
}

.feature-head {
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a2040;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.feature-body {
  flex: auto;
  padding: 20px;
  height: inherit;
  background: transparent;
}

h2.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

h1.feature-title {
  color: white;
  font-size: 22px;
  text-align: center;
}

/* ── Gradient mask ───────────────────────────────── */

.gradient-mask {
  background: linear-gradient(135deg, rgba(0,37,107,0.7), rgba(0,229,160,0.3));
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1 !important;
  opacity: 0.9;
}

/* ── Resources grid ──────────────────────────────── */

.grid-recurso {
  height: 200px;
  background-size: cover;
  border-radius: var(--radius);
  background-color: #0d1b35;
  background-blend-mode: soft-light;
  color: white;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--border);
  width: 250px;
  position: relative;
  padding-top: 40px;
  text-shadow: 2px 2px 8px black;
  min-width: 250px;
  transition: 0.3s;
  overflow: visible;
}

.grid-recurso:hover {
  background-color: #0a2040;
  transform: translateY(-6px);
  border-color: rgba(0,229,160,0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 20px rgba(0,229,160,0.1);
}

.grid-recurso h1 {
  color: white !important;
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}

.grid-recurso p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.grid-recurso i {
  font-size: 48px;
  text-align: center;
  position: absolute;
  top: -22px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0,229,160,0.5);
}

/* ── Swiper ──────────────────────────────────────── */

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-wrapper { padding-bottom: 35px; padding-top: 10px; }

.videoSwiper .swiper-slide,
.mySwiper .swiper-slide,
.featureSwiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 360px !important;
}

.newsSwiper .swiper-slide {
  background-position: center;
  background-size: cover;
  max-width: 360px !important;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--accent) !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/* ── Video items ─────────────────────────────────── */

.video-item {
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 250px;
  aspect-ratio: 16/9;
  max-width: 400px;
  background-size: cover;
  background-color: #1a2040;
  /*background-blend-mode: multiply;*/
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.video-item:hover { transform: scale(1.04); }

.video-item i {
  color: white;
  font-size: 64px;
  z-index: 1;
  text-shadow: 0 0 20px white;
}

.video-item h2 {
  color: white !important;
  font-size: 1rem;
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  font-family: var(--font-heading);
}

/* ── Testimonials ────────────────────────────────── */

.capterra-coments-foto {
  background-image: url(/imgs/no_picture.jpg);
  height: 48px;
  width: 48px;
  box-sizing: border-box;
  border-radius: 50%;
  background-size: contain;
  border: 2px solid var(--accent);
}

.capterra-coments-container {
  background: rgba(13,27,53,0.9);
  border: 1px solid rgba(0,229,160,0.15);
  padding: 20px;
  border-radius: var(--radius);
  color: var(--text);
  width: 350px;
  height: 350px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  overflow: hidden;
}

.capterra-coments-head {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.capterra-coments-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

span.capterra-coments-h1 {
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
}

span.capterra-coments-h2 {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.capterra-coments-body {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow: auto;
  max-height: 240px;
}

/* ── Plans ───────────────────────────────────────── */

.card-plano {
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-flow: column;
  z-index: 2;
  flex: auto;
  flex-basis: 250px;
  transition: 0.3s;
  max-width: 300px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.card-plano:hover {
  transform: translateY(-8px);
  border-color: rgba(0,229,160,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow);
}

.card-plano-head {  
  display: flex;
  align-items: center;
  flex-flow: column;
  padding: 16px;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.card-plano-price {
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  border-radius: 50px;
  padding: 8px 20px;
  color: white;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

.card-plano-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.card-plano-item-container {
  background: transparent;
  flex: 1;
}

.card-plano-item-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-plano-item-container ul li {
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-plano-item-container ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.card-plano.featured {
  border: 2px solid var(--accent) !important;
  box-shadow: 0 0 40px rgba(0,229,160,0.2);
}

/* ── About / Nossa Historia ──────────────────────── */

.nossa-historia-text {
  border-right: 1px solid var(--border);
  padding-right: 40px;
}

/* ── Vantagens / checklist ───────────────────────── */

ul.checklist-li {
  list-style: none;
  padding: 0;
}

ul.checklist-li li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

ul.checklist-li li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── News cards ──────────────────────────────────── */

.news-item {
  height: 370px !important;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

h1.news-title {
  color: white;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.news-head {
  height: 100px;
  background-position: center;
  background-size: cover;
  background-color: #1a2040;
  background-blend-mode: overlay;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  position: relative;
}

.news-body {
  flex: auto;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  height: 220px;
  overflow: auto;
  color: var(--text-muted);
}

.news-footer {
  text-align: end;
  padding: 10px 16px;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ── TEBE / IoT section ──────────────────────────── */

.img-div {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-width: 300px;
  min-height: 150px;
}

/* ── Misc ────────────────────────────────────────── */

.box-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.text-bg-div {
  color: white;
  padding: 16px 20px;
  background-color: rgba(0,0,0,0.6);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 13px rgb(0 0 0 / 50%);
  backdrop-filter: blur(8px);
}

/* Blob decoration */
#blob1 {
  top: 250px;
  right: 50px;
  height: 120%;
  width: 100%;
}
.blob {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.blob svg {
  position: absolute;
  top: 0;
  right: 0;
  height: 1288px;
  transform: translate(343px, -403px);
  opacity: 0.15;
}

/* Section divider glow line */
.lp-section + .lp-section::before {
  content: none;
}

.navbar-nav{
  align-items: center;
  margin-right: unset !important;
  width: 100%;
}
.nav-teste-btn{
  margin-left: auto;
}

/* ── BG dark override ────────────────────────────── */

.bg-dark { background-color: var(--secondary) !important; }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  .nav-teste-btn,.nav-teste-btn button{width: 100%}
  .navbar-nav{
    align-items: start;
  }
  .lp-section { padding: 80px 20px 60px; gap: 24px; }

  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.2rem !important; }
  h3 { font-size: 1rem !important; }

  .capterra_badges img { max-width: 70px; max-height: 50px; }

  .nossa-historia-text { border: none; padding-right: 0; }

  .logo { width: 130px; }

  header nav.header {
    background: rgba(10,15,30,0.95) !important;
    backdrop-filter: blur(20px);
  }

  #blob1 { top: 136px; }
  #blob1 svg {
    position: absolute;
    top: 0;
    right: 0;
    height: 552px;
    transform: translate(137px, 352px);
  }

  .grid-recurso p { display: none; }
  .grid-recurso { height: 120px; }

  .swiper-wrapper { max-width: 90%; }
  .swiper-slide { max-width: 90% !important; }
  .swiper-button-next, .swiper-button-prev { display: none !important; }
}

/* ══════════════════════════════════════════════════
   NOVOS COMPONENTES — v3 reestruturado
   ══════════════════════════════════════════════════ */

/* ── Hero extras ──────────────────────────────────── */

.hero-section {
  min-height: 100vh;
  align-items: center;
  padding-top: 120px;
  background: #0a0f1e;
  background-image:
  radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,0.18) 0%, transparent 70%),
  radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,229,160,0.08) 0%, transparent 60%);
}

.btn-outline-hero {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #e8eaf0 !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  transition: .2s !important;
  cursor: pointer;
}
.btn-outline-hero:hover {
  border-color: rgba(0,229,160,.5) !important;
  color: #00e5a0 !important;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-stars { color: #ffc107; font-size: 1rem; }
.trust-value { color: #00e5a0; font-weight: 800; font-family: var(--font-heading); font-size: 1.2rem; }
.trust-label { color: #8892a4; font-size: .8rem; }
.trust-divider { width: 1px; height: 32px; background: rgba(255,255,255,.12); }

.nav-cta {
  background: linear-gradient(135deg,#ff4757 0%,#ff6b35 100%) !important;
  box-shadow: 0 4px 20px rgba(255,71,87,.4) !important;
}

/* ── Section header helper ────────────────────────── */

.section-header {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* ── Clientes section ─────────────────────────────── */

.clientes-section-wrap {
  background: linear-gradient(135deg, #0d1b35 0%, #0a0f1e 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 48px;
  padding-bottom: 48px;
}

.clientes-carrossel-wrapper img {
  background: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  max-height: 70px;
  width: auto !important;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}
.clientes-carrossel-wrapper img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}
/* Alinha os slides verticalmente ao centro — corrige quebra do Slick */
.clientes-carrossel-wrapper .slick-track {
  display: flex;
  align-items: center;
  justify-content: center;
}
.clientes-carrossel-wrapper .slick-slide,
.clientes-carrossel-wrapper .swiper-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

/* ── Numbers strip (horizontal) ──────────────────── */

.numbers-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* ── Recursos grid — novo layout ─────────────────── */

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 8px;
}

.recurso-card {
  background: #0d1b35;
  background-blend-mode: soft-light;
  background-size: cover;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: .3s;
  cursor: default;
}
.recurso-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,.6) 0%, rgba(10,15,30,.92) 100%);
}
.recurso-card > * { position: relative; z-index: 1; }

.recurso-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,160,.35);
  box-shadow: 0 12px 32px rgba(0,0,0,.4), 0 0 20px rgba(0,229,160,.08);
}

.recurso-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,229,160,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.recurso-icon i { color: #00e5a0; font-size: 1.2rem; }

.recurso-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  margin: 0;
}

.recurso-desc {
  font-size: .85rem;
  color: #8892a4;
  margin: 0;
  line-height: 1.55;
}

/* ── Platform section divider ─────────────────────── */

.platform-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  margin: 20px 0;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.platform-badge--web {
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.3);
  color: #60a5fa;
}
.platform-badge--app {
  background: rgba(0,229,160,.1);
  border: 1px solid rgba(0,229,160,.3);
  color: #00e5a0;
}

/* ── Tech duo (IoT + AI) ──────────────────────────── */

.tech-duo-section {
  background: linear-gradient(135deg, #060c1a 0%, #0d1b35 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  gap: 24px;
  align-items: stretch;
}

.tech-card {
  flex: 1;
  min-width: 300px;
  max-width: 560px;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.tech-card--iot {
  background: linear-gradient(135deg, #001a0e 0%, #0a1f14 100%);
  border: 1px solid rgba(0,229,160,.2);
}
.tech-card--ai {
  background: linear-gradient(135deg, #130033 0%, #1a0540 100%);
  border: 1px solid rgba(124,58,237,.25);
}

.tech-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
  width: fit-content;
}
.tech-card--iot .tech-card__badge {
  background: rgba(0,229,160,.1);
  border: 1px solid rgba(0,229,160,.3);
  color: #00e5a0;
}
.tech-card--ai .tech-card__badge {
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.4);
  color: #a78bfa;
}

.tech-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.tech-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tech-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #e8eaf0;
  font-size: .9rem;
}
.tech-card__list li strong { color: #fff; display: block; margin-bottom: 2px; }
.tech-card__list li small  { color: #8892a4; font-size: .8rem; }

.check-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #00e5a0;
  color: #0a0f1e;
  font-size: .75rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-circle--ai { background: #7c3aed; color: #fff; }

.tech-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  margin-top: auto;
  min-height: 160px;
}

/* GIF do ChatGPT — layout lado a lado: texto + phone mockup */
.tech-card--ai__inner {
  display: flex;
  gap: 24px;  
  height: 100%;
}

.tech-card--ai__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.tech-card--ai__phone {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card--ai__phone img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid rgba(124,58,237,.4);
  box-shadow: 0 0 30px rgba(124,58,237,.3);
  display: block;
}

/* ── Vantagens grid ───────────────────────────────── */

.vantagens-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.vantagem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 32px 28px;
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  transition: .3s;
  position: relative;
  overflow: hidden;
}
.vantagem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--vantagem-color);
  opacity: .6;
}
.vantagem-card:hover {
  transform: translateY(-6px);
  border-color: var(--vantagem-color);
  box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 24px color-mix(in srgb, var(--vantagem-color) 20%, transparent);
}

.vantagem-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.vantagem-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  margin-bottom: 16px !important;
}

/* ── Plano economia badge ─────────────────────────── */

.plano-popular-bar {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  text-align: center;
  padding: 7px;
  font-size: .75rem;
  font-weight: 700;
  color: #000;
  font-family: var(--font-heading);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.plano-economia {
  font-size: .75rem;
  font-weight: 700;
  color: #00c6e8;
  font-family: var(--font-heading);
}

/* ── Timeline ─────────────────────────────────────── */

.timeline {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0,229,160,.4) 10%, rgba(0,229,160,.4) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item--left  { flex-direction: row; padding-right: calc(50% + 32px); }
.timeline-item--right { flex-direction: row-reverse; padding-left: calc(50% + 32px); }

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #0d1b35;
  border: 2px solid rgba(0,229,160,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 20px;
  flex: 1;
  transition: .25s;
}
.timeline-card:hover {
  border-color: rgba(0,229,160,.3);
  background: rgba(0,229,160,.04);
}

.timeline-year  { color: #00e5a0; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.timeline-title { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: 6px; }
.timeline-text  { color: #8892a4; font-size: .85rem; line-height: 1.6; margin: 0; }

/* ── CTA Final ────────────────────────────────────── */

.cta-final-section {
  background: linear-gradient(135deg, #00291a 0%, #001833 100%);
  border-top: 1px solid rgba(0,229,160,.15);
  justify-content: center;
}

.cta-final-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.cta-final-glow {
  position: absolute !important;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,160,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-final-inner > * { position: relative; z-index: 1; }

.cta-final-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-final-primary { font-size: 1.1rem !important; padding: 16px 48px !important; }

.cta-final-secondary {
  background: transparent;
  border: 1px solid rgba(0,229,160,.4);
  color: #00e5a0;
  border-radius: 50px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: .2s;
}
.cta-final-secondary:hover { background: rgba(0,229,160,.1); }

.cta-final-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  color: #8892a4;
  font-size: .85rem;
}
.cta-final-trust span::before { color: #00e5a0; margin-right: 4px; }

/* ── Responsive extras ────────────────────────────── */

@media (max-width: 768px) {
  .numbers-card{padding: 5px;min-width: 120px;}
  h1.news-title{font-size: 1.2rem !important;}
  .recursos-grid { grid-template-columns: 1fr 1fr; }
  .tech-card { max-width: 100%; }
  .tech-duo-section { flex-direction: column; }

  .timeline::before { left: 20px; }
  .timeline-item--left,
  .timeline-item--right {
    flex-direction: row;
    padding: 0 0 0 60px;
  }
  .timeline-dot { left: 20px; }

  .hero-trust-bar { gap: 12px; }
  .trust-divider { display: none; }

  .vantagens-grid { gap: 16px; }
  .vantagem-card { min-width: 100%; }
}

@media (max-width: 480px) {
  .recursos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .tech-card--ai__inner { flex-direction: column; }
  .tech-card--ai__phone { margin:auto }
}


/* ==========================================================================
   NO-BOOTSTRAP.CSS
   Substitui 100% das classes/componentes do Bootstrap usados em
   landingpage_v4.php e footer_v4.php, para que bootstrap.min.css e
   bootstrap.min.js / proper.min.js possam ser removidos.

   Cobre: container/row/col-md-*, utilitários (mb-3, p-4, d-block, w-100,
   text-white, bg-dark, fixed-top), botões (.btn, .btn-primary,
   .btn-secondary), formulários (.form-control, .custom-select),
   navbar responsiva (.navbar / .navbar-expand-md / .collapse),
   modal (.modal, .modal-dialog, .modal-content...), alerts e .close.

   Classes próprias do site (teste-button, lp-section, card-plano,
   flex-XX etc.) NÃO são tocadas aqui — elas já vivem em lp_style_v2.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. RESET BÁSICO (equivalente ao reboot.css que vem dentro do Bootstrap)
   Sem isso, qualquer elemento com width:100% + padding (inputs, colunas do
   grid, modal-dialog etc.) calcula a largura com box-sizing:content-box,
   o que faz o conteúdo "vazar" da coluna e quebrar o row/col/mb-3.
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button, input, select, textarea, optgroup {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

select { text-transform: none; }

hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .15);
  opacity: .25;
}

/* --------------------------------------------------------------------------
   1. GRID — container / row / col-md-*
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}
.row > [class*="col-"] {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
}
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

/* --------------------------------------------------------------------------
   2. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.mb-3 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.p-4  { padding: 1.5rem !important; }
.d-block { display: block !important; }
.w-100   { width: 100% !important; }
.text-white { color: #fff !important; }
.bg-dark    { background-color: #1a1a1a !important; }
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   3. BOTÕES (apenas as variações Bootstrap nativas usadas no modal genérico
      e nos alerts — .teste-button / .btn-contato são estilos próprios)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out,
              border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.btn-primary:hover { background-color: #0b5ed7; border-color: #0a58ca; }
.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:hover { background-color: #5c636a; border-color: #565e64; }

/* Botão "x" usado em modal-header e alerts */
.close {
  padding: 0;
  margin-left: auto;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: .5;
  cursor: pointer;
}
.close:hover { opacity: .85; }
.close span { pointer-events: none; }

/* --------------------------------------------------------------------------
   4. FORMULÁRIOS — form-control / custom-select
   -------------------------------------------------------------------------- */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
textarea.form-control { min-height: calc(1.5em + 0.75rem + 2px); resize: vertical; }

.custom-select {
  display: inline-block;
  width: 100%;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 8px 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  appearance: none;
}
.custom-select:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* --------------------------------------------------------------------------
   5. NAVBAR RESPONSIVA — navbar / navbar-expand-md / navbar-dark
   -------------------------------------------------------------------------- */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}
.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  white-space: nowrap;
  text-decoration: none;
}
.navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.navbar-nav .nav-link,
.navbar-nav .nav-item .nav-link {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: rgba(255,255,255,.75);
}
.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,.75); }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus { color: #fff; }
.mr-auto { margin-right: auto !important; }

/* Botão hamburger */
.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0.25rem;
  cursor: pointer;
}
.navbar-toggler:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(255,255,255,.15); }
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Collapse — comportamento padrão (mobile) */
.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  width: 100%;
}
.collapse { display: none; }
.collapse.show { display: block; }
.collapsing { display: block; height: 0; overflow: hidden; transition: height .35s ease; }

/* Expand a partir do breakpoint md (768px) — vira navbar horizontal fixa */
@media (min-width: 768px) {
  .navbar-expand-md {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-md .navbar-toggler { display: none; }
  .navbar-expand-md .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    width: auto;
  }
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
    width: auto;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* --------------------------------------------------------------------------
   6. MODAL
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
.modal.show { display: block; }
.modal.fade .modal-dialog {
  transition: transform .3s ease-out;
  transform: translateY(-50px);
}
.modal.show .modal-dialog { transform: translateY(0); }

.modal-dialog {
  position: relative;
  width: auto;
  max-width: 500px;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 0.3rem;
  outline: 0;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-title { margin-bottom: 0; line-height: 1.5; font-size: 1.25rem; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
  transition: opacity .15s linear;
}
.modal-backdrop.show { opacity: .5; }

body.modal-open { overflow: hidden; }

@media (min-width: 576px) {
  .modal-dialog { max-width: 500px; }
}

/* --------------------------------------------------------------------------
   7. ALERTS
   -------------------------------------------------------------------------- */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger  { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-dismissible { padding-right: 3rem; }
.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

/* fade/show genérico, compartilhado por modal/collapse/alert */
.fade { transition: opacity .15s linear; }
.fade:not(.show) { opacity: 0; }
.alert.show { opacity: 1; }