/* Cabeçalho compartilhado do site — mesmo visual do cabeçalho da home (index.html) */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500&display=swap");

.tc-header{
  --tc-logo-mark:22px;
  --tc-nav:14px;
  --tc-nav-h:40px;
  --tc-btn:13.5px;
  --tc-btn-h:40px;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px 10px;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.tc-header, .tc-header *, .tc-header *::before, .tc-header *::after{ box-sizing: border-box; }
.tc-header a{ color: inherit; text-decoration: none; }
.tc-header a:focus-visible, .tc-header button:focus-visible{ outline: 2px solid #9fe0ff; outline-offset: 3px; border-radius: 4px; }

.tc-logo{ display: inline-flex; align-items: center; justify-self: start; }
.tc-logo img{ height: calc(var(--tc-logo-mark) * 1.3); width: auto; max-width: none; display: block; }

.tc-nav{ display: flex; align-items: center; gap: 8px; justify-self: center; }
.tc-navlink{
  height: var(--tc-nav-h);
  padding: 0 18px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(198,198,198,0.55);
  background: linear-gradient(105deg, #050505 0%, #2a2a2a 48%, #4a4a4a 100%);
  color: #f3f3f3 !important;
  font-size: var(--tc-nav);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.tc-navlink-shine{
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.tc-navlink:hover .tc-navlink-shine{ transform: translateX(120%); }
.tc-navlink:hover{
  border-color: rgba(235,235,235,0.9);
  background: linear-gradient(105deg, #111111 0%, #3a3a3a 45%, #6a6a6a 100%);
  box-shadow: 0 0 18px rgba(200,210,230,0.18);
}
.tc-navlink.is-active{
  border-color: rgba(124,242,214,0.65);
  background: linear-gradient(105deg, #0a1512 0%, #12332c 48%, #1c5347 100%);
  color: #eafff8 !important;
}

.tc-header-right{ display: flex; align-items: center; gap: 12px; justify-self: end; }

.tc-btn{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--tc-btn-h);
  padding: 0 18px;
  border-radius: 6px;
  font-size: var(--tc-btn);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #e9f7f3 48%, #cdeee4 100%);
  color: #0b1e1a !important;
  border: 1px solid #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.tc-btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.45) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.tc-btn:hover::after{ transform: translateX(130%); }
.tc-btn:hover{
  background: linear-gradient(180deg, #ffffff 0%, #eafff8 42%, #bdf0e0 100%);
  border-color: #eafff8;
  box-shadow: inset 0 1px 0 #ffffff, 0 0 22px rgba(124,242,214,0.4), 0 8px 18px rgba(124,242,214,0.14);
}

.tc-burger{
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(196,214,232,0.72);
  background: rgba(8,8,8,0.55);
  z-index: 60;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.tc-burger:hover{ border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.05); }
.tc-burger-bar{ width: 16px; height: 1.5px; background: #ffffff; border-radius: 1px; transition: transform 0.25s ease, opacity 0.2s ease; }
body.tc-menu-open .tc-burger-bar:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
body.tc-menu-open .tc-burger-bar:nth-child(2){ opacity: 0; }
body.tc-menu-open .tc-burger-bar:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.tc-menu-backdrop{
  display: block;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8,8,8,0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, backdrop-filter 0.28s ease;
}
body.tc-menu-open .tc-menu-backdrop{ opacity: 1; visibility: visible; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
body.tc-menu-open{ overflow: hidden; }

@media (max-width: 900px){
  .tc-header{ grid-template-columns: 1fr auto auto; gap: 8px; padding-left: 16px; padding-right: 16px; }
  .tc-nav{ display: none; }
  .tc-burger{ display: flex; }
  body.tc-menu-open .tc-nav{
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 96px 22px 32px;
  }
  body.tc-menu-open .tc-navlink{ width: 100%; height: 56px; font-size: 19px; border-radius: 10px; justify-content: center; }
}
@media (max-width: 560px){
  .tc-header-right .tc-header-cta{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .tc-header *, .tc-header *::before, .tc-header *::after, .tc-menu-backdrop{ transition: none !important; }
}
