/* Auvix Tecnologia — Shared Stylesheet */

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

:root {
  --bg: #0d1e2c;
  --bg2: #0a1929;
  --teal: #60cbe9;
  --teal2: #4ba9c4;
  --blue: #0e354f;
  --white: #e0e0e0;
  --muted: #9e9e9e;
  --border: rgba(96, 203, 233, 0.18);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── BACKGROUND ─── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 30, 0.82);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(8, 18, 30, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 36px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  background: rgba(96, 203, 233, 0.15);
  color: var(--teal);
  transform: translateY(-2px);
}
.nav-cta {
  background: var(--teal);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.nav-cta:hover {
  background: #b2ebf2;
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--teal);
}
.breadcrumb-sep {
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--teal);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 8rem 5vw 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 70% 50%,
    rgba(96, 203, 233, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.page-hero-inner {
  max-width: 820px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(96, 203, 233, 0.1);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--teal);
  color: var(--bg);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  background: #b2ebf2;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(96, 203, 233, 0.3);
}
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── SECTION COMMONS ─── */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ─── CONTENT SECTIONS ─── */
.content-section {
  padding: 5rem 5vw;
}
.content-section.dark {
  background: rgba(8, 18, 30, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.content-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.content-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── INFO CARDS ─── */
.info-card {
  background: rgba(8, 18, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  backdrop-filter: blur(6px);
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.info-card:hover {
  border-color: var(--teal2);
  transform: translateY(-3px);
}
.info-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.info-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.info-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.info-card ul {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.info-card ul li {
  color: var(--muted);
  font-size: 0.87rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.info-card ul li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── RICH TEXT ─── */
.rich-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.rich-text h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.rich-text h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.rich-text p {
  margin-bottom: 1.25rem;
}
.rich-text ul,
.rich-text ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rich-text ul li::marker {
  color: var(--teal);
}
.rich-text ol li::marker {
  color: var(--teal);
  font-weight: 700;
}
.rich-text strong {
  color: var(--white);
  font-weight: 600;
}
.rich-text a {
  color: var(--teal);
  text-decoration: underline;
}
.rich-text a:hover {
  color: #b2ebf2;
}

/* ─── CALLOUT ─── */
.callout {
  background: rgba(96, 203, 233, 0.06);
  border: 1px solid rgba(96, 203, 233, 0.25);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.callout strong {
  color: var(--teal);
}

/* ─── STATS ─── */
.stats-band {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 18, 30, 0.7);
  backdrop-filter: blur(10px);
}
.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 6rem 5vw;
  background: rgba(8, 18, 30, 0.65);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
}
.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--teal), transparent);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(96, 203, 233, 0.1);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: var(--teal);
  font-size: 1.1rem;
}
.step-body h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 7rem 5vw;
  background: rgba(14, 53, 79, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(96, 203, 233, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-inner h2 em {
  font-style: normal;
  color: var(--teal);
}
.cta-inner p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FAQ ─── */
.faq-section {
  padding: 5rem 5vw;
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.faq-item {
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.faq-item h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.faq-item h3 .faq-icon {
  font-size: 1.3rem;
}
.faq-item p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ─── BLOG GRID ─── */
.blog-section {
  padding: 5rem 5vw;
}
.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.blog-card {
  background: rgba(8, 18, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition:
    border-color 0.25s,
    transform 0.25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--teal2);
  transform: translateY(-4px);
}
.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.blog-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  flex: 1;
}
.blog-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card-footer a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ─── ARTICLE LAYOUT ─── */
.article-layout {
  padding: 4rem 5vw 6rem;
}
.article-layout-inner {
  max-width: 780px;
  margin: 0 auto;
}
.article-tag-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: rgba(96, 203, 233, 0.1);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.article-meta-item strong {
  color: var(--white);
  font-weight: 500;
}

/* ─── RELATED POSTS ─── */
.related-section {
  padding: 4rem 5vw;
  border-top: 1px solid var(--border);
  background: rgba(8, 18, 30, 0.5);
}
.related-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.related-inner > h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--white);
}

/* ─── FOOTER ─── */
footer {
  padding: 2rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(8, 18, 30, 0.9);
  backdrop-filter: blur(16px);
}
.footer-logo {
  display: flex;
  align-items: center;
  height: 30px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
footer p {
  font-size: 0.8rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}
footer a:hover {
  color: var(--teal);
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .content-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-band-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .content-grid-3 {
    grid-template-columns: 1fr;
  }
  .content-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 18, 30, 0.97);
    padding: 1.5rem 5vw;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }
  .hamburger {
    display: flex;
  }
  .stats-band-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .content-grid-4 {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}
