/* Reset e configurações básicas */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a202c;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header - RESPONSIVIDADE CORRIGIDA */
.topo {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e2e8f0;
}

.topo-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: nowrap;
  gap: 20px;
  min-height: 70px;
}

.logo { 
  height: 45px;
  width: auto;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.05);
}

/* Menu Hamburguer para Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #0a2540;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

nav a {
  color: #0a2540;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

nav a:hover {
  color: #0a2540;
  background: rgba(214, 158, 46, 0.15);
  transform: translateY(-2px);
}

.phone-link {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
  border: none;
  flex-shrink: 0;
  font-size: 14px;
}

.phone-link:hover {
  background: linear-gradient(135deg, #b7791f 0%, #975a16 100%);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(214, 158, 46, 0.4);
}

/* Overlay para menu mobile */
.menu-overlay {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.menu-overlay.active {
  display: block;
}

/* Hero Section com Vídeo no Fundo */
.hero {
  position: relative;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  width: 100%;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
}

.no-video .hero-video-container {
  background: linear-gradient(135deg, #0a2540 0%, #1a365d 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(26, 54, 93, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 60px 24px;
  width: 100%;
}

.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #e2e8f0;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  min-width: 150px;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(214, 158, 46, 0.3);
  border-color: rgba(214, 158, 46, 0.5);
}

.stat .number {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #d69e2e;
  margin-bottom: 8px;
}

.stat .label {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Títulos */
.titulo { 
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 80px 0 32px;
  color: #0a2540;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.titulo:after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #d69e2e, #b7791f);
  margin: 24px auto 0;
  border-radius: 3px;
}

.titulo-sec {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin: 60px 0 24px;
  color: #0a2540;
  position: relative;
  padding-left: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.titulo-sec:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: linear-gradient(to bottom, #d69e2e, #b7791f);
  border-radius: 3px;
}

.subtitulo {
  text-align: center;
  color: #2d3748;
  margin-bottom: 48px;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 500;
}

.subtitulo-sec {
  color: #4a5568;
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}

/* Grid e Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.card {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.1);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #d69e2e, #b7791f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
  border-color: #d69e2e;
}

.card:hover:before {
  transform: scaleX(1);
}

.card.destaque {
  border: 3px solid #d69e2e;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
  position: relative;
  overflow: hidden;
}

.card.destaque:after {
  content: '⭐ RECOMENDADO';
  position: absolute;
  top: 22px;
  right: -32px;
  background: linear-gradient(135deg, #d69e2e, #b7791f);
  color: #ffffff;
  padding: 6px 38px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.card-icon {
  font-size: 48px;
  color: #d69e2e;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #0a2540;
  font-weight: 800;
  line-height: 1.3;
}

.card p {
  color: #2d3748;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  flex-grow: 1;
  font-weight: 400;
}

.card-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.card-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #2d3748;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.card-list li:last-child {
  border-bottom: none;
}

.card-list li:before {
  content: '✓';
  color: #d69e2e;
  margin-right: 12px;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-list li strong {
  color: #0a2540;
  font-weight: 700;
  margin-right: 4px;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
  justify-content: center;
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid #d69e2e;
  font-weight: 600;
  transition: all 0.3s;
  cursor: default;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.08);
  font-size: 14px;
  color: #0a2540;
}

.chips span:hover {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(214, 158, 46, 0.25);
}

/* Serviços Info */
.servicos-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 36px;
  border-radius: 20px;
  margin-top: 48px;
  border-left: 6px solid #d69e2e;
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.1);
  position: relative;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.servicos-info h4 {
  color: #0a2540;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.servicos-info h4 i {
  color: #d69e2e;
}

.servicos-info p {
  color: #2d3748;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.servicos-info strong {
  color: #0a2540;
  font-weight: 700;
}

/* Formulário */
.bg-claro { 
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
}

.bg-claro:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #d69e2e, #b7791f);
}

/* Form Section */
.form-section {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.08);
  border: 2px solid #e2e8f0;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.4rem;
  color: #0a2540;
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.section-title i {
  color: #d69e2e;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tabs button {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  padding: 18px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.08);
  flex: 1;
  min-width: 240px;
  justify-content: center;
  color: #4a5568;
}

.tabs button:hover {
  border-color: #d69e2e;
  color: #d69e2e;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(214, 158, 46, 0.15);
}

.tabs button.active {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: #ffffff;
  border-color: #d69e2e;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(214, 158, 46, 0.25);
}

.form-instructions {
  background: linear-gradient(135deg, #e6f7ff 0%, #b3e0ff 100%);
  padding: 24px 28px;
  border-radius: 16px;
  margin-bottom: 40px;
  border-left: 5px solid #1890ff;
  border: 2px solid #b3e0ff;
}

.form-instructions p {
  color: #0066cc;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.form-instructions i {
  color: #1890ff;
  margin-top: 3px;
  flex-shrink: 0;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

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

.form-group label {
  margin-bottom: 10px;
  font-weight: 700;
  color: #0a2540;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.form-group i {
  color: #d69e2e;
  width: 16px;
  text-align: center;
}

.form-group input,
.form-group select {
  padding: 16px;
  border-radius: 10px;
  border: 2px solid #cbd5e0;
  font-size: 15px;
  transition: all 0.3s;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #1a202c;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #d69e2e;
  outline: none;
  box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.2);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: #718096;
}

/* Documentação */
.docs-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  margin: 48px 0 24px;
  color: #0a2540;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.docs-subtitle {
  color: #2d3748;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.doc-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.06);
}

.doc-item:hover {
  border-color: #d69e2e;
  transform: translateY(-6px);
  box-shadow: 0 16px 25px rgba(10, 37, 64, 0.12);
}

.doc-item label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0a2540;
  font-size: 15px;
}

.file-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-input-group input[type="file"] {
  padding: 16px;
  border: 2px dashed #cbd5e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: #f7fafc;
  color: #4a5568;
  font-size: 14px;
}

.file-input-group input[type="file"]:hover {
  border-color: #d69e2e;
  background: #fffaf0;
}

.nao-caso {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #4a5568;
  font-size: 13px;
  padding: 8px 0;
  user-select: none;
}

.nao-caso input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #d69e2e;
  flex-shrink: 0;
}

.nao-caso span {
  line-height: 1.4;
}

/* LGPD */
.lgpd-box {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  margin: 32px 0;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.06);
}

.lgpd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #1a202c;
  font-size: 14px;
  line-height: 1.6;
  user-select: none;
  margin-bottom: 12px;
}

.lgpd input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: #d69e2e;
  flex-shrink: 0;
}

.lgpd a {
  color: #d69e2e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.lgpd a:hover {
  color: #b7791f;
  text-decoration: underline;
}

.lgpd-note {
  font-size: 13px;
  color: #2d6625;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f6ffed;
  border-radius: 8px;
  border-left: 4px solid #52c41a;
  font-weight: 500;
}

.lgpd-note i {
  color: #52c41a;
}

/* Botão Enviar */
button[type="submit"] {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: #ffffff;
  border: none;
  padding: 20px 40px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.7;
  box-shadow: 0 10px 25px rgba(214, 158, 46, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

button[type="submit"]:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

button[type="submit"]:hover:before {
  left: 100%;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #b7791f 0%, #975a16 100%);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(214, 158, 46, 0.35);
}

button[type="submit"].active {
  opacity: 1;
}

button[type="submit"]:disabled {
  cursor: not-allowed;
  background: #cbd5e0;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
  color: #718096;
}

button[type="submit"]:disabled:hover {
  transform: none;
  background: #cbd5e0;
  box-shadow: none;
}

/* Form Actions */
.form-actions {
  text-align: center;
  margin-top: 32px;
}

.form-note {
  color: #4a5568;
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.form-note i {
  color: #d69e2e;
}

.form-note strong {
  color: #0a2540;
  font-weight: 700;
}

/* Notícias */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.news-source h3 {
  font-size: 22px;
  color: #0a2540;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d69e2e;
  font-weight: 700;
}

.news-grid {
  display: grid;
  gap: 20px;
}

.news-grid a {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  display: block;
  text-decoration: none;
  color: #1a202c;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.06);
  transition: all 0.3s;
  border: 2px solid #e2e8f0;
}

.news-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(10, 37, 64, 0.12);
  border-color: #d69e2e;
}

.news-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #0a2540;
  line-height: 1.4;
  font-weight: 700;
}

.news-grid p {
  font-size: 13px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a2540 0%, #1a365d 100%);
  color: #ffffff;
  padding: 60px 0 24px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #d69e2e, #b7791f);
}

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

.footer-col h4 {
  color: #d69e2e;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #d69e2e;
}

.footer-col p {
  color: #e2e8f0;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  font-weight: 400;
}

.footer-col strong {
  color: #ffffff;
  font-weight: 700;
}

.footer-col i {
  color: #d69e2e;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #d69e2e;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.social a:hover {
  background: #d69e2e;
  color: #0a2540;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(214, 158, 46, 0.3);
  border-color: #d69e2e;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.footer-bottom:before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, #d69e2e, transparent);
}

.footer-bottom p {
  color: #cbd5e0;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

.legal {
  font-size: 12px !important;
  color: #cbd5e0 !important;
  margin-top: 20px !important;
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.6 !important;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-weight: 400;
}

.legal strong {
  color: #d69e2e;
  font-weight: 700;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* Mensagens de Erro/Sucesso */
.error-message {
  color: #e53e3e !important;
  font-size: 12px !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
}

.success-message {
  color: #38a169 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
}

.file-feedback {
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsividade CORRIGIDA */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .grid {
    gap: 24px;
  }
  
  .card {
    padding: 28px;
  }
  
  .servicos-info {
    padding: 32px;
  }
  
  .form-section {
    padding: 28px;
  }
  
  .tabs button {
    min-width: 220px;
    padding: 16px 24px;
  }
}

@media (max-width: 900px) {
  nav a {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .phone-link {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .hero-content {
    padding: 48px 20px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    order: 1;
  }
  
  .logo {
    order: 2;
    margin-right: auto;
  }
  
  .topo-flex {
    padding: 12px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e2e8f0;
    z-index: 999;
    gap: 12px;
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 14px 20px;
    width: 100%;
    justify-content: center;
    border: 1px solid #e2e8f0;
  }
  
  .phone-link {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
  
  .hero {
    min-height: 70vh;
    margin-bottom: 60px;
  }
  
  .hero-content {
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .stat {
    min-width: 140px;
    padding: 20px;
  }
  
  .grid-form,
  .docs-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs button {
    min-width: 100%;
    padding: 16px;
  }
  
  .news-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .footer-col h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-col p {
    justify-content: center;
  }
  
  .social {
    align-items: center;
  }
  
  .bg-claro {
    padding: 60px 0;
    margin: 60px 0;
  }
  
  .titulo {
    margin: 60px 0 24px;
  }
  
  .chips span {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 32px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  
  .stat {
    min-width: 120px;
    padding: 16px;
  }
  
  .stat .number {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 24px;
  }
  
  .card.destaque:after {
    font-size: 11px;
    padding: 5px 32px;
    right: -36px;
  }
  
  .chips span {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .titulo {
    margin: 48px 0 20px;
  }
  
  .form-instructions {
    padding: 20px;
  }
  
  .form-instructions p {
    font-size: 13px;
  }
  
  button[type="submit"] {
    padding: 18px;
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .servicos-info {
    padding: 24px;
  }
  
  .form-section {
    padding: 20px;
  }
  
  .lgpd-box {
    padding: 24px;
  }
  
  .doc-item {
    padding: 20px;
  }
  
  .footer-col p {
    font-size: 13px;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .stat {
    width: 100%;
    max-width: 200px;
  }
}

/* Otimizações para vídeo */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
}

/* Ajustes para quando o vídeo não carrega ou está desabilitado */
.no-video .hero-video-container {
  background: linear-gradient(135deg, #0a2540 0%, #1a365d 100%);
}

/* Impressão */
@media print {
  .hero-video-container, .tabs, button[type="submit"], .social, .menu-toggle {
    display: none;
  }
  
  nav {
    display: none !important;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  
  .bg-claro {
    background: none;
    padding: 0;
    margin: 0;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}

/* ESTILOS PARA OS FORMULÁRIOS DINÂMICOS */
.form-container {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-container.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estilo para campos de moeda */
.currency-input {
  position: relative;
}

.currency-input span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  font-weight: 600;
  z-index: 1;
}

.currency-input input {
  padding-left: 45px;
}

/* Botão de envio */
.btn-enviar {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: #ffffff;
  border: none;
  padding: 20px 40px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.7;
  box-shadow: 0 10px 25px rgba(214, 158, 46, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.btn-enviar:hover {
  background: linear-gradient(135deg, #b7791f 0%, #975a16 100%);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(214, 158, 46, 0.35);
  opacity: 1;
}

.btn-enviar:disabled {
  cursor: not-allowed;
  background: #cbd5e0;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
  color: #718096;
}

/* Textarea */
textarea {
  padding: 16px;
  border-radius: 10px;
  border: 2px solid #cbd5e0;
  font-size: 15px;
  transition: all 0.3s;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #1a202c;
  width: 100%;
  resize: vertical;
}

textarea:focus {
  border-color: #d69e2e;
  outline: none;
  box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.2);
  transform: translateY(-2px);
}

/* Ajustes responsivos para formulários */
@media (max-width: 768px) {
  .grid-form {
    grid-template-columns: 1fr;
  }
  
  .form-group[style*="grid-column"] {
    grid-column: 1 !important;
  }
  
  .currency-input input {
    padding-left: 50px;
  }
}

@media (max-width: 480px) {
  .btn-enviar {
    padding: 16px;
    font-size: 15px;
  }
  
  .docs-grid {
    grid-template-columns: 1fr;
  }
}
/* MELHORIAS DE RESPONSIVIDADE */

/* 1. Ajuste para telas muito pequenas (320px) */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stat {
        min-width: 100px;
        padding: 12px;
    }
    
    .stat .number {
        font-size: 1.3rem;
    }
    
    .tabs button {
        padding: 12px;
        font-size: 13px;
    }
}

/* 2. Orientação paisagem em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }
    
    nav.active {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* 3. Ajuste para tablets em modo retrato */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 4. Prevenir zoom em inputs em iOS */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Previne zoom automático no iOS */
    }
    
    /* Ajuste para teclado virtual não cobrir campos */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        scroll-margin-top: 100px;
    }
}

/* 5. Ajuste para telas grandes (acima de 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

/* 6. Ajuste de altura para elementos flexíveis */
.hero {
    min-height: 85vh;
    max-height: 100vh;
}

@media (max-height: 600px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 20px;
    }
}

/* 7. Ajuste de overflow para telas pequenas */
body {
    overflow-x: hidden;
    width: 100%;
}

/* 8. Ajuste de imagens responsivas */
img {
    max-width: 100%;
    height: auto;
}

.logo {
    height: 45px;
    width: auto;
}

/* 9. Melhorar toque em dispositivos touch */
button, 
a, 
input[type="submit"],
input[type="button"] {
    min-height: 44px; /* Tamanho mínimo para toque */
    min-width: 44px;
}

/* 10. Prevenir scroll horizontal */
.form-container,
.form-section,
.docs-grid {
    overflow-x: hidden;
}

/* 11. Ajuste para campos de moeda em mobile */
@media (max-width: 768px) {
    .currency-input span {
        left: 12px;
        font-size: 14px;
    }
    
    .currency-input input {
        padding-left: 40px;
    }
}

/* 12. Ajuste para múltiplos arquivos */
input[type="file"] {
    max-width: 100%;
}

/* 13. Ajuste para mensagens de erro/validação */
.error-message,
.file-feedback {
    word-break: break-word;
    white-space: normal;
}

/* 14. Melhorar visualização do menu mobile */
@media (max-width: 768px) {
    nav.active {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        border-top: 1px solid #e2e8f0;
        z-index: 999;
        gap: 12px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    nav a {
        padding: 14px 20px;
        width: 100%;
        justify-content: center;
        border: 1px solid #e2e8f0;
        text-align: center;
    }
}