/*
Theme Name: A.S. Elétrica
Theme URI: https://aseletrica.com.br/
Author: Stefany Oliveira
Author URI: https://agenciadecria.com.br/
Description: Tema WordPress para A.S. E Serviço Elétrica e divisão VALPB — engenharia elétrica, Wallbox, automação e reformas. Frontend A.S. com backend WordPress (Ilton / montagem-pro).
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: as-eletrica
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, featured-images, translation-ready, one-column, custom-logo
*/

/* Estilos principais em assets/css/index.css (enfileirado via functions.php). */

/* Páginas utilitárias (avaliar / upload) */
.as-utility-page {
  min-height: 100svh;
  padding: 120px 20px 60px;
  background: var(--bg, #0b0c0e);
  color: var(--text, #f4f5f7);
}

.as-utility-page .as-utility-inner {
  max-width: 640px;
  margin: 0 auto;
}

.as-utility-page h1 {
  font-family: 'Barlow Condensed', Barlow, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.as-utility-page .as-form {
  background: var(--surface, #1e2022);
  border: 1px solid var(--line, rgba(16, 214, 0, 0.22));
  border-radius: 14px;
  padding: 28px;
  display: grid;
  gap: 18px;
}

.as-utility-page label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--muted, #9aa3ad);
}

.as-utility-page input,
.as-utility-page textarea,
.as-utility-page select {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-2, #141618);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: inherit;
  font: inherit;
}

.as-utility-page .as-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.as-utility-page .as-alert-success {
  background: rgba(16, 214, 0, 0.15);
  border: 1px solid rgba(16, 214, 0, 0.4);
}

.as-utility-page .as-alert-error {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.4);
}

.contact-notification-success,
.contact-notification-error {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 100;
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 360px;
}

.contact-notification-success {
  background: rgba(16, 214, 0, 0.92);
  color: #061006;
}

.contact-notification-error {
  background: rgba(220, 50, 50, 0.95);
  color: #fff;
}

/* Cloudflare Turnstile */
.as-turnstile {
  margin: 4px 0 8px;
  min-height: 65px;
}

.as-turnstile iframe {
  max-width: 100%;
}

@media (max-width: 640px) {
  .as-utility-page {
    padding: 100px 16px 80px;
  }

  .as-utility-page .as-form {
    padding: 20px;
  }

  .contact-notification-success,
  .contact-notification-error {
    top: auto;
    bottom: max(88px, env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
