/* =====================================================
   GLOBAL CONFIG
===================================================== */

:root {
  --blue: #0d1b26;
  --blue-light: #1a3247;
  --gold: #f4a836;
  --bg: #0a0f14;
  --card: #111820;
  --text: #e8eef2;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* =====================================================
   COMPONENTES REUTILIZÁVEIS
===================================================== */

.btn {
  background: var(--gold);
  color: #000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #ffcc4d;
}

/* =====================================================
   NAVBAR – TODAS AS PÁGINAS
===================================================== */

.navbar {
  background: var(--blue-light);
  padding: 15px 0;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box img {
  width: 42px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* =====================================================
   INDEX.HTML – HERO
===================================================== */

.hero {
  padding: 60px 0;
  background: var(--card);
  border-bottom: 3px solid var(--blue-light);
}

.hero-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--gold);
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-img {
  width: 350px;
  height: auto;
}

/* =====================================================
   INDEX.HTML – SERVIÇOS
===================================================== */

.services {
  padding: 60px 0;
  text-align: center;
  background: var(--bg);
}

.services h2 {
  margin-bottom: 30px;
  font-size: 32px;
  color: var(--gold);
}

.services-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: var(--card);
  padding: 25px;
  border-radius: 10px;
  border: 2px solid var(--blue-light);
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

/* =====================================================
   INDEX / SOBRE – SEÇÕES SIMPLES
===================================================== */

.about {
  background: var(--card);
  padding: 60px 10%;
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  border-top: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
}

.about h2 {
  margin-bottom: 20px;
  color: var(--gold);
}
.service-card,
.about-box,
.help-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.about-box:hover,
.help-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* =====================================================
   INDEX / SOBRE – LAYOUT DIVIDIDO (DINÂMICO)
===================================================== */

.about-split {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-box,
.help-box {
  background: var(--card);
  padding: 40px;
  border-radius: 14px;
  border: 2px solid var(--blue-light);
  line-height: 1.7;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-box:hover,
.help-box:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.about-box h2,
.help-box h2 {
  color: var(--gold);
  margin-bottom: 25px;
}

.about-box p,
.help-box p {
  font-size: 18px;
  margin-bottom: 12px;
}
.help-box {
  display: flex;
  flex-direction: column;
}
.help-footer {
  margin-top: 20px;
  font-size: 17px;
  opacity: 0.9;
}
.about-title {
  margin-bottom: 20px;
}

.help-list {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
}

.help-list li {
  font-size: 18px;
  padding: 8px 0;
  line-height: 1.5;
}

.help-footer {
  margin-top: 10px;
  font-size: 17px;
  opacity: 0.9;
}

/* =====================================================
   SOBRE.HTML – TÍTULO COM SVG
===================================================== */

.about-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}

.about-title h2 {
  margin: 0;
  line-height: 1.1;
}

.about-svg {
  width: 53px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.6));
}

/* =====================================================
   CONTATO / CARTÃO – INDEX E SOBRE
===================================================== */

.contact,
.cartao {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 0.5rem);
  padding: 60px 10%;
  background: var(--bg);
  text-align: left;
}

.contact h2 {
  color: var(--gold);
}

.contact-info {
  font-size: 18px;
  margin-top: 15px;
  line-height: 2;
}

/* =====================================================
   FOOTER – TODAS AS PÁGINAS
===================================================== */

footer {
  background: var(--blue-light);
  color: var(--white);
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
/* ================================
   ANIMAÇÕES GLOBAIS
================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =====================================================
   RESPONSIVO – GLOBAL
===================================================== */

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact,
  .cartao {
    display: block;
    width: 100%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-img {
    width: 80%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hero-img {
  transition: transform 0.4s ease;
  will-change: transform;
}
.hero h1,
.hero p,
.hero .btn {
  animation: hero-fade 1s ease forwards;
}

.hero h1 { animation-delay: 0.1s; }
.hero p  { animation-delay: 0.25s; }
.hero .btn { animation-delay: 0.4s; }

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background:
    linear-gradient(120deg, transparent, var(--gold), transparent)
    border-box;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}
.service-card h3,
.service-card p {
  transition: transform 0.3s ease;
}

.service-card:hover h3 {
  transform: translateY(-4px);
}

.service-card:hover p {
  transform: translateY(-2px);
}
.about-box,
.help-box {
  position: relative;
}

.about-box::before,
.help-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.6s ease;
}

.about-box.active::before,
.help-box.active::before {
  height: 100%;
}
/* =====================================================
   SLIDER – O QUE VOCÊ PODE ESPERAR (VERSÃO FINAL)
===================================================== */

.expect {
  padding: 80px 0 120px;
  background: var(--bg);
  text-align: center;
}

.expect h2 {
  color: var(--gold);
  margin-bottom: 40px;
  font-size: 32px;
}

.expect-slider {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.expect-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.expect-track {
  display: flex;
  transition: transform 0.6s ease;
}

.expect-slide {
  min-width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.expect-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.15)
  );

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;

  padding: 28px;
  text-align: left;
}

.expect-overlay h3 {
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 8px;
}

.expect-overlay p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  max-width: 420px;
}

.expect-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: none;
  padding: 0;

  color: var(--gold);
  font-size: 44px;
  cursor: pointer;
  z-index: 10;

  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.expect-btn:hover {
  opacity: 0.6;
  transform: translateY(-50%) scale(1.1);
}

.expect-btn.prev {
  left: 14px;
}

.expect-btn.next {
  right: 14px;
}

@media (max-width: 768px) {
  .expect-slide {
    height: 300px;
  }

  .expect-overlay {
    padding: 18px;
  }

  .expect-overlay h3 {
    font-size: 22px;
  }

  .expect-overlay p {
    font-size: 15px;
    max-width: 100%;
  }

  .expect-btn {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .expect-slide { height: 320px; }
  .expect-overlay { padding: 30px; }
}