:root{
  --bg:#171717;
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.06);
  --white:#ffffff;
  --max-width:1400px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Header layout */
.site-header{
  min-height:72vh;
  padding-top: 40px;
  padding-bottom:48px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.header2 {
  min-height: 0;
}

.imglogo {
  width: 100px;
}

/* top bar (logo + nav) */
.topbar{
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:40px 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Logo */
.logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.logo svg{ display:block; }

/* Nav */
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:48px; /* espaçamento entre itens, como na imagem */
  align-items:center;
}
.main-nav a{
  color:var(--muted);
  text-decoration:none;
  text-transform:uppercase;
  font-size:17px;
  font-weight: 600;
  letter-spacing:1px;
  padding:6px 0;
  transition: color .18s ease, transform .12s ease;
}
.main-nav a:hover{
  color:var(--white);
  transform:translateY(-1px);
}
.main-nav a.active{
  color:var(--white);
  font-weight:600;
}

/* HERO grande texto */
.hero{
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:24px 56px 0 56px;
  display:block;
}
.hero-title{
  margin:48px 0 0 0;
  color:var(--white);
  font-weight:300;
  line-height:0.9;
  /* tamanho responsivo similar ao da imagem: grande em desktop, menor em mobile */
  font-size: clamp(48px, 12vw, 140px);
  letter-spacing: -1px;
  max-width:1100px;
}

/* destacar a segunda linha se quiser: */
.hero-title span{
  display:inline-block;
  font-weight:300;
}

/* Cursor e estilo do texto digitado */
.hero-sub { font-weight:300; display:inline-block; }
.typed-words {
  color: #918bff;
  display:inline-block;
  min-width: 8ch; /* evita "pulinho" quando estiver vazio; ajuste conforme necessidade */
  vertical-align: middle;
  white-space: nowrap;
}

/* Cursor animado */
.typed-cursor {
  display:inline-block;
  width: .68ch;
  margin-left: 6px;
  background: currentColor;
  opacity: 0.9;
  transform-origin: center;
  border-radius: 2px;
  height: 1.1em;
  vertical-align: middle;
  opacity: 0;
  /* animation: blinkCursor 900ms steps(1) infinite; */
}

/* Pequeno refinamento para o cursor como linha fina */
.typed-cursor::after{
  content: "";
  display:block;
  width: 1px;
  height: 100%;
  background: currentColor;
  margin: 0 auto;
}

/* Piscar do cursor */
@keyframes blinkCursor {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Redução de movimento: remove animações e mostra a primeira palavra estática */
@media (prefers-reduced-motion: reduce){
  .typed-cursor { animation: none; display:none; }
}


/* Divisor no rodapé do header (linha fina) */
.divider{
  width:100%;
  max-width:var(--max-width);
  margin:48px auto 0 auto;
  height:1px;
  background:var(--muted-2);
  opacity:1;
}


.logo.logo-animate{
  animation: logoEntrance 2s cubic-bezier(.2,.9,.3,1) forwards;
}

@keyframes logoEntrance{
  from{
    transform: scale(0.4) rotate(0deg);
  }
  to{
    transform: scale(1) rotate(1080deg); /* 3 voltas = 1080deg */
  }
}

/* respeitar redução de movimento do usuário */
@media (prefers-reduced-motion: reduce){
  .logo.logo-animate{
    animation: none;
    transform: scale(1); /* fim do estado animado */
  }
}

.logorotate {
  transform-box: fill-box;
  -webkit-transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 320ms cubic-bezier(.2,.9,.3,1);
}

.logorotate:hover {
  transform: rotate(10deg);
}

.sections {
  padding-left: 35px;
  font-family: "montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.sections button{
  font-family: "montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


/* Responsividade básica para mobile */
@media (max-width:900px){
  .topbar{ padding:28px 28px; }
  .hero{ padding:12px 28px 0 28px; }
  .main-nav ul{ gap:20px; }
  .hero-title{ font-size: clamp(36px, 14vw, 80px); }
  .divider{ margin-top:28px }
  .main-nav a{font-size: 13px;}
  .imglogo{ width: 60px;}
}

@media (max-width:480px){
  .topbar{ padding:20px; }
  .main-nav ul{ gap:12px; font-size:13px; }
  .hero-title{ font-size: clamp(30px, 18vw, 48px); line-height:1; }
  .logo svg{ width:36px; height:36px; }
  .main-nav a{font-size: 2.3vw;}
}



/* Rodapé */
.site-footer {
  border-top:1px solid var(--muted-2);
  color: var(--text, #0b0b0b);
  padding: 28px 0;
  min-height: 300px;
  display: flex;
}
.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:200px;
  max-width:var(--container,1200px);
  margin:0 auto;
  padding:0 20px;
}

/* Brand / logo */
.footer-brand { display:flex; flex-direction:column; gap:8px; min-width:160px; }
.footer-logo { width:140px; height:auto; display:block; }
.footer-logo-link { display:inline-block; }
.footer-copy { margin:0; color:var(--muted, #707070); font-size:13px; }

/* Mapa do site */
.footer-nav ul { list-style:none; margin:0; padding:0; display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
.footer-nav a { color:var(--muted); text-decoration:none; font-weight:600; font-size:14px; }
.footer-nav a:hover, .footer-nav a:focus { color:white; outline:none; }

/* Redes sociais */
.footer-socials { display:flex; gap:14px; align-items:center; }
.social-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  text-decoration:none;
  transition: background 180ms ease, color 180ms ease, transform 160ms ease;
  border:1px solid rgba(0,0,0,0.04);
}
.social-link svg { display:block; }
.social-link:hover, .social-link:focus {
  background:var(--accent, #111);
  color:#fff;
  transform:translateY(-3px);
  outline:none;
}

@media (max-width: 880px) {
  .footer-inner { flex-direction:column; gap:18px; padding:0 16px;}
  .footer-nav ul { gap:12px; }
  .footer-brand { flex-direction:row; align-items:center; gap:12px; }
  .footer-copy { font-size:12px; }
  .container .footer-inner { align-items: center;}
}