/* ===================================== */
/* MOBILE ONLY - Bash Security */
/* ===================================== */

@media (max-width: 768px) {

/* ========================= */
/* BASE */
/* ========================= */

.container {
  padding: 0 16px;
}

body {
  font-size: 16px;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #0d1117;
  border-bottom: 1px solid #1f2933;
}

/* ancora contexto */
.header-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

/* logo */
.logo-img {
  max-width: 140px;
  height: auto;
}

/* botão menu */
.menu-toggle {
  display: block;
  font-size: 28px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: none;
  color: #38BDF8;
  cursor: pointer;
  z-index: 2100; /* fica acima do menu */
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* ========================= */
/* MENU (OVERLAY FULLSCREEN) */
/* ========================= */

.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: #0d1117;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 2000;

  /* estado fechado */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;

  transition: all 0.3s ease;
}

/* estado aberto */
.nav-main.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* links */
.nav-main a {
  display: block;
  padding: 16px;
  border-bottom: 1px solid #1f2933;
  text-decoration: none;
  font-size: 20px;
  text-align: center;
}

/* remove pipes */
.nav-main {
  font-size: 0;
}

.nav-main a {
  font-size: 20px;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 16px;
}

.hero-photo img {
  width: 140px;
  margin: 0 auto;
}

/* ========================= */
/* SECTIONS */
/* ========================= */

.section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  padding: 16px;
}

/* ========================= */
/* TIPOGRAFIA */
/* ========================= */

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

/* ========================= */
/* IMAGENS */
/* ========================= */

img {
  max-width: 100%;
  height: auto;
}

/* ========================= */
/* INTERAÇÃO */
/* ========================= */

a, button {
  min-height: 44px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

a {
  transition: color 0.2s ease;
}

/* ========================= */
/* SCROLL */
/* ========================= */

html {
  scroll-behavior: smooth;
}

/* ========================= */
/* ESPAÇAMENTO */
/* ========================= */

.section,
.hero,
footer {
  margin-top: 20px;
}

}