
:root{
  --bg:#080808;
  --panel:#121212;
  --panel2:#1a1a1a;
  --text:#f3f3f3;
  --muted:#b9b9b9;
  --line:#333;
  --accent:#d8d8d8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(0,0,0,.93);
  border-bottom:1px solid var(--line);
}
.nav{
  max-width:1180px;
  margin:auto;
  padding:16px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:2px;
}
nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
nav a{
  padding:9px 12px;
  color:#ddd;
  border-radius:7px;
  transition:.2s;
  font-size:.92rem;
}
nav a:hover, nav a.active{
  background:#f1f1f1;
  color:#050505;
}
.hero{
  min-height:calc(100vh - 72px);
  max-width:1180px;
  margin:auto;
  padding:54px 22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(2.5rem, 6vw, 5.6rem);
  line-height:.95;
  margin:0 0 22px;
  letter-spacing:2px;
}
.hero-copy p{
  color:var(--muted);
  font-size:1.1rem;
  max-width:650px;
}
.btn{
  display:inline-block;
  margin-top:14px;
  padding:12px 20px;
  border:1px solid #eee;
  border-radius:6px;
  font-weight:700;
}
.btn:hover{
  background:#eee;
  color:#111;
}
.hero-img{
  width:100%;
  max-width:560px;
  justify-self:center;
  border:1px solid #2c2c2c;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}
.page{
  max-width:1050px;
  margin:auto;
  padding:70px 22px 90px;
}
.page h1{
  font-size:clamp(2.2rem,5vw,4rem);
  margin:0 0 14px;
}
.lead{
  color:#c6c6c6;
  font-size:1.08rem;
  max-width:820px;
}
.card{
  margin-top:32px;
  padding:28px;
  background:var(--panel);
  border:1px solid #292929;
  border-radius:12px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:34px;
}
.grid .card{margin-top:0}
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  margin-top:34px;
}
.gallery figure{
  margin:0;
  background:var(--panel);
  border:1px solid #292929;
  padding:12px;
  border-radius:12px;
}
.gallery img{
  width:100%;
  display:block;
  border-radius:8px;
}
.gallery figcaption{
  padding:13px 6px 3px;
  color:#bbb;
}
.contact-form{
  display:grid;
  gap:14px;
  max-width:680px;
  margin-top:28px;
}
input, textarea{
  width:100%;
  padding:13px 14px;
  border-radius:7px;
  border:1px solid #3a3a3a;
  background:#111;
  color:#fff;
}
textarea{min-height:150px;resize:vertical}
button{
  width:max-content;
  padding:12px 20px;
  border:0;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
}
footer{
  border-top:1px solid var(--line);
  color:#999;
  text-align:center;
  padding:26px 18px;
  font-size:.9rem;
}
.note{
  color:#999;
  font-size:.92rem;
}
@media(max-width:800px){
  .nav{flex-direction:column;align-items:flex-start}
  .hero{grid-template-columns:1fr;min-height:auto}
  .grid{grid-template-columns:1fr}
}

.brand{display:flex;align-items:center}
.brand img{display:block;width:220px;max-width:32vw;height:58px;object-fit:contain;object-position:left center}
.texugo-feature{margin-top:34px;text-align:center}
.texugo-feature img{width:100%;max-width:760px;height:auto;border:1px solid #292929;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.45)}
@media(max-width:800px){.brand img{width:190px;max-width:70vw;height:52px}}

/* Home: somente o brasão, centralizado */
.home-brasao-only{
  min-height:calc(100vh - 150px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 22px;
}
.home-brasao-only img{
  display:block;
  width:min(620px, 88vw);
  height:auto;
  object-fit:contain;
}

/* Remove todos os traços/bordas decorativas do site */
header, footer, .hero-img, .card, .gallery figure, .texugo-feature img, .btn, input, textarea{
  border:none !important;
}


/* Proteção básica das imagens contra salvar/arrastar pelo navegador */
img{
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
}


/* ===== Home cinematográfica ===== */
.home-page{
  overflow-x:hidden;
}
.home-page .home-brasao-only{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:calc(100vh - 150px);
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.045), transparent 32%),
    #050505;
}
.home-atmosphere{
  position:absolute;
  inset:-18%;
  z-index:-1;
  opacity:0;
  filter:blur(34px);
  background:
    radial-gradient(ellipse at 22% 55%, rgba(190,190,190,.11) 0 10%, transparent 34%),
    radial-gradient(ellipse at 78% 42%, rgba(160,160,160,.09) 0 9%, transparent 31%),
    radial-gradient(ellipse at 52% 72%, rgba(210,210,210,.07) 0 8%, transparent 28%);
  animation:smokeIn 2.6s ease 1.1s forwards, smokeDrift 15s ease-in-out 3.7s infinite alternate;
  pointer-events:none;
}
.brasao-stage{
  position:relative;
  width:min(680px, 90vw);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:scale(1.055);
  animation:crestReveal 2.2s cubic-bezier(.2,.75,.2,1) .25s forwards;
}
.brasao-stage::before{
  content:"";
  position:absolute;
  inset:12% 12%;
  z-index:-1;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  filter:blur(46px);
  opacity:0;
  animation:haloIn 2.4s ease 1s forwards, haloPulse 5.6s ease-in-out 3.4s infinite;
}
.home-brasao-only .brasao-animado{
  width:100%;
  max-width:none;
  position:relative;
  z-index:1;
  filter:brightness(.64) contrast(1.08);
  animation:crestLight 2.1s ease .3s forwards, crestBreath 6s ease-in-out 2.6s infinite;
  transition:filter .55s ease, transform .55s ease;
  will-change:transform,filter;
}
.brasao-stage:hover .brasao-animado{
  filter:brightness(1.08) contrast(1.12) drop-shadow(0 0 18px rgba(255,255,255,.16));
  transform:scale(1.018);
}
.metal-shine{
  position:absolute;
  inset:0;
  z-index:2;
  overflow:hidden;
  pointer-events:none;
  -webkit-mask:url('brasao_nomad.jpg') center/contain no-repeat;
  mask:url('brasao_nomad.jpg') center/contain no-repeat;
  opacity:0;
}
.metal-shine::before{
  content:"";
  position:absolute;
  top:-15%;
  bottom:-15%;
  width:20%;
  left:-35%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  filter:blur(7px);
  animation:shineSweep 1.35s ease 1.75s 1 forwards;
}

@keyframes crestReveal{
  0%{opacity:0;transform:scale(1.055)}
  45%{opacity:.72}
  100%{opacity:1;transform:scale(1)}
}
@keyframes crestLight{
  from{filter:brightness(.54) contrast(1.05)}
  to{filter:brightness(1) contrast(1.08)}
}
@keyframes crestBreath{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.012)}
}
@keyframes smokeIn{to{opacity:.55}}
@keyframes smokeDrift{
  0%{transform:translate3d(-2%,1%,0) scale(1.02)}
  50%{transform:translate3d(2%,-1.5%,0) scale(1.08)}
  100%{transform:translate3d(4%,1%,0) scale(1.04)}
}
@keyframes haloIn{to{opacity:.35}}
@keyframes haloPulse{
  0%,100%{opacity:.22;transform:scale(.96)}
  50%{opacity:.42;transform:scale(1.05)}
}
@keyframes shineSweep{
  0%{left:-35%;opacity:0}
  18%{opacity:.8}
  82%{opacity:.7}
  100%{left:118%;opacity:0}
}

@media (prefers-reduced-motion: reduce){
  .home-atmosphere,
  .brasao-stage,
  .brasao-stage::before,
  .home-brasao-only .brasao-animado,
  .metal-shine::before{
    animation:none !important;
  }
  .home-atmosphere{opacity:.35}
  .brasao-stage{opacity:1;transform:none}
  .home-brasao-only .brasao-animado{filter:brightness(1) contrast(1.08)}
}

@media(max-width:800px){
  .home-page .home-brasao-only{min-height:calc(100vh - 185px);padding:34px 16px}
  .brasao-stage{width:min(560px, 94vw)}
  .home-atmosphere{filter:blur(26px)}
}

/* Home: fundo totalmente preto, mantendo animação do brasão */
.home-page,
.home-page .home-brasao-only{
  background:#000 !important;
}
.home-atmosphere,
.brasao-stage::before{
  display:none !important;
}
