/* ============================================================
   layout.css — Container, seções, header, drawer, footer
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  z-index: 1;
}

/* Cabeçalho de seção */
.head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
}
.eyebrow__line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow__t {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow--light .eyebrow__t,
.eyebrow--light .eyebrow__n {
  color: #fff;
}
.eyebrow--light .eyebrow__line {
  background: linear-gradient(90deg, #fff, transparent);
}
.head__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.head__title em {
  color: var(--accent);
  font-weight: 500;
}
.head__desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 18px;
}

/* ---------------- HEADER ---------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: transform 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition:
    opacity 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--border);
}
.header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand__img {
  height: 75px; /* logo aumentada */
  width: auto;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__img {
  transform: scale(1.05);
}
.brand__text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}
.brand__d {
  color: var(--accent);
}
.brand__hub {
  color: var(--text-dim);
  font-size: 0.9em;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 100px;
  position: relative;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.nav__link:hover {
  color: var(--text);
  background: var(--accent-soft);
}
.nav__link:hover::after {
  width: 18px;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------------- FOOTER ---------------- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__logo {
  height: 64px; /* logo aumentada */
  width: auto;
  margin-bottom: 18px;
}
.footer__desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 300px;
  margin-bottom: 22px;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.footer__socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}
.footer__socials i {
  width: 18px;
  height: 18px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition:
    color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}
.footer__col a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
