:root {
  --cyber-dark: #0f172a;
  --cyber-slate: #1e293b;
  --emerald-tech: #0d9488;
  --emerald-dark: #0f766e;
  --emerald-light: #f0fdfa;
  --amber-accent: #d97706;
  --border-slate: #cbd5e1;
  --muted-slate: #64748b;
  --white: #ffffff;
  --bg-page: #f1f5f9;
  --text-main: #0f172a;
  --text-body: #334155;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --linkedin: #0a66c2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
}

a {
  color: var(--emerald-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cabeçalho Escuro Corporativo */
header {
  background-color: var(--cyber-dark);
  border-bottom: 3px solid var(--emerald-tech);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.brand-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.4px;
}

.brand-title span {
  color: #2dd4bf;
}

.brand-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
  transition: color 0.2s;
  text-decoration: none !important;
}

nav a:hover, nav a.active {
  color: #2dd4bf;
}

.btn-nav {
  background-color: var(--emerald-tech);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 6px;
}

.btn-nav:hover {
  background-color: var(--emerald-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #090d16 0%, var(--cyber-dark) 55%, #132a2e 100%);
  color: var(--white);
  padding: 76px 0;
  border-bottom: 4px solid var(--emerald-tech);
}

.hero-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.22);
  border: 1px solid #2dd4bf;
  color: #99f6e4;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 860px;
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whats {
  background-color: var(--whatsapp);
  color: var(--white) !important;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn-whats:hover {
  background-color: var(--whatsapp-hover);
}

.btn-primary {
  background-color: var(--emerald-tech);
  color: var(--white) !important;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white) !important;
  border: 1.5px solid #94a3b8;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none !important;
}

.btn-outline:hover {
  border-color: #2dd4bf;
  background-color: rgba(45, 212, 191, 0.12);
}

/* Seções Gerais */
section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.section-header {
  margin-bottom: 38px;
}

.section-header h2 {
  font-size: 1.85rem;
  color: var(--cyber-dark);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-body);
  max-width: 760px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-slate);
  border-top: 4px solid var(--emerald-tech);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  color: var(--cyber-dark);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-body);
  font-size: 0.96rem;
}

/* Caixa Técnica / Destaque */
.highlight-box {
  background-color: var(--emerald-light);
  border-left: 5px solid var(--emerald-tech);
  padding: 28px;
  border-radius: 6px;
  border-top: 1px solid #99f6e4;
  border-right: 1px solid #99f6e4;
  border-bottom: 1px solid #99f6e4;
}

.highlight-box h3 {
  color: var(--cyber-dark);
  margin-bottom: 10px;
}

.check-list {
  list-style: none;
  margin-top: 14px;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  color: var(--text-body);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-dark);
  font-weight: 800;
}

/* Tabela Técnica */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border-slate);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.93rem;
}

th {
  background-color: var(--cyber-dark);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-slate);
  color: var(--text-body);
  vertical-align: top;
}

tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* Formulários e Guias de Envio */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--cyber-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--white);
  color: var(--text-main);
}

.form-group textarea {
  min-height: 115px;
  resize: vertical;
}

.protocolo-card {
  background: #f8fafc;
  border: 1px solid var(--border-slate);
  border-left: 4px solid var(--amber-accent);
  border-radius: 6px;
  padding: 20px;
  margin: 18px 0;
}

.protocolo-card h3 {
  color: var(--cyber-dark) !important;
  margin-top: 0 !important;
}

/* FAQ */
details {
  background: var(--white);
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

summary {
  font-weight: 700;
  color: var(--cyber-dark);
  cursor: pointer;
  font-size: 1.04rem;
}

details p {
  margin-top: 12px;
  color: var(--text-body);
}

/* Artigos e Páginas Internas */
.article-meta {
  font-size: 0.84rem;
  color: var(--emerald-dark);
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--border-slate);
  border-radius: 8px;
  padding: 38px;
  max-width: 920px;
  margin: 0 auto;
}

.article-body h1 {
  color: var(--cyber-dark);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.article-body h2 {
  color: var(--cyber-dark);
  font-size: 1.42rem;
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.article-body h3 {
  color: var(--cyber-slate);
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-body);
}

/* Barra de Compartilhamento */
.share-bar {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-slate);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyber-dark);
  margin-right: 6px;
}

.btn-share {
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white) !important;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-decoration: none !important;
}

.share-wa { background-color: var(--whatsapp); }
.share-li { background-color: var(--linkedin); }
.share-cp { background-color: var(--cyber-slate); }

/* Rodapé */
footer {
  background-color: var(--cyber-dark);
  color: #cbd5e1;
  padding: 52px 0 28px;
  border-top: 4px solid var(--emerald-tech);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

footer p {
  margin-bottom: 6px;
}

footer a {
  color: #cbd5e1;
}

footer a:hover {
  color: #2dd4bf;
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Botão Flutuante WhatsApp */
.float-whats {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: var(--whatsapp);
  color: var(--white) !important;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 999;
  text-decoration: none !important;
}

.float-whats:hover {
  background-color: var(--whatsapp-hover);
}

@media (max-width: 680px) {
  .hero h1 { font-size: 1.8rem; }
  .article-body { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Estrutura de Imagem Responsiva (Desktop Panorâmica vs Mobile 3 Painéis) */
.hero-showcase {
  margin-top: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(45, 212, 191, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  background-color: #090d16;
}

.hero-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.section-showcase {
  margin: 28px 0 36px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-slate);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  background-color: #090d16;
}

.section-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-caption {
  background-color: var(--cyber-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-top: 1px solid rgba(45, 212, 191, 0.3);
  text-align: center;
}
