/* ===============================
   TEMA HÍBRIDO (LIGHT / DARK)
================================ */
:root {
  /* Tons escuros estruturais */
  --dark-bg: #0f172a;
  --dark-bg-2: #020617;

  /* Tema claro */
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;

  /* Marca */
  --primary: #5B5FEF;
  --primary-hover: #4A4EDB;
  --accent: #22D3EE;

  --border: #E5E7EB;
  --shadow-sm: 0 4px 10px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
}

body.dark {
  --bg: #020617;
  --bg-card: #020617;
  --text: #E5E7EB;
  --text-muted: #94A3B8;

  --primary: #7C7FFF;
  --primary-hover: #6366F1;
  --accent: #22D3EE;

  --border: #1E293B;
  --shadow-sm: 0 4px 15px rgba(0,0,0,.4);
  --shadow-md: 0 20px 40px rgba(0,0,0,.6);
}

/* ===============================
   BASE GLOBAL
================================ */
body {
  background: var(--bg);
  color: var(--text);
  transition: background .3s, color .3s;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

/* ===============================
   HEADER (NAVBAR)
================================ */
.navbar-hybrid {
  background: linear-gradient(
    180deg,
    var(--dark-bg),
    var(--dark-bg-2)
  );
  box-shadow: var(--shadow-md);
}

/* Links do header */
.nav-link-hybrid {
  color: #e5e7eb !important;
}

.nav-link-hybrid:hover,
.nav-link-hybrid.active {
  color: var(--accent) !important;
}

/* Logo */
.navbar-brand {
  color: #fff !important;
  font-weight: 700;
}

/* ===============================
   CONTEÚDO CENTRAL
================================ */
#conteudo {
  min-height: 70vh;
  padding: 40px 0;
}

/* ===============================
   BANNER / HERO
================================ */
.banner {
  background-size: cover;
  background-position: center;
  height: 420px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,.9),
    rgba(2,6,23,.85)
  );
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.banner p {
  font-size: 1.15rem;
  margin-top: 10px;
  color: #E5E7EB;
}

/* ===============================
   SEÇÕES
================================ */
.section {
  padding: 70px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary);
}

/* ===============================
   SOBRE
================================ */
.sobre p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===============================
   ARTIGOS
================================ */
.artigo-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  border: 1px solid var(--border);
}

.artigo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.artigo-card h5 {
  font-weight: 600;
  color: var(--text);
}

/* ===============================
   PORTFÓLIO
================================ */
.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   CONTATO
================================ */
.contato-form input,
.contato-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
}

.contato-form input:focus,
.contato-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .15rem rgba(91,95,239,.25);
}

/* ===============================
   WHATSAPP FIXO
================================ */
.whatsapp-fixo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  padding: 15px 18px;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.whatsapp-fixo:hover {
  background: #1ebe5b;
}


/* ===============================
   FOOTER HÍBRIDO
================================ */
.site-footer {
  background: linear-gradient(
    180deg,
    var(--dark-bg),
    var(--dark-bg-2)
  );
  color: #9ca3af;
  padding: 70px 0 30px;
}

/* Títulos */
.site-footer h5,
.site-footer h6 {
  color: #fff;
}

/* Textos */
.site-footer p,
.site-footer small {
  color: #9ca3af;
}

/* Links */
.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

/* Ícones sociais */
.footer-social a {
  color: #9ca3af;
}

.footer-social a:hover {
  color: var(--accent);
}

/* Linha */
.footer-bottom,
.site-footer hr {
  border-color: rgba(255,255,255,.1);
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
/* ===============================
   HERO SLIDER
================================ */
.hero-slider {
  position: relative;
}

.hero-slider img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,6,23,.85),
    rgba(15,23,42,.9)
  );
  z-index: 1;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.carousel-content h1 {
  font-size: 3rem;
  font-weight: 800;
}

.carousel-content p {
  max-width: 700px;
  font-size: 1.2rem;
  margin: 15px auto;
  color: #E5E7EB;
}

/* ===============================
   CTA FINAL
================================ */
.cta-final {
  padding: 90px 0;
  background: linear-gradient(
    135deg,
    var(--primary),
    #312E81
  );
  color: #fff;
}
