:root {
  --azul: #1e90ff;
  --azul-hover: #155ca6;
  --cinza: #444;
  --fundo: #f0f4f8;
  --branco: #ffffff;
  --borda: #ddd;
  --erro: #d93025;
  --sucesso: #2e7d32;
  --sombra: rgba(0, 0, 0, 0.08);
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    body {
      background-color: #f5f5f5;
      color: #333;
    }

    header {
      background-color: #1e3a8a;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo h1 {
      font-family: 'Raleway', sans-serif;
      font-weight: 100;
      font-size: 16px;
      color: #ffffff;
      letter-spacing: 2.5px;
    }

    .logo .professional {
      font-size: 11px;
      color: #000;
      background-color: #ffd700;
      padding: 1px 1px;
      display: inline-block;
      border-radius: 2px;
      letter-spacing: 2px;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .menu-toggle span {
      width: 30px;
      height: 3px;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .menu {
      list-style: none;
      display: flex;
      gap: 20px;
      background-color: #1e3a8a;
      margin-top: 13px;
    }

    .menu li a {
      color: white;
      text-decoration: none;
      font-size: 16px;
      padding: 15px 20px;
      display: block;
      transition: background-color 0.3s;
    }

    .menu li a:hover {
      background-color: #3b82f6;
    }

    form button {
      width: 100%;
      background: var(--azul);
      color: white;
      font-size: 17px;
      padding: 14px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    form button:hover {
      background: var(--azul-hover);
    }

    .msg-erro {
      background: #ffdede;
      color: var(--erro);
      padding: 12px;
      margin-bottom: 15px;
      border-radius: 8px;
      text-align: center;
      font-weight: bold;
    }

    .msg-sucesso {
      background: #d4edda;
      color: var(--sucesso);
      padding: 12px;
      margin-bottom: 15px;
      border-radius: 8px;
      text-align: center;
      font-weight: bold;
    }

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

    .content {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
      text-align: center;
    }

    .content h2 {
      font-size: 28px;
      color: #1e3a8a;
      margin-bottom: 20px;
    }

    .content p {
      font-size: 16px;
      color: #555;
      line-height: 1.6;
      max-width: 800px;
      margin: 0 auto;
    }

    .botao {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 30px;
      background-color: #1e3a8a;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      font-size: 16px;
      transition: background-color 0.3s;
    }

    form {
      text-align: left;
      width: 100%;
    }

    form label {
      font-weight: bold;
      color: var(--cinza);
      margin-top: 15px;
      display: block;
      font-size: 16px;
    }

    form input,
    form select {
      width: 100%;
      padding: 12px 14px;
      font-size: 16px;
      margin-top: 6px;
      margin-bottom: 15px;
      border: 1px solid var(--borda);
      border-radius: 8px;
      background: #fafafa;
      outline-color: var(--azul);
    }

    form button:hover {
      background: var(--azul-hover);
    }

    .container {
      width: 100%;
      max-width: 440px;
      background: var(--branco);
      padding: 35px 25px;
      border-radius: 12px;
      box-shadow: 0 4px 15px var(--sombra);
      text-align: center;
    }
    
    .video-section {
      max-width: 1200px;
      margin: 60px auto;
      padding: 0 20px;
    }

    .video-container {
      position: relative;
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }

    .video-container video {
      width: 100%;
      height: auto;
      display: block;
    }  
    
    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      color: white;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      flex-direction: column;
      justify-content: flex-start; /* <-- Alinha no topo */
      align-items: center;
      text-align: center;
      padding: 140px 20px 20px; /* <-- Espaço no topo */
    }

    .video-overlay h2 {
      font-size: 32px;
      font-weight: bold;
      text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffa500;
      animation: brilhoPulsante 2s infinite;
    }

    @keyframes brilhoPulsante {
      0%, 100% {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffa500;
      }
      50% {
        text-shadow: 0 0 20px #fff700, 0 0 30px #ffcc00, 0 0 40px #ff9900;
      }
    }

    #textoVideo {
      font-size: 18px;
      color: #ffffff;
      max-width: 90%;
      margin: 0 auto;
      text-align: center;
      white-space: normal;
      overflow: visible;
      - animation: fadeSlideIn 1.5s ease-out both;
    }

     .reanimar {
      animation: fadeSlideIn 1.5s ease-out forwards;
    }


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

    .botao-video {
      display: inline-block;
      padding: 12px 28px;
      font-size: 16px;
      font-weight: bold;
      color: white;
      background: linear-gradient(45deg, #1e3a8a, #3b82f6);
      border: none;
      border-radius: 30px;
      text-decoration: none;
      margin-top: 195px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.4);
      position: relative;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .botao-video::before {
      content: "";
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: rgba(255, 255, 255, 0.3);
      transform: skewX(-20deg);
      transition: left 0.75s ease-in-out;
    }

    .botao-video:hover::before {
      left: 125%;
    }

    .botao-video:hover {
      transform: scale(1.05);
      background: linear-gradient(45deg, #3b82f6, #1e3a8a);
    }

    footer {
      background-color: #1e3a8a;
      margin-top: 50px;
      position: relative;
      overflow: hidden;
    }

    .footer-strip {
      width: 200%;
      height: 10px;
      background: linear-gradient(90deg, #ffd700, #ffcc00, #ffd700);
      animation: moveStrip 4s linear infinite;
    }

    @keyframes moveStrip {
      0% { transform: translateX(0); }
      100% { transform: translateX(-40%); }
    }

    .footer-content {
      background-color: #1e3a8a;
      padding: 15px 0;
      text-align: center;
    }

    .footer-content p {
      color: #fff;
      font-size: 14px;
    }

    @media screen and (max-width: 768px) {
      .menu-toggle {
        display: flex;
      }

      .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 49px;
        left: 0;
        width: 100%;
        background-color: rgba(30, 58, 138, 0.9);
      }

      .menu.active {
        display: flex;
      }

      .menu li a {
        padding: 15px;
        border-top: 1px solid rgba(255, 255, 0, 0.5);
      }
    }