/* Formulário de contato (includes/contato-component.php): toggle pessoa física/jurídica,
   badges e botão de envio. Saiu do <style> no meio do <body> (W3C). */
   .btn-contact.botao-enviar-form {
      display: inline-block;
      padding: 14px 28px;
      font-size: 16px;
      font-weight: 600;
      color: #fff;

      /* Gradiente baseado no verde da marca */
      background: linear-gradient(90deg, #2f7d22, #1b5e20); /* branco >= 4,5:1 nas duas pontas */

      border: none;
      border-radius: 8px;
      cursor: pointer;

      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   }

   /* Hover */
   .btn-contact.botao-enviar-form:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
      background: linear-gradient(90deg, #2e7d32, #174a1a);
   }

   /* Clique */
   .btn-contact.botao-enviar-form:active {
      transform: scale(0.97);
   }

   /* Foco (acessibilidade) */
   .btn-contact.botao-enviar-form:focus {
      outline: 2px solid #a5d6a7;
      outline-offset: 2px;
   }

   #form-contato {
      max-width: 900px;
   }

   /* ---- Card container ---- */
   .tipo-pessoa-card {
      background: #f8f9fb;
      border: 1.5px solid #e4e7ed;
      border-radius: 12px;
      padding: 14px 16px 16px;
      margin-bottom: 4px;
   }

   .tipo-pessoa-titulo {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: #666;
      margin: 0 0 12px 0;
   }

   /* ---- Opções lado a lado ---- */
   .tipo-pessoa-opcoes {
      display: flex;
      gap: 10px;
   }

   /* ---- Label clicável ---- */
   .tipo-opcao {
      flex: 1;
      cursor: pointer;
      margin: 0;
   }

   /* Esconde o radio nativo */
   .tipo-opcao input[type="radio"] {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
   }

   /* ---- Card visual da opção ---- */
   .tipo-opcao-inner {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border: 2px solid #dde1e9;
      border-radius: 10px;
      background: #fff;
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
   }

   .tipo-opcao:hover .tipo-opcao-inner {
      border-color: #b0bec5;
      background: #fafbfc;
   }

   /* Estado selecionado */
   .tipo-opcao input[type="radio"]:checked+.tipo-opcao-inner {
      border-color: #0a58ca;
      background: #eef4ff;
      box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
   }

   .tipo-opcao-icone {
      font-size: 20px;
      line-height: 1;
      flex-shrink: 0;
      color: #222;
   }

   .tipo-opcao-texto {
      display: flex;
      flex-direction: column;
      line-height: 1.3;
   }

   .tipo-opcao-texto strong {
      font-size: 14px;
      font-weight: 700;
      color: #222;
   }

   .tipo-opcao-texto small {
      font-size: 11px;
      color: #666;
      font-weight: 400;
   }

   .tipo-opcao input[type="radio"]:checked+.tipo-opcao-inner .tipo-opcao-texto strong {
      color: #0a58ca;
   }

   /* ---- Badge ao lado do label Empresa ---- */
   .empresa-badge {
      font-size: 11px;
      font-weight: 500;
      padding: 2px 8px;
      border-radius: 20px;
      margin-left: 8px;
      vertical-align: middle;
   }

   .cpf-badge {
      background: #f0f0f0;
      color: #666;
   }

   .cnpj-badge {
      background: #e8f4fd;
      color: #0a58ca;
   }

   /* ---- Campo empresa desabilitado ---- */
   #empresa:disabled {
      background-color: #f5f5f5;
      cursor: not-allowed;
      opacity: 0.6;
      border-color: #e0e0e0;
      color: #aaa;
   }

   #empresa {
      transition: background-color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
   }
