/* ============================================================
   GLADIUM TECNOLOGIA — Central de Privacidade e Termos
   CSS Global — v1.0 | Abril 2026
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta principal */
  --primary:       #0B1F3A;   /* Azul marinho institucional */
  --primary-light: #122f56;
  --accent:        #1A6FBB;   /* Azul tecnológico */
  --accent-hover:  #155fa0;
  --accent-light:  #e8f2fc;
  --gold:          #C8922A;   /* Dourado / detalhe premium */
  --gold-light:    #fdf3e3;

  /* Produtos */
  --pay-color:     #1A6FBB;
  --erp-color:     #0E7C6E;
  --saude-color:   #8B2FC9;

  /* Neutros */
  --white:         #FFFFFF;
  --off-white:     #F8F9FB;
  --gray-50:       #F2F4F7;
  --gray-100:      #E4E8EF;
  --gray-200:      #C7D0DC;
  --gray-400:      #8A96A8;
  --gray-600:      #4E5B6E;
  --gray-800:      #2C3546;
  --text:          #1E2A3B;
  --text-muted:    #5A6A7E;

  /* Tipografia */
  --font-main:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;

  /* Espaçamento */
  --nav-h: 72px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(11,31,58,.08);
  --shadow:    0 4px 16px rgba(11,31,58,.10);
  --shadow-md: 0 8px 28px rgba(11,31,58,.13);
  --shadow-lg: 0 16px 48px rgba(11,31,58,.18);

  /* Transições */
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-main);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITÁRIOS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1320px; }

.section { padding: 80px 0; }
.section--sm { padding: 52px 0; }
.section--lg { padding: 100px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
}

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.site-header .container { height: 100%; }
.site-header .flex-between { height: 100%; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 800;
  letter-spacing: -.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,111,187,.4);
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gray-200);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav principal */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-200);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,.10);
  color: var(--white);
}
.nav-link i { font-size: .7rem; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 2000;
  overflow: hidden;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: background var(--transition);
  border-bottom: 1px solid var(--gray-50);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--gray-50); color: var(--accent); }
.dropdown-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-pay   { background: var(--pay-color); }
.dot-erp   { background: var(--erp-color); }
.dot-saude { background: var(--saude-color); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: transparent;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--gray-200);
  font-weight: 500;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: rgba(255,255,255,.10); color: var(--white); }
.mobile-nav-group { margin-top: 8px; }
.mobile-nav-group-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 18px;
}
.mobile-nav-sub {
  display: block;
  padding: 10px 18px 10px 34px;
  color: var(--gray-200);
  font-size: .9rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-nav-sub:hover { background: rgba(255,255,255,.08); color: white; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0d2b52 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(26,111,187,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200,146,42,.08) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,146,42,.5), transparent);
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,146,42,.15);
  border: 1px solid rgba(200,146,42,.35);
  color: #e8b85a;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge i { font-size: .75rem; }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: #e8b85a; }
.hero p {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 640px;
  margin-bottom: 0;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 500;
}
.hero-meta-item i { color: var(--gold); font-size: .85rem; }

/* Hero Product Pills */
.hero-products {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--transition);
}
.product-pill-pay   { background: rgba(26,111,187,.15); border-color: rgba(26,111,187,.4); color: #7ab8e8; }
.product-pill-erp   { background: rgba(14,124,110,.15); border-color: rgba(14,124,110,.4); color: #5cc9ba; }
.product-pill-saude { background: rgba(139,47,201,.15); border-color: rgba(139,47,201,.4); color: #c28aee; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.section-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-line.center { margin: 0 auto 20px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

/* Card de documento institucional */
.doc-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.doc-card:hover { color: inherit; }

.doc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-blue   { background: var(--accent-light); color: var(--accent); }
.icon-gold   { background: var(--gold-light);   color: var(--gold); }
.icon-green  { background: #e6f7f5;             color: #0E7C6E; }
.icon-purple { background: #f3eafd;             color: #8B2FC9; }
.icon-gray   { background: var(--gray-50);      color: var(--gray-600); }

.doc-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.doc-card p  { font-size: .88rem; margin-bottom: 0; }
.doc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}
.doc-card-link i { font-size: .75rem; transition: transform var(--transition); }
.doc-card:hover .doc-card-link i { transform: translateX(4px); }

/* Card de produto */
.product-card {
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover { color: inherit; }

.product-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.product-icon-pay   { background: linear-gradient(135deg, #1A6FBB, #155fa0); color: white; }
.product-icon-erp   { background: linear-gradient(135deg, #0E7C6E, #0a6259); color: white; }
.product-icon-saude { background: linear-gradient(135deg, #8B2FC9, #721db3); color: white; }

.product-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.product-card-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.product-card p { font-size: .9rem; margin-bottom: 20px; }

.product-card-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gray-50);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.product-doc-link:hover { background: var(--accent-light); color: var(--accent); border-color: rgba(26,111,187,.2); }
.product-doc-link i { font-size: .9rem; }
.product-doc-link .arrow { margin-left: auto; font-size: .75rem; color: var(--gray-400); }
.product-doc-link:hover .arrow { color: var(--accent); }

/* ============================================================
   CONTACT / CTA BLOCK
   ============================================================ */
.contact-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.contact-block::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(26,111,187,.15);
}
.contact-block::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(200,146,42,.08);
}
.contact-block-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.contact-block-content { flex: 1; position: relative; z-index: 1; }
.contact-block-content h2 { color: var(--white); margin-bottom: 12px; font-size: 1.5rem; }
.contact-block-content p  { color: var(--gray-200); margin-bottom: 16px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: background var(--transition);
  text-decoration: none;
}
.contact-email:hover { background: rgba(255,255,255,.18); color: white; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-400);
}
.breadcrumb-item:last-child { color: var(--text); font-weight: 500; }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-200); font-size: .75rem; }

/* ============================================================
   PÁGINA DE DOCUMENTO JURÍDICO
   ============================================================ */
.doc-page { padding: 60px 0 80px; }

.doc-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
}
.doc-sidebar::-webkit-scrollbar { width: 4px; }
.doc-sidebar::-webkit-scrollbar-track { background: transparent; }
.doc-sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-nav {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 24px;
}
.sidebar-nav-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.sidebar-nav-list { list-style: none; }
.sidebar-nav-item { margin-bottom: 4px; }
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: .85rem;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
}
.sidebar-nav-link:hover { background: var(--accent-light); color: var(--accent); }
.sidebar-nav-link.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.sidebar-nav-link .num {
  font-size: .72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }

.doc-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 48px;
}

.doc-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-100); }
.doc-title { margin-bottom: 12px; }
.doc-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.doc-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-400);
}
.doc-meta-item i { font-size: .8rem; }

.doc-section { margin-bottom: 48px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-section h2 .sec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-section h3 { font-size: 1.05rem; margin: 20px 0 10px; color: var(--gray-800); }
.doc-section p  { font-size: .95rem; color: var(--text-muted); }
.doc-section ul, .doc-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.doc-section li {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.6;
}

.info-box {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box.gold {
  background: var(--gold-light);
  border-color: var(--gold);
}
.info-box.green {
  background: #e6f7f5;
  border-color: var(--erp-color);
}
.info-box p { font-size: .88rem; margin-bottom: 0; }

.doc-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-pay   { background: rgba(26,111,187,.1);  color: var(--pay-color); }
.badge-erp   { background: rgba(14,124,110,.1);  color: var(--erp-color); }
.badge-saude { background: rgba(139,47,201,.1);  color: var(--saude-color); }

/* Product page hero */
.product-hero {
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}
.product-hero-pay   { background: linear-gradient(135deg, #0B2545 0%, #103A6E 100%); }
.product-hero-erp   { background: linear-gradient(135deg, #0B2B28 0%, #114F47 100%); }
.product-hero-saude { background: linear-gradient(135deg, #1C0B3A 0%, #3D1875 100%); }

.product-hero h1 { color: white; margin-bottom: 12px; }
.product-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.product-hero .container { position: relative; z-index: 1; }
.product-hero::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: rgba(255,255,255,.02);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.product-doc-tabs {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.product-doc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: .875rem;
  font-weight: 500;
  transition: background var(--transition);
  text-decoration: none;
}
.product-doc-tab:hover { background: rgba(255,255,255,.2); color: white; }
.product-doc-tab.active { background: var(--white); color: var(--primary); }

/* ============================================================
   LGPD / DIREITOS DO TITULAR
   ============================================================ */
.rights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.right-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 24px;
  transition: all var(--transition);
}
.right-card:hover { box-shadow: var(--shadow); border-color: var(--accent-light); }
.right-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.right-card h4 { margin-bottom: 8px; font-size: 1rem; }
.right-card p  { font-size: .85rem; }

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,187,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: .78rem; color: var(--gray-400); margin-top: 4px; }

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.form-check label { font-size: .88rem; color: var(--text-muted); cursor: pointer; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: var(--gray-200);
  margin-top: auto;
}
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand { padding-right: 24px; }
.footer-brand p { font-size: .88rem; color: var(--gray-400); margin-top: 16px; line-height: 1.7; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: rgba(200,146,42,.12);
  border: 1px solid rgba(200,146,42,.25);
  color: #e8b85a;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.footer-nav-list { list-style: none; }
.footer-nav-item { margin-bottom: 8px; }
.footer-nav-link {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-nav-link:hover { color: var(--white); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 0;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-400); margin-bottom: 0; }
.footer-lgpd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-400);
}
.footer-lgpd i { color: #5cc9ba; }

/* ============================================================
   PÁGINA DE SOLICITAÇÃO — LGPD
   ============================================================ */
.steps-list { list-style: none; counter-reset: steps; }
.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  counter-increment: steps;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { font-size: 1rem; margin-bottom: 4px; }
.step-content p  { font-size: .88rem; }

/* ============================================================
   AVISO / ALERTA
   ============================================================ */
.alert {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.alert-info    { background: var(--accent-light); border: 1px solid rgba(26,111,187,.2); }
.alert-warning { background: #fff8e6; border: 1px solid rgba(200,146,42,.3); }
.alert-success { background: #e6f7f5; border: 1px solid rgba(14,124,110,.25); }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.alert-info    .alert-icon { color: var(--accent); }
.alert-warning .alert-icon { color: var(--gold); }
.alert-success .alert-icon { color: var(--erp-color); }
.alert-body p { font-size: .88rem; margin-bottom: 0; }
.alert-body strong { color: var(--text); }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-banner {
  text-align: center;
  padding: 60px 24px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e6f7f5;
  color: var(--erp-color);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-banner h2 { margin-bottom: 12px; }

/* ============================================================
   SCROLLBAR GLOBAL
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ============================================================
   UTILIDADES ADICIONAIS
   ============================================================ */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 240px 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block { flex-direction: column; text-align: center; padding: 40px 32px; }
  .contact-block::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  .doc-layout { grid-template-columns: 1fr; }
  .doc-sidebar { position: static; max-height: none; }
  .doc-content { padding: 28px 20px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rights-grid { grid-template-columns: 1fr; }

  .hero { padding: 52px 0; }

  .section { padding: 56px 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { padding-right: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .form-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-block { padding: 32px 20px; }
  .doc-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   LOGO GLADIUM — AJUSTES RESPONSIVOS
   ============================================================ */

/* Logo no header: garante alinhamento vertical */
.site-header .logo img {
  display: block;
  max-width: 180px;
  width: auto;
}

/* Em telas muito pequenas, usa o avatar compacto */
@media (max-width: 480px) {
  .logo-img-full  { display: none !important; }
  .logo-img-avatar { display: block !important; }
}
@media (min-width: 481px) {
  .logo-img-full  { display: block !important; }
  .logo-img-avatar { display: none !important; }
}

/* Logo no hero da home */
.hero .logo-hero {
  height: 44px;
  width: auto;
  display: block;
}

/* Container da logo sobre fundos escuros (header, hero, footer) */
.logo-on-dark {
  display: inline-block;
  background: rgba(255,255,255,0.97);
  border-radius: 8px;
  padding: 6px 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
  transition: opacity .2s;
}
.logo-on-dark:hover { opacity: .88; }
@media (max-width: 480px) {
  .hero .logo-hero { height: 34px; }
}

/* Social icons no footer — transição suave */
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social-link:hover { color: white; }
.footer-social-link.instagram:hover {
  background: rgba(225,48,108,.25);
  border-color: rgba(225,48,108,.4);
  color: #f472b6;
}
.footer-social-link.facebook:hover {
  background: rgba(24,119,242,.25);
  border-color: rgba(24,119,242,.4);
  color: #60a5fa;
}
