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

: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: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height:1.55;
  overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.container{
  width:100%;
  max-width: 1200px;
  margin:0 auto;
  padding: 0 24px;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}

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

.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);
}

.header-scrolled .brand-logo {
  height: 52px;
}

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

.social-highlight {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 148px;
  padding: 8px 10px;
  border: 1px solid rgba(184,155,58,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.social-highlight-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

.social-highlight-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-highlight-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  color: var(--white);
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}

.social-highlight-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-highlight-links a:hover {
  color: var(--gold);
  border-color: rgba(184,155,58,0.36);
  background: rgba(184,155,58,0.10);
  transform: translateY(-1px);
}

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

.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: flex-start;
  align-items: center;
  padding: 112px 20px 36px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .4s ease;
  z-index: 1400;
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
  width: min(100%, 320px);
}

.mobile-menu a {
  font-size: 22px;
  text-decoration: none;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
}

.mobile-cta {
  margin-top: 30px;
  width: min(100%, 320px);
}

/* 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;
}

.section-intro {
  max-width: 820px;
  color: rgba(255,255,255,0.72);
  margin-top: 14px;
}

.content-grid {
  margin-top: 26px;
}

.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-icon{
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(184,155,58,0.24);
  background: linear-gradient(180deg, rgba(184,155,58,0.14), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.card-icon svg{
  width: 22px;
  height: 22px;
  fill: var(--gold);
}
.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: 92vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(7,10,14,0.78) 0%, rgba(7,10,14,0.54) 30%, rgba(7,10,14,0.18) 58%, rgba(7,10,14,0.10) 100%),
    linear-gradient(180deg, rgba(8,9,12,0.40) 0%, rgba(8,9,12,0.12) 38%, rgba(8,9,12,0.54) 100%),
    url('../assets/img/novohero-desktop.jpg') center center/cover no-repeat;
  margin-top: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,10,0.08) 0%, rgba(5,7,10,0.16) 34%, rgba(5,7,10,0.52) 100%);
}

.premium-hero::before,
.premium-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(16px);
}

.premium-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -40px;
  background: radial-gradient(circle, rgba(39,123,181,0.24) 0%, rgba(39,123,181,0) 72%);
}

.premium-hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(184,155,58,0.16) 0%, rgba(184,155,58,0) 72%);
}

.hero-centered {
  position: relative;
  z-index: 2;
}

.hero-centered-visual {
  width: 100%;
  max-width: 1200px;
  padding-top: 180px;
  padding-bottom: 72px;
}

.hero-centered-visual .premium-badge,
.hero-centered-visual .premium-sub,
.hero-centered-visual .premium-actions {
  max-width: 430px;
}

.hero-mobile-title {
  display: none;
}

.premium-badge {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid rgba(184,155,58,0.35);
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 18px;
  background: rgba(7,10,14,0.44);
  backdrop-filter: blur(12px);
}

.premium-title {
  font-family: Georgia, "Times New Roman", 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: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.premium-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
  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; }

.contact-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

.contact-item a {
  color: var(--gold);
  font-weight: 600;
  word-break: break-word;
}

/* LEGAL PAGES */
.legal-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at top, rgba(184,155,58,0.10), transparent 30%),
    linear-gradient(180deg, rgba(10,10,10,0.96), rgba(10,10,10,1));
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(184,155,58,0.18);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  color: var(--text);
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184,155,58,0.24);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-title {
  margin: 18px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.1;
  color: var(--white);
}

.legal-meta {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.56);
  font-size: 13px;
}

.legal-intro {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.76);
  font-size: 15px;
}

.legal-block + .legal-block {
  margin-top: 26px;
}

.legal-block h2 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--white);
}

.legal-shell a:not(.btn) {
  color: var(--gold);
}

.legal-block p,
.legal-block li {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
}

.legal-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 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-social{
  display:flex;
  gap:12px;
  margin-top: 14px;
}
.footer-social a{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(184,155,58,0.92);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.footer-social a svg{
  width:16px;
  height:16px;
  fill: currentColor;
}
.footer-social a:hover{
  color: var(--gold);
  border-color: rgba(184,155,58,0.36);
  background: rgba(184,155,58,0.10);
  transform: translateY(-1px);
}
.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) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .nav-premium {
    display: none;
  }
  .social-highlight {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .btn-small {
    display: none;
  }
}
@media (max-width: 768px){
  .header-premium {
    padding: 12px 0;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-logo {
    height: 42px;
  }
  .premium-title {
    display: block;
    font-size: 40px;
  }
  .premium-hero {
    background:
      radial-gradient(circle at top, rgba(184,155,58,0.16), transparent 38%),
      linear-gradient(135deg, rgba(10,10,10,0.84), rgba(10,10,10,0.96)),
      url('../assets/img/mobile_hero_fechado.png') center/cover no-repeat;
    min-height: 85vh;
    align-items: center;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.42) 0%, rgba(10,10,10,0.82) 100%);
  }
  .hero-centered-visual {
    max-width: 900px;
    text-align: center;
    padding-top: 138px;
    padding-bottom: 80px;
  }
  .hero-centered-visual .premium-badge,
  .hero-centered-visual .premium-sub,
  .hero-centered-visual .premium-actions {
    max-width: none;
  }
  .hero-mobile-title {
    display: block;
  }
  .premium-badge {
    margin-bottom: 28px;
  }
  .premium-sub {
    margin-top: 18px;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .premium-actions {
    justify-content: center;
  }
  .grid-3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .social-highlight-links {
    justify-content: center;
  }
  .legal-shell {
    padding: 24px;
  }
  .legal-title {
    font-size: 34px;
  }
}
@media (max-width: 560px){
  .container {
    padding: 0 18px;
  }
  .mobile-menu {
    padding: 92px 18px 28px;
  }
  .mobile-menu nav {
    gap: 18px;
  }
  .mobile-menu a {
    font-size: 19px;
  }
  .brand-logo {
    height: 38px;
  }
  .section {
    padding: 88px 0;
  }
  .premium-title {
    font-size: 34px;
    line-height: 1.08;
  }
  .premium-badge {
    margin-bottom: 22px;
    padding: 5px 12px;
    font-size: 11px;
  }
  .premium-sub {
    font-size: 15px;
    letter-spacing: 0.08em;
  }
  .premium-actions {
    gap: 12px;
  }
  .premium-actions .btn {
    width: 100%;
  }
  .cookie-banner__content {
    padding: 14px 16px;
  }
  .cookie-banner__actions .btn {
    width: 100%;
  }
}
