/* ============================================================
    UMS – Folha de Estilos Principal
    Versão: Dev (extendida, comentada)
    Observação: Semanticamente idêntica à ums.min.css
============================================================ */

/* ============================================================
    0. VARIÁVEIS GLOBAIS (CORES, LAYOUT, SOMBRAS, TRANSIÇÕES)
   ============================================================ */

:root {
  /* Paleta principal */
  --color-primary: hsl(210, 15%, 25%);
  --color-primary-light: hsl(210, 15%, 35%);
  --color-accent: hsl(25, 95%, 55%);
  --color-accent-hover: hsl(25, 95%, 45%);

  /* Fundos principais */
  --bg-body: hsl(200, 2%, 29%);
  --bg-card: hsl(0, 0%, 93%);
  --bg-nav: hsl(210, 7%, 17%);
  --bg-footer: hsl(210, 20%, 15%);
  --bg-sidebar: hsl(210, 3%, 86%);
  --bg-carousel: linear-gradient(
    135deg,
    hsl(210, 20%, 25%) 0%,
    hsl(210, 15%, 35%) 100%
  );

  /* Tipografia / cores de texto */
  --text-primary: hsl(210, 15%, 20%);
  --text-secondary: hsl(210, 10%, 45%);
  --text-light: hsl(0, 0%, 100%);
  --text-muted: hsl(210, 10%, 60%);

  /* Tabelas técnicas */
  --table-header-bg: hsl(210, 15%, 25%);
  --table-header-text: hsl(0, 0%, 100%);
  --table-row-even: hsl(210, 10%, 97%);
  --table-border: hsl(210, 10%, 85%);

  /* Layout base */
  --max-width: 1140px;
  --carousel-height: 322px;
  --nav-height: 44px;
  --footer-height: 67px;
  --sidebar-width: 260px;

  /* Bordas e sombras */
  --border-color: hsl(210, 10%, 85%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.2s ease;

  /* Variáveis auxiliares utilizadas em formulários / detalhes */
  --border: var(--border-color);
  --elegant: var(--color-primary);
  --lt: var(--border-color);
  --muted-foreground: var(--text-secondary);
  --premium: var(--color-accent);
  --radius: 4px;
  --ring: hsl(217, 91%, 60%);
}

/* ============================================================
    1. RESET & ELEMENTOS BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--color-primary);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.hidden {
  display: none !important;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container padrão: limita a largura do conteúdo a 1140px */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
    2. CAROUSEL (HEADER DESTACADO)
   ============================================================ */

.carousel-section {
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  height: var(--carousel-height);
  background: var(--bg-carousel);
  overflow: hidden;
}

/* Slides empilhados com cross-fade */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Imagens preenchem toda a área do carousel */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Conteúdo opcional sobre o banner */
.carousel-content {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  border: none;
  padding: 0;
}

.carousel-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Botões de navegação do carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

/* Indicadores (bolinhas) do carousel */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--text-light);
}

/* Quando o menu mobile está aberto, bloqueia o scroll da página */
body.no-scroll {
  overflow: hidden;
}

/* ============================================================
    3. NAVEGAÇÃO SUPERIOR (DESKTOP E MOBILE)
   ============================================================ */

.navigation {
  height: var(--nav-height);
}

.navigation .container {
  height: 100%;
}

.nav-inner {
  height: 100%;
  background: var(--bg-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: relative;
}

/* Logo */
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo-accent {
  color: var(--color-accent);
}

/* Menu desktop */
.nav-menu {
  display: flex;
  gap: 0;
}

.nav-link {
  display: block;
  padding: 0 1rem;
  height: var(--nav-height);
  line-height: var(--nav-height);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

/* Botão hamburguer (aparece só no mobile) */
.mobile-menu-btn {
  display: none;
  color: var(--text-light);
  padding: 0.5rem;
}

/* ============================================================
    4. MENU MOBILE (OVERLAY)
   ============================================================ */

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-nav);
  z-index: 60;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu .nav-link {
  display: block;
  height: auto;
  line-height: 1.4;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  color: var(--text-light);
  font-size: 0.95rem;
}

.mobile-section-title {
  padding: 0.75rem 1.5rem 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Overlay escurecido atrás do menu mobile */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.45);
  z-index: 55;
}

.mobile-menu-overlay.open {
  display: block;
}

/* No desktop, esconder menu mobile e overlay na marra */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ============================================================
    5. DROPDOWN (DESKTOP) – METÁIS FERROSOS / NÃO FERROSOS
   ============================================================ */

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  background: var(--bg-nav);
  min-width: 220px;
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}

.has-dropdown:hover > .dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
  line-height: 1.4;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
}

/* Realce do item-pai ativo quando há subpágina selecionada */
.parent-active > a.nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
}

/* ============================================================
    6. LAYOUT: ÁREA DE CONTEÚDO + SIDEBAR
   ============================================================ */

.content-area {
  flex: 1;
}

.content-wrapper {
  display: flex;
  min-height: 500px;
}

/* Sidebar lateral (desktop) */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  flex-shrink: 0;
}

/* Esconde completamente a sidebar em telas pequenas */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}

.sidebar-section {
  border-bottom: 1px solid var(--border-color);
}

/* Cabeçalhos clicáveis da sidebar (accordion) */
.sidebar-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  transition: background var(--transition-fast);
}

.sidebar-header:hover {
  background: rgba(0, 0, 0, 0.05);
}

.sidebar-header .chevron {
  transition: transform var(--transition-fast);
}

.sidebar-section.open .chevron {
  transform: rotate(180deg);
}

.sidebar-items {
  padding-bottom: 0.5rem;
}

/* Links da sidebar */
.sidebar-link {
  display: block;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.sidebar-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

.sidebar-link.active {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 500;
}

/* Conteúdo principal */
.main-content {
  flex: 1;
  padding: 2rem;
  background: var(--bg-card);
}

.description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.content-section {
  margin-bottom: 2rem;
}

/* ============================================================
    7. TABELAS TÉCNICAS E TAGS
   ============================================================ */

.table-container {
  overflow-x: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: 1px solid var(--table-border);
}

.technical-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px;
}

.technical-table th {
  background: var(--table-header-bg);
  color: var(--table-header-text);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.technical-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--table-border);
}

.technical-table tbody tr:nth-child(even) {
  background: var(--table-row-even);
}

.technical-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Tags de aplicação / categorias */
.tag {
  display: inline-block;
  border: 1px solid var(--lt);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin: 0.1rem 0.25rem;
  font-size: 12px;
  background: #f8fafc;
}

/* Versão compacta da tabela (fonte menor) */
.technical-table2 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  min-width: 500px;
}

.technical-table2 th {
  background: var(--table-header-bg);
  color: var(--table-header-text);
  padding: 0.35rem;
  text-align: center;
  vertical-align: bottom;
  font-weight: 600;
  white-space: nowrap;
  border-left: 1px solid var(--table-border);
}

.technical-table2 td {
  padding: 0.35rem;
  border-bottom: 1px solid var(--table-border);
  text-align: center;
}

.technical-table2 tbody tr:nth-child(even) {
  background: var(--table-row-even);
}

.technical-table2 tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Lista de aplicações em grid responsivo */
.applications-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding-left: 0;
}

.applications-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.applications-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* =========================================================
   UMS FUNIL (Product Finder) — Tags + Actionbar + Modal
   Cole no FINAL do CSS global
   ========================================================= */

/* ---------- TAGS (multi-select) ---------- */
.tag{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin:.25rem .25rem 0 0;
  padding:.35rem .55rem;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  cursor:pointer;
  user-select:none;
  touch-action:manipulation;
  background:#fff;
  transition:transform .05s ease, box-shadow .12s ease, border-color .12s ease;
}

.tag:active{
  transform:scale(.99);
}

.tag[role="button"]{
  outline:none;
}

.tag:focus-visible{
  box-shadow:0 0 0 3px rgba(0,0,0,.12);
}

.tag.is-selected{
  border-color:rgba(0,0,0,.35);
  box-shadow:0 0 0 2px rgba(0,0,0,.08) inset;
}

/* ---------- ACTION BAR (sticky no rodapé) ---------- */
.pf-actionbar{
  position:sticky;
  bottom:0;
  z-index:30;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(6px);
  border-top:1px solid rgba(0,0,0,.08);
  padding:.6rem .8rem;
  display:none;
  gap:.6rem;
  align-items:center;
  justify-content:space-between;
}

.pf-actionbar.is-visible{
  display:flex;
}

.pf-count{
  font-size:.95rem;
  opacity:.85;
}

/* Botões genéricos do funil */
.pf-btn{
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  padding:.55rem .8rem;
  cursor:pointer;
  background:#fff;
  transition:box-shadow .12s ease, transform .05s ease, border-color .12s ease;
}

.pf-btn:hover{
  border-color:rgba(0,0,0,.28);
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}

.pf-btn:active{
  transform:scale(.99);
}

.pf-btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(0,0,0,.12);
}

/* ---------- MODAL ---------- */
.pf-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:9998;
  display:none;
}

.pf-modal{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:min(640px, 94vw);
  max-height:86vh;
  overflow:auto;
  background:#fff;
  border-radius:16px;
  z-index:9999;
  display:none;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.pf-modal.is-open,
.pf-modal-backdrop.is-open{
  display:block;
}

.pf-modal-header{
  padding:1rem 1rem .6rem;
  border-bottom:1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content:space-between;
  gap:.8rem;
  align-items:flex-start;
}

.pf-modal-body{
  padding:1rem;
}

.pf-close{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:1.35rem;
  line-height:1;
  padding:.2rem .4rem;
  border-radius:10px;
}

.pf-close:hover{
  background:rgba(0,0,0,.06);
}

/* ---------- RESUMO (box) ---------- */
.pf-summary{
  font-size:.95rem;
  border:1px dashed rgba(0,0,0,.18);
  border-radius:12px;
  padding:.7rem .8rem;
  background:rgba(0,0,0,.015);
}

/* ---------- CAMPOS ---------- */
.pf-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:.8rem;
}

@media (min-width:720px){
  .pf-grid{ grid-template-columns:1fr 1fr; }
}

.pf-field label{
  display:block;
  font-size:.9rem;
  margin-bottom:.25rem;
  opacity:.9;
}

.pf-field input,
.pf-field select,
.pf-field textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  padding:.6rem .7rem;
  background:#fff;
  font:inherit;
}

.pf-field textarea{
  resize:vertical;
  min-height:90px;
}

.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus{
  outline:none;
  border-color:rgba(0,0,0,.35);
  box-shadow:0 0 0 3px rgba(0,0,0,.10);
}

/* ---------- MOBILE: modal mais “tela cheia” ---------- */
@media (max-width:540px){
  .pf-modal{
    left:50%;
    top:auto;
    bottom:0;
    transform:translateX(-50%);
    width:100vw;
    max-height:92vh;
    border-radius:16px 16px 0 0;
  }
}


/* ============================================================
    8. COMPONENTES DE ALERTA / BOXES DE NORMAS
   ============================================================ */

.ums-alert {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  border-radius: 4px;
  border-left: 4px solid #999;
  background-color: #f7f7f8;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ums-alert > h2,
.ums-alert > h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.ums-alert p:last-child {
  margin-bottom: 0;
}

.ums-alert-warning {
  border-left-color: #d8a100;
  background-color: #fff9e6;
}

.ums-alert-info {
  border-left-color: #2f6fad;
  background-color: #eef4fb;
}

.ums-alert-success {
  border-left-color: #2f8a3b;
  background-color: #e8f6ea;
}

.ums-alert-error {
  border-left-color: #b82222;
  background-color: #fbeaea;
}

/* Box especial para blocos de normas */
.ums-normas-box {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border: 1px solid #d4d5d7;
  background-color: #f7f7f8;
}

.ums-normas-box > h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
  border-bottom: 1px solid #e0e1e2;
  padding-bottom: 0.35rem;
}

.ums-normas-box ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.ums-normas-box li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 0.9rem;
  line-height: 1.5;
}

.ums-normas-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 3px;
  height: 0.9em;
  border-radius: 2px;
  background-color: #b3b4b7;
}

.ums-normas-box li strong {
  display: inline-block;
  font-weight: 600;
  color: #222;
  background-color: #e4e5e7;
  border-radius: 3px;
  padding: 0.05rem 0.4rem;
  margin-right: 0.35rem;
  font-size: 0.92rem;
}

.ums-normas-box li:last-child {
  margin-bottom: 0;
}

/* ============================================================
    9. FORMULÁRIO DE CONTATO / BLOCO CONTATO
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--elegant);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Bloco de contatos/telefones/endereço lateral */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: hsla(217, 91%, 60%, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: var(--premium);
  font-size: 1.5rem;
}

.contact-label {
  font-weight: 500;
  color: var(--elegant);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-value:hover {
  color: var(--premium);
}

/* Campo honeypot anti-spam (escondido) */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.hp-field label {
  font-size: 0.75rem;
}

/* ============================================================
    10. RODAPÉ (FOOTER)
   ============================================================ */

.footer {
  height: var(--footer-height);
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.7);
}

.footer-content {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: inherit;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ============================================================
    11. RESPONSIVIDADE (BREAKPOINTS)
   ============================================================ */

/* Tablets e desktops médios */
@media (max-width: 992px) {
  .sidebar {
    width: 220px;
  }

  .carousel-title {
    font-size: 2rem;
  }

  .carousel-subtitle {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --carousel-height: 250px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .main-content {
    padding: 1.5rem;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-subtitle {
    font-size: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-links {
    gap: 1rem;
  }

  .applications-list {
    grid-template-columns: 1fr;
  }

  .ums-alert {
    padding: 1rem;
    margin: 1rem 0;
  }

  .ums-normas-box {
    padding: 0.9rem;
  }

  .ums-normas-box li {
    padding-left: 0.75rem;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  :root {
    --carousel-height: 200px;
  }

  .main-content {
    padding: 1rem;
  }

  .carousel-title {
    font-size: 1.25rem;
  }

  .carousel-subtitle {
    font-size: 0.9rem;
  }
}

/* =========================================================
   PATCH /contato — Responsividade do formulário (mobile-first)
   Cole no FINAL do CSS global
   ========================================================= */

/* 1) No mobile: form-row vira 1 coluna */
@media (max-width: 768px) {
  #contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* 2) Resumo do funil ocupa toda a largura */
  #contact-form #funnel_resumo {
    grid-column: 1 / -1;
    margin: 0.6rem 0 0.2rem !important;
  }

  /* 3) Inputs e textarea fluem 100% e evitam zoom do iOS */
  #contact-form input,
  #contact-form textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px; /* iOS: evita zoom automático */
  }

  /* 4) Botão full-width de verdade */
  #contact-form .full-width {
    width: 100%;
  }
}

/* 5) Em qualquer tela: garantir que o funnel_resumo não “brigue” com grid */
#contact-form #funnel_resumo {
  width: 100%;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}