 :root {
      --c0: #04080f;
      --c1: #0a1525;
      --c2: #0f2040;
      --c3: #1a4a8a;
      --accent:  #4facfe;
      --accent2: #74c5fe;
      --accent3: #a8d8ff;
      --w:   #ffffff;
      --w80: rgba(255 255 255 / 0.80);
      --w50: rgba(255 255 255 / 0.50);
      --w20: rgba(255 255 255 / 0.20);
      --w10: rgba(255 255 255 / 0.10);
      --w06: rgba(255 255 255 / 0.06);
      --glow: rgba(79 172 254 / 0.22);
      --accent-glow:         rgba(79 172 254 / 0.08);
      --accent-border:       rgba(79 172 254 / 0.20);
      --accent-border-hover: rgba(79 172 254 / 0.40);
      --tr: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      --r:  16px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--c0);
      color: var(--w80);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ═══════════ NAVBAR ═══════════ */
    .navbar {
      position: fixed;
      inset: 0 0 auto;
      z-index: 200;
      background: rgba(4 8 15 / 0.88);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(79 172 254 / 0.12);
      box-shadow: 0 4px 40px rgba(0 0 0 / 0.50);
    }

    .nav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 32px;
      height: 72px; display: flex; align-items: center;
      justify-content: space-between; gap: 24px;
    }

    .nav-logo {
      display: flex; align-items: center; gap: 12px;
      text-decoration: none; flex-shrink: 0;
      transition: filter var(--tr), transform var(--tr);
    }
    .nav-logo:hover { filter: drop-shadow(0 0 10px rgba(79 172 254 / 0.5)); transform: translateY(-1px); }
    .nav-logo-symbol { height: 38px; width: auto; flex-shrink: 0; }
    .nav-logo-text { display: flex; flex-direction: column; gap: 2px; }
    .nav-logo-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--w); letter-spacing: 0.18em; line-height: 1; white-space: nowrap; }
    .nav-logo-sub  { font-size: 0.56rem; color: rgba(255 255 255 / 0.45); letter-spacing: 0.20em; line-height: 1; white-space: nowrap; }

    .nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
    .nav-links a { font-weight: 500; font-size: 0.90rem; letter-spacing: 0.015em; color: var(--w80); text-decoration: none; padding: 8px 14px; border-radius: 8px; transition: color var(--tr), background var(--tr); }
    .nav-links a:hover { color: var(--w); background: var(--w10); }
    .nav-links a.active { color: var(--accent2); }
    .nav-links .nav-cta { color: var(--c0); background: linear-gradient(120deg, var(--accent), var(--accent2)); padding: 9px 22px; border-radius: 50px; font-weight: 700; box-shadow: 0 4px 20px rgba(79 172 254 / 0.40); transition: transform var(--tr), box-shadow var(--tr); }
    .nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(79 172 254 / 0.60); background: linear-gradient(120deg, var(--accent), var(--accent2)); color: var(--c0); }

    .hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; border-radius: 8px; background: none; border: none; cursor: pointer; }
    .hamburger span { display: block; width: 22px; height: 2px; background: var(--w80); border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }
    .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); }

    .nav-mobile { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 4px; border-top: 1px solid var(--w10); background: rgba(4 8 15 / 0.96); }
    .nav-mobile.open { display: flex; }
    .nav-mobile a { color: var(--w80); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 12px 14px; border-radius: 10px; transition: background var(--tr), color var(--tr); }
    .nav-mobile a:hover { background: var(--w10); color: var(--w); }
    .nav-mobile .cta-m { margin-top: 8px; text-align: center; background: linear-gradient(120deg, var(--accent), var(--accent2)); color: var(--c0); font-weight: 700; border-radius: 50px; box-shadow: 0 4px 20px rgba(79 172 254 / 0.40); }

    /* ═══════════ PAGE HERO ═══════════ */
    .page-hero {
      position: relative;
      padding: 140px 32px 80px;
      overflow: hidden;
      background: linear-gradient(180deg, var(--c1) 0%, var(--c0) 100%);
    }
    .page-hero::before { content: ''; position: absolute; top: -120px; left: -120px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(79 172 254 / 0.09) 0%, transparent 70%); pointer-events: none; }
    .page-hero::after  { content: ''; position: absolute; bottom: 0; right: 0; width: 400px; height: 400px; background: radial-gradient(circle, rgba(79 172 254 / 0.05) 0%, transparent 70%); pointer-events: none; }

    .page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

    .page-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 0.78rem; color: var(--w50); animation: fade-up 0.6s 0.05s both; }
    .page-breadcrumb a { color: var(--accent2); text-decoration: none; transition: color var(--tr); }
    .page-breadcrumb a:hover { color: var(--w); }
    .page-breadcrumb svg { width: 12px; height: 12px; fill: none; stroke: var(--w20); stroke-width: 2.5; }

    .page-label { display: inline-flex; align-items: center; gap: 8px; color: var(--accent2); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; animation: fade-up 0.6s 0.1s both; }
    .page-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }

    .page-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.85rem, 3.2vw, 2.7rem); letter-spacing: -0.018em; line-height: 1.18; color: var(--w); max-width: 640px; animation: fade-up 0.6s 0.18s both; }
    .page-title .hl { display: inline-block; background: linear-gradient(120deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% 100%; animation: shimmer 5s linear infinite; }

    .page-sub { font-size: 0.96rem; font-weight: 300; color: var(--w50); max-width: 520px; line-height: 1.80; margin-top: 12px; animation: fade-up 0.6s 0.28s both; }

    /* ═══════════ FORM SECTION ═══════════ */
    .form-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 64px 32px 100px;
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 56px;
      align-items: start;
    }

    /* ── Form Card ── */
    .form-card {
      background: rgba(255 255 255 / 0.04);
      border: 1px solid rgba(79 172 254 / 0.14);
      border-radius: 24px;
      padding: 48px 44px;
      position: relative;
      overflow: hidden;
    }

    .form-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent2), transparent);
    }

    /* Field groups */
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 24px;
    }

    .form-group:last-of-type { margin-bottom: 0; }

    .form-label {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent2);
    }

    .form-label .req {
      color: var(--accent);
      margin-left: 3px;
    }

    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;
      background: rgba(255 255 255 / 0.05);
      border: 1px solid rgba(79 172 254 / 0.18);
      border-radius: 12px;
      padding: 14px 18px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.94rem;
      font-weight: 400;
      color: var(--w);
      outline: none;
      transition: border-color var(--tr), background var(--tr), box-shadow var(--tr);
      -webkit-appearance: none;
      appearance: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder { color: var(--w50); font-weight: 300; }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: var(--accent);
      background: rgba(79 172 254 / 0.07);
      box-shadow: 0 0 0 3px rgba(79 172 254 / 0.12);
    }

    .form-input.error,
    .form-select.error,
    .form-textarea.error {
      border-color: rgba(244 63 94 / 0.6);
      box-shadow: 0 0 0 3px rgba(244 63 94 / 0.10);
    }

    .form-error {
      font-size: 0.74rem;
      color: rgba(252 165 165 / 0.9);
      display: none;
      margin-top: 2px;
    }

    .form-error.visible { display: block; }

    /* Select custom arrow */
    .select-wrap { position: relative; }
    .select-wrap::after {
      content: '';
      position: absolute;
      right: 18px; top: 50%;
      transform: translateY(-50%);
      width: 0; height: 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-top: 6px solid var(--w50);
      pointer-events: none;
      transition: border-top-color var(--tr);
    }
    .select-wrap:focus-within::after { border-top-color: var(--accent2); }

    .form-select { cursor: pointer; padding-right: 44px; }
    .form-select option { background: #0a1525; color: var(--w); }

    /* Textarea */
    .form-textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

    /* Two-column row */
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    /* ── Serviço grid ── */
    .servico-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .servico-option {
      position: relative;
    }

    .servico-option input[type="radio"] {
      position: absolute;
      opacity: 0;
      width: 0; height: 0;
    }

    .servico-label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 16px;
      background: rgba(255 255 255 / 0.04);
      border: 1px solid rgba(79 172 254 / 0.15);
      border-radius: 12px;
      cursor: pointer;
      font-size: 0.88rem;
      font-weight: 400;
      color: var(--w80);
      transition: background var(--tr), border-color var(--tr), color var(--tr);
      user-select: none;
    }

    .servico-label::before {
      content: '';
      width: 16px; height: 16px;
      border-radius: 50%;
      border: 2px solid rgba(79 172 254 / 0.35);
      flex-shrink: 0;
      transition: border-color var(--tr), background var(--tr), box-shadow var(--tr);
    }

    .servico-option input:checked + .servico-label {
      background: rgba(79 172 254 / 0.10);
      border-color: rgba(79 172 254 / 0.45);
      color: var(--w);
    }

    .servico-option input:checked + .servico-label::before {
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: 0 0 8px rgba(79 172 254 / 0.5);
    }

    .servico-option:hover .servico-label {
      background: rgba(79 172 254 / 0.07);
      border-color: rgba(79 172 254 / 0.30);
    }

    /* ── Modalidade (Presencial / Online) ── */
    .modal-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .modal-option { position: relative; }

    .modal-option input[type="radio"] {
      position: absolute; opacity: 0; width: 0; height: 0;
    }

    .modal-label {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 20px 16px;
      background: rgba(255 255 255 / 0.04);
      border: 1px solid rgba(79 172 254 / 0.15);
      border-radius: 14px;
      cursor: pointer;
      text-align: center;
      transition: background var(--tr), border-color var(--tr), transform var(--tr);
    }

    .modal-icon { font-size: 26px; line-height: 1; }

    .modal-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 0.88rem;
      color: var(--w);
      line-height: 1;
    }

    .modal-sub {
      font-size: 0.72rem;
      font-weight: 300;
      color: var(--w50);
      line-height: 1.4;
    }

    .modal-option input:checked + .modal-label {
      background: rgba(79 172 254 / 0.10);
      border-color: rgba(79 172 254 / 0.45);
      transform: translateY(-2px);
    }

    .modal-option:hover .modal-label {
      background: rgba(79 172 254 / 0.07);
      border-color: rgba(79 172 254 / 0.28);
    }

    /* Divider */
    .form-divider {
      height: 1px;
      background: rgba(255 255 255 / 0.07);
      margin: 28px 0;
    }

    /* Section subtitle inside form */
    .form-section-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 0.88rem;
      letter-spacing: 0.05em;
      color: var(--w);
      margin-bottom: 14px;
    }

    /* Submit button */
    .btn-submit {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      background: linear-gradient(120deg, var(--accent), var(--accent2));
      color: var(--c0);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 0.96rem;
      letter-spacing: 0.02em;
      padding: 16px 32px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 30px rgba(79 172 254 / 0.42);
      transition: transform var(--tr), box-shadow var(--tr), opacity var(--tr);
      margin-top: 32px;
    }

    .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79 172 254 / 0.60); }
    .btn-submit:active { transform: translateY(0); }
    .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

    .btn-submit svg { width: 20px; height: 20px; fill: var(--c0); flex-shrink: 0; }

    .form-note {
      text-align: center;
      font-size: 0.74rem;
      font-weight: 300;
      color: var(--w50);
      margin-top: 14px;
      line-height: 1.6;
    }

    /* ── Sidebar ── */
    .sidebar { display: flex; flex-direction: column; gap: 20px; }

    .sidebar-card {
      background: rgba(255 255 255 / 0.04);
      border: 1px solid rgba(79 172 254 / 0.12);
      border-radius: var(--r);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: background var(--tr), border-color var(--tr);
    }

    .sidebar-card:hover { background: rgba(79 172 254 / 0.06); border-color: rgba(79 172 254 / 0.22); }

    .sidebar-icon { font-size: 26px; }

    .sidebar-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: -0.01em;
      color: var(--w);
    }

    .sidebar-text { font-size: 0.86rem; font-weight: 300; color: var(--w50); line-height: 1.70; }

    .sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

    .sidebar-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.84rem;
      font-weight: 300;
      color: var(--w80);
      line-height: 1.5;
    }

    .sidebar-list li::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 7px;
    }

    .sidebar-contact {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 4px;
    }

    .sc-item {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--w80);
      font-size: 0.86rem;
      font-weight: 500;
      padding: 10px 14px;
      background: rgba(255 255 255 / 0.04);
      border: 1px solid rgba(255 255 255 / 0.08);
      border-radius: 10px;
      transition: background var(--tr), border-color var(--tr), transform var(--tr);
    }

    .sc-item:hover { background: rgba(79 172 254 / 0.10); border-color: rgba(79 172 254 / 0.30); transform: translateX(3px); }
    .sc-item svg { width: 16px; height: 16px; flex-shrink: 0; }
    .sc-wa  svg { fill: #25d366; }
    .sc-ig  svg { fill: #e1306c; }
    .sc-mail svg { fill: var(--accent2); }

    /* ── Success state ── */
    .success-overlay {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 20px;
      padding: 40px;
    }

    .success-overlay.visible { display: flex; }
    .form-fields.hidden { display: none; }

    .success-icon { font-size: 64px; animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }

    @keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

    .success-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: -0.015em;
      color: var(--w);
    }

    .success-sub {
      font-size: 0.92rem;
      font-weight: 300;
      color: var(--w50);
      line-height: 1.75;
      max-width: 360px;
    }

    /* ═══════════ FOOTER ═══════════ */
    footer { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--c0) 0%, #040a14 100%); border-top: 1px solid rgba(79 172 254 / 0.10); }
    footer::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(79 172 254 / 0.06) 0%, transparent 70%); pointer-events: none; }
    .footer-top { max-width: 1200px; margin: 0 auto; padding: 64px 32px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
    .footer-brand { display: flex; flex-direction: column; gap: 16px; }
    .footer-desc { font-size: 0.84rem; font-weight: 300; line-height: 1.75; color: var(--w50); max-width: 280px; }
    .footer-socials { display: flex; gap: 10px; }
    .social-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--w10); border: 1px solid var(--w20); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background var(--tr), border-color var(--tr), transform var(--tr); }
    .social-btn:hover { background: rgba(79 172 254 / 0.20); border-color: var(--accent-border-hover); transform: translateY(-2px); }
    .social-btn svg { width: 15px; height: 15px; fill: var(--w80); }
    .footer-col h5 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.86rem; color: var(--w); margin-bottom: 18px; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 10px; position: relative; }
    .footer-col h5::after { content: ''; position: absolute; inset: auto 0 0 0; width: 24px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul a { font-size: 0.84rem; color: var(--w50); text-decoration: none; transition: color var(--tr), padding-left var(--tr); }
    .footer-col ul a:hover { color: var(--w80); padding-left: 4px; }
    .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
    .contact-item svg { width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }
    .contact-item span { font-size: 0.82rem; font-weight: 300; color: var(--w50); line-height: 1.55; }
    .footer-bottom { border-top: 1px solid var(--w10); max-width: 1200px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .footer-bottom p, .footer-legal a { font-size: 0.78rem; color: var(--w50); }
    .footer-bottom span { color: var(--accent2); }
    .footer-legal { display: flex; gap: 20px; }
    .footer-legal a { text-decoration: none; transition: color var(--tr); }
    .footer-legal a:hover { color: var(--w80); }

    .wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 300; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37 211 102 / 0.50); text-decoration: none; transition: transform var(--tr), box-shadow var(--tr); }
    .wa-fab:hover { transform: translateY(-3px) scale(1.07); box-shadow: 0 12px 36px rgba(37 211 102 / 0.65); }
    .wa-fab svg { width: 26px; height: 26px; fill: #fff; }

    /* ═══════════ REVEAL ═══════════ */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }

    @keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    @keyframes shimmer { to { background-position: 200% 0%; } }

    /* ═══════════ RESPONSIVE ═══════════ */
    @media (max-width: 960px) {
      .form-section { grid-template-columns: 1fr; gap: 36px; }
      .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 700px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-inner { padding: 0 20px; }
      .page-hero { padding: 120px 20px 60px; }
      .form-section { padding: 48px 20px 80px; }
      .form-card { padding: 32px 24px; }
      .form-row { grid-template-columns: 1fr; }
      .servico-grid { grid-template-columns: 1fr; }
      .modal-grid { grid-template-columns: 1fr 1fr; }
      .sidebar { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 28px; }
      .footer-bottom { flex-direction: column; text-align: center; padding: 16px 20px; }
      .wa-fab { bottom: 20px; right: 20px; }
    }

    @media (max-width: 480px) {
      .modal-grid { grid-template-columns: 1fr; }
    }