/* =========================
   Build Atlas — Premium Theme v2.0
   Preto + Vermelho + Dourado
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root{
  --black: #0A0A0A;
  --black-2:#141414;
  --red:   #9E1010;
  --red-h: #7E0D0D;
  --gold:  #B89B3A;
  --white: #FFFFFF;
  --text:  #EDEDED;
  --muted: #B9B9B9;
  --line:  rgba(255,255,255,0.10);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --shadow-soft: 0 14px 40px rgba(0,0,0,0.45);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--black);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
  overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
.container{
  width:100%;
  max-width: 1200px;
  margin:0 auto;
  padding: 0 24px;
}

/* Header Premium */
.header-premium {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all .3s ease;
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-premium {
  display: flex;
  gap: 34px;
}

.nav-premium a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s ease;
}

.nav-premium a:hover {
  color: var(--gold);
}

.header-scrolled {
  background: #0A0A0A;
  backdrop-filter: blur(6px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

/* Mobile Premium Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(4px);
}

.menu-toggle.active span:nth-child(2) {
  transform: rotate(-45deg) translateY(-4px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform .4s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.mobile-menu a {
  font-size: 22px;
  text-decoration: none;
  color: white;
  font-family: 'Playfair Display', serif;
}

.mobile-cta {
  margin-top: 40px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border:1px solid transparent;
  font-weight:600;
  font-size:13px;
  transition: all .18s ease;
  cursor:pointer;
}
.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(158,16,16,0.20);
}
.btn-primary:hover{ background: var(--red-h); transform: translateY(-1px); }
.btn-secondary{
  background: transparent;
  border-color: rgba(184,155,58,0.40);
  color: var(--gold);
}
.btn-secondary:hover{ background: rgba(184,155,58,0.10); }

/* Main layout / Sections / Grid */
.section{
  padding: 110px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 22px;
  transition: transform .2s ease, border .2s ease;
}
.card:hover{
  border-color: rgba(184,155,58,0.28);
  transform: translateY(-2px);
}
.card h3{
  margin:0;
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
}
.card p{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

/* HERO PREMIUM */
.premium-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/img/hero-build-atlas.jpg') center/cover no-repeat;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.88);
}

.hero-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.premium-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(184,155,58,0.35);
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 28px;
}

.premium-title {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.premium-title span {
  color: var(--gold);
}

.premium-sub {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.premium-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* AUTORIDADE MINIMAL */
.autoridade-minimal {
  padding: 120px 0;
  background: #0A0A0A;
}

.autoridade-wrapper {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.autoridade-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeLine 0.8s ease-out forwards;
}

@keyframes fadeLine {
  from { opacity: 0; }
  to { opacity: 0.6; }
}

.autoridade-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 24px;
}

.autoridade-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
}

.autoridade-text.muted {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* FORM / CONTACT */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items:start;
}

.form{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(184,155,58,0.2);
  background: rgba(255,255,255,0.04);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.input{
  width:100%;
  background: rgba(0,0,0,0.40);
  border:1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--white);
  outline: none;
  font-size: 13px;
}
.input:focus{
  border-color: rgba(184,155,58,0.35);
}
.label{
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  display:block;
  margin-bottom: 6px;
}
.form-row{ margin-bottom: 12px; }

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background-color: var(--black);
  color: rgba(255,255,255,0.60);
  font-size: 12px;
}
.footer-links{
  display:flex; gap: 14px; flex-wrap:wrap;
  margin-top: 10px;
}
.footer-links a{
  color: rgba(184,155,58,0.85);
}
.footer-links a:hover{ color: var(--gold); }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    background: rgba(2, 12, 27, 0.98);
    border: 1px solid rgba(184,155,58,0.4);
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.cookie-banner__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-banner__content p {
    color: var(--muted);
    font-size: 0.9rem;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .nav-premium {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .btn-small {
    display: none;
  }
}
@media (max-width: 768px){
  .premium-title { font-size: 40px; }
  .grid-3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
}