:root {
      --primary-color: #ff9800;
      --primary-color-dark: #f57c00;
      --bg-dark: #0f172a;
      --bg-darker: #020617;
      --text-light: #e5e7eb;
  }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background-color: #020617;
      color: #e5e7eb;
      padding-top: 75px; /* espaço para navbar fixa */
    }

    .skip-link {
      position: absolute;
      top: 0.75rem;
      left: -999px;
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      background: var(--primary-color);
      color: #0f172a;
      font-weight: 600;
      z-index: 1100;
    }
    .skip-link:focus {
      left: 0.75rem;
      text-decoration: none;
    }

    /* NAVBAR */
    .navbar {
      background: rgba(15, 23, 42, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
    .navbar-brand {
      display: inline-flex;
      align-items: center;
      gap: 0;
    }
    .navbar-brand span { color: var(--primary-color); }
    .navbar-brand .brand-logo {
      height: 56px;
      width: auto;
      max-width: 180px;
      object-fit: contain;
      display: block;
    }
    .nav-link { color: #e5e7eb !important; font-weight: 500; }
    .nav-link:hover, .nav-link:focus { color: var(--primary-color) !important; }

    .btn-primary-custom {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
      border: none;
      color: #111827;
      font-weight: 600;
      box-shadow: 0 10px 25px rgba(245, 124, 0, 0.45);
    }
    .btn-primary-custom:hover {
      background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color));
      color: #020617;
      transform: translateY(-1px);
    }
    .btn-outline-light-custom {
      border: 1px solid #e5e7eb;
      color: #e5e7eb;
      font-weight: 500;
    }
    .btn-outline-light-custom:hover { background-color: #e5e7eb; color: #020617; }

    /* HERO */
    #hero {
      min-height: calc(100vh - 75px);
      background: radial-gradient(circle at top left, #1f2937 0%, #020617 45%, #000000 100%);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
    }
    #hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../img/portao_basculante.jpeg");
      background-size: cover;
      background-position: center;
      opacity: 0.12;
      mix-blend-mode: screen;
      pointer-events: none;
    }
    .hero-gradient-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.10), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.10), transparent 60%);
      pointer-events: none;
    }
    .hero-content { position: relative; z-index: 1; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid rgba(148, 163, 184, 0.6);
      color: #e5e7eb;
      font-size: 0.8rem;
      margin-bottom: 1rem;
    }
    .hero-badge i { color: var(--primary-color); }

    .hero-title {
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.1;
    }
    .hero-title span { color: var(--primary-color); }

    .hero-subtitle {
      color: #9ca3af;
      max-width: 720px;
      font-size: 1rem;
    }

    .hero-text {
      color: #cbd5e1;
      max-width: 780px;
      font-size: 0.95rem;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
      margin-top: 1.5rem;
    }
    .hero-meta-item { display: flex; flex-direction: column; font-size: 0.85rem; color: #9ca3af; }
    .hero-meta-item strong { color: #e5e7eb; }

    .hero-card {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
      border-radius: 1.25rem;
      border: 1px solid rgba(148, 163, 184, 0.25);
      padding: 1.8rem;
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    }
    .hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
    .hero-card-title { font-size: 0.9rem; color: #9ca3af; }
    .hero-card-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: #22c55e; }
    .hero-card-status-dot { width: 8px; height: 8px; border-radius: 999px; background-color: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.9); }
    .hero-card-number { font-size: 2rem; font-weight: 600; color: var(--primary-color); }
    .hero-card-text { font-size: 0.88rem; color: #9ca3af; margin-bottom: 0.9rem; }
    .hero-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; }
    .hero-card-tag {
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      background-color: rgba(31, 41, 55, 0.95);
      border: 1px solid rgba(148, 163, 184, 0.4);
    }

    /* SEÇÕES */
    section { padding: 4rem 0; }
    .section-title { font-weight: 600; font-size: 1.9rem; }
    .section-subtitle { color: #9ca3af; max-width: 720px; margin: 0 auto; }
    .divider {
      width: 60px; height: 3px;
      background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark));
      border-radius: 999px;
      margin: 1rem auto 0;
    }

    /* BOXES / CARDS */
    .icon-box {
      background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), rgba(15, 23, 42, 1));
      border-radius: 1rem;
      padding: 1rem 1.2rem;
      border: 1px solid rgba(148, 163, 184, 0.35);
      display: flex;
      gap: 0.9rem;
      align-items: flex-start;
      height: 100%;
    }
    .icon-box i { font-size: 1.5rem; color: var(--primary-color); }
    .icon-box h5 { margin-bottom: 0.25rem; font-size: 1rem; }
    .icon-box p { font-size: 0.85rem; color: #9ca3af; margin: 0; }

    .service-card {
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
      border-radius: 1.1rem;
      padding: 1.35rem 1.2rem;
      border: 1px solid rgba(55, 65, 81, 0.8);
      height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), transparent 55%);
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .service-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary-color);
      box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
    }
    .service-card:hover::before { opacity: 1; }
    .service-icon {
      width: 44px; height: 44px;
      border-radius: 0.9rem;
      display: inline-flex; align-items: center; justify-content: center;
      background: rgba(31, 41, 55, 0.95);
      color: var(--primary-color);
      margin-bottom: 0.8rem;
    }
    .service-card h5 { font-size: 1.05rem; margin-bottom: 0.4rem; }
    .service-card p { font-size: 0.9rem; color: #9ca3af; margin-bottom: 0; }

    .note-no-aluminum {
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.5);
      color: #fecaca;
      border-radius: 1rem;
      padding: 0.9rem 1rem;
      font-size: 0.9rem;
    }

    /* GALERIA */
    .gallery-item {
      border-radius: 1rem;
      overflow: hidden;
      border: 1px solid rgba(55, 65, 81, 0.85);
      background: #020617;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    }
    .gallery-item img {
      width: 100%;
      height: clamp(170px, 24vw, 240px);
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease, filter 0.3s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.04);
      filter: saturate(1.05);
    }

    /* DEPOIMENTOS */
    .testimonial-card {
      background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.08), rgba(15, 23, 42, 0.98));
      border-radius: 1.2rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      padding: 1.5rem;
      max-width: 720px;
      margin: 0 auto;
    }
    .testimonial-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 0.5rem; }
    .testimonial-text { font-size: 0.95rem; color: #e5e7eb; }
    .testimonial-name { font-weight: 600; margin-top: 1rem; }
    .testimonial-location { font-size: 0.85rem; color: #9ca3af; }
    .testimonial-stars { color: #facc15; font-size: 0.9rem; margin-top: 0.5rem; }

    /* DIFERENCIAIS */
    .diferencial-card {
      background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.08), rgba(15, 23, 42, 1));
      border-radius: 1.1rem;
      padding: 1.25rem 1.1rem;
      border: 1px solid rgba(55, 65, 81, 0.9);
      height: 100%;
      display: flex;
      gap: 0.9rem;
    }
    .diferencial-icon {
      width: 42px; height: 42px;
      border-radius: 999px;
      background: rgba(31, 41, 55, 0.95);
      display: flex; align-items: center; justify-content: center;
      color: var(--primary-color);
      flex-shrink: 0;
    }
    .diferencial-card h5 { font-size: 1rem; margin-bottom: 0.25rem; }
    .diferencial-card p { font-size: 0.9rem; color: #9ca3af; margin: 0; }

    /* COMO FUNCIONA */
    .step-card {
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
      border-radius: 1.2rem;
      padding: 1.2rem 1.2rem;
      border: 1px solid rgba(55, 65, 81, 0.9);
      height: 100%;
    }
    .step-num {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(31, 41, 55, 0.95);
      color: var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin-bottom: 0.6rem;
    }
    .step-card h5 { font-size: 1rem; margin-bottom: 0.3rem; }
    .step-card p { font-size: 0.9rem; color: #9ca3af; margin: 0; }

    /* ÁREA DE ATUAÇÃO */
    #area-atuacao { background: radial-gradient(circle at top left, #020617 0%, #020617 45%, #020617 100%); }
    /* FAQ */
    #faq .accordion-item {
      background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: 1rem;
      overflow: hidden;
    }
    #faq .accordion-button {
      background: transparent;
      color: #e5e7eb;
      font-weight: 600;
    }
    #faq .accordion-button:not(.collapsed) {
      color: var(--primary-color);
      box-shadow: none;
      background: rgba(15, 23, 42, 0.85);
    }
    #faq .accordion-button:focus {
      box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
    }
    #faq .accordion-body {
      color: #9ca3af;
      font-size: 0.92rem;
    }
    /* CONTATO / CTA */
    #contato {
      background: radial-gradient(circle at top right, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
    }
    .contact-card {
      background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.10), rgba(15, 23, 42, 0.98));
      border-radius: 1.2rem;
      padding: 1.8rem 1.6rem;
      border: 1px solid rgba(148, 163, 184, 0.5);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
    }
    .contact-info-card {
      background: radial-gradient(circle at top, rgba(96, 165, 250, 0.1), rgba(15, 23, 42, 1));
      border-radius: 1.2rem;
      padding: 1.5rem 1.4rem;
      border: 1px solid rgba(75, 85, 99, 0.9);
      height: 100%;
    }
    .contact-info-item {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
      margin-bottom: 1rem;
      font-size: 0.92rem;
    }
    .contact-info-icon {
      width: 34px; height: 34px;
      border-radius: 999px;
      display: flex; align-items: center; justify-content: center;
      background-color: rgba(31, 41, 55, 0.95);
      color: var(--primary-color);
      flex-shrink: 0;
    }
    .contact-info-item strong { display: block; font-size: 0.9rem; }
    .contact-card a:not(.btn),
    .contact-info-card a:not(.btn) {
      color: #e5e7eb;
      text-decoration: none;
    }
    .contact-card a:not(.btn):hover,
    .contact-info-card a:not(.btn):hover {
      color: var(--primary-color);
      text-decoration: underline;
    }
    .contact-info-schedule {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px dashed rgba(75, 85, 99, 0.9);
      font-size: 0.9rem;
      color: #9ca3af;
    }

    /* WhatsApp flutuante */
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #22c55e;
      color: #f9fafb;
      border-radius: 999px;
      padding: 0.7rem 0.9rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: none;
      box-shadow: 0 14px 30px rgba(22, 163, 74, 0.7);
      z-index: 999;
    }
    .whatsapp-float i { font-size: 1.4rem; }
    .whatsapp-float:hover { text-decoration: none; background: #16a34a; transform: translateY(-1px); }

    /* FOOTER */
    footer {
      background-color: #020617;
      border-top: 1px solid rgba(31, 41, 55, 1);
      padding: 1.2rem 0;
      font-size: 0.85rem;
      color: #9ca3af;
    }
    footer a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
    footer a:hover { text-decoration: underline; }

    /* MODAL */
    .modal-content {
      background-color: #020617;
      color: #e5e7eb;
      border-radius: 1rem;
      border: 1px solid rgba(75, 85, 99, 1);
    }
    .modal-header { border-bottom-color: rgba(55, 65, 81, 0.85); }
    .modal-footer { border-top-color: rgba(55, 65, 81, 0.85); }
    .modal-body img { border-radius: 0.8rem; border: 1px solid rgba(55, 65, 81, 0.8); }

    /* RESPONSIVIDADE */
    @media (max-width: 991.98px) {
      body { padding-top: 65px; }
      .hero-card { margin-top: 2rem; }
    }
    @media (max-width: 767.98px) {
      section { padding: 3rem 0; }
      .hero-meta { gap: 0.9rem; }
      .navbar-brand .brand-logo { height: 46px; width: auto; }
      .whatsapp-float span { display: none; }
    }
  


  .map-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(75, 85, 99, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }
  .map-card iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
  }
