/* ===========================================================
   Guilherme Lopes | Arquitetura — Design tokens reais do site
   Extraídos do tema Astra original (paleta + tipografia)
   =========================================================== */

:root {
  /* Paleta oficial (--ast-global-color-*) */
  --gl-accent:        #ffde2f; /* dourado vibrante — destaque */
  --gl-accent-dark:   #ebc500; /* dourado escuro — hover */
  --gl-text-light:    #ffffff;
  --gl-bg-1:          #0b2329; /* fundo principal */
  --gl-bg-2:          #091d22; /* fundo mais escuro (cards, seções alternadas) */
  --gl-border:        #585858;
  --gl-bg-3:          #030c0e; /* quase preto — footer, overlays */

  --gl-font-heading: 'Archivo', sans-serif;
  --gl-font-body:    'Inter Tight', sans-serif;
  --gl-font-accent:  'Outfit', sans-serif;
  --gl-font-serif:   'PT Serif', serif;

  --gl-radius-lg: 50px; /* cantos assimétricos usados no site original */
}

body {
  background-color: var(--gl-bg-1);
  color: var(--gl-text-light);
  font-family: var(--gl-font-body);
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--gl-font-heading);
  font-weight: 600;
  color: var(--gl-text-light);
}

.eyebrow {
  font-family: var(--gl-font-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gl-accent);
}

a { color: var(--gl-accent); text-decoration: none; }
a:hover { color: var(--gl-accent-dark); }

.btn-gl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gl-accent);
  color: var(--gl-bg-3);
  font-family: var(--gl-font-accent);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  transition: all .25s ease;
}
.btn-gl:hover {
  background-color: var(--gl-accent-dark);
  color: var(--gl-bg-3);
  transform: translateY(-2px);
}
.btn-outline-gl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gl-text-light);
  border: 1px solid rgba(255,255,255,.3);
  font-family: var(--gl-font-accent);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  transition: all .25s ease;
}
.btn-outline-gl:hover {
  border-color: var(--gl-accent);
  color: var(--gl-accent);
}

/* ===== Header ===== */
.gl-header {
  background-color: var(--gl-bg-1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.gl-header .logo img { height: 48px; width: auto; }
.gl-header .nav-link {
  color: var(--gl-text-light);
  font-family: var(--gl-font-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 1px;
  padding: 0 16px !important;
}
.gl-header .nav-link:hover,
.gl-header .nav-link.active { color: var(--gl-accent); }
.gl-header .navbar-toggler { border-color: rgba(255,255,255,.3); }

/* ===== Hero ===== */
.gl-hero {
  position: relative;
  padding: 210px 40px 120px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gl-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gl-bg-3);
  opacity: .7;
}
.gl-hero .container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.gl-hero h1 { font-size: 3.2rem; margin: 16px 0 20px; }
.gl-hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }

@media (max-width: 767px) {
  .gl-hero { padding: 150px 24px 80px; }
  .gl-hero h1 { font-size: 2.1rem; }
}

/* ===== Seção genérica ===== */
.gl-section { padding: 100px 40px; }
.gl-section-alt { background-color: var(--gl-bg-2); }
@media (max-width: 767px) { .gl-section { padding: 64px 24px; } }

/* ===== Sobre ===== */
.gl-sobre-img {
  border-top-right-radius: var(--gl-radius-lg);
  overflow: hidden;
}
.gl-sobre-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Serviços ===== */
.gl-servico {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 40px 30px;
  height: 100%;
  transition: border-color .25s ease;
}
.gl-servico:hover { border-color: var(--gl-accent); }
.gl-servico .numero {
  font-family: var(--gl-font-accent);
  color: var(--gl-accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.gl-servico h3 { font-size: 1.3rem; margin-bottom: 12px; }
.gl-servico p { color: rgba(255,255,255,.7); margin-bottom: 20px; }

/* ===== Estatísticas ===== */
.gl-stat { text-align: center; }
.gl-stat .numero {
  font-family: var(--gl-font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gl-accent);
}
.gl-stat .rotulo { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ===== Depoimentos ===== */
.gl-depoimento {
  background-color: var(--gl-bg-2);
  border-radius: 8px;
  padding: 32px;
  height: 100%;
}
.gl-depoimento p { font-style: italic; color: rgba(255,255,255,.85); }
.gl-depoimento .autor { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.gl-depoimento .autor img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.gl-depoimento .autor .nome { font-family: var(--gl-font-accent); font-weight: 600; }

/* ===== Diferenciais ===== */
.gl-diferencial { display: flex; gap: 20px; margin-bottom: 32px; }
.gl-diferencial .numero {
  font-family: var(--gl-font-heading);
  font-size: 1.5rem;
  color: var(--gl-accent);
  flex-shrink: 0;
}
.gl-diferencial-img { border-top-right-radius: var(--gl-radius-lg); overflow: hidden; }
.gl-diferencial-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CTA final ===== */
.gl-cta {
  background-color: var(--gl-bg-2);
  text-align: center;
  padding: 100px 40px;
}
.gl-cta h2 { font-size: 2.4rem; margin-bottom: 16px; }

/* ===== Footer ===== */
.gl-footer {
  background-color: var(--gl-bg-3);
  padding: 40px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
}

/* ===== Portfólio / Projetos ===== */
.gl-filtro { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.gl-filtro .btn {
  font-family: var(--gl-font-accent);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  background: transparent;
}
.gl-filtro .btn.active,
.gl-filtro .btn:hover {
  border-color: var(--gl-accent);
  color: var(--gl-accent);
}
.gl-card-projeto {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.gl-card-projeto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gl-card-projeto:hover img { transform: scale(1.06); }
.gl-card-projeto .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,12,14,0) 40%, rgba(3,12,14,.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.gl-card-projeto .badge-origem {
  align-self: flex-start;
  background: var(--gl-accent);
  color: var(--gl-bg-3);
  font-family: var(--gl-font-accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: auto;
}
.gl-card-projeto h3 { font-size: 1.1rem; margin-bottom: 4px; }
.gl-card-projeto .categoria { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ===== Admin (painel) — reaproveita os mesmos tokens ===== */
.admin-sidebar { background-color: var(--gl-bg-3); min-height: 100vh; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.7); }
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover { color: var(--gl-accent); }
.admin-content { background-color: #f4f4f4; color: #222; min-height: 100vh; }
