/*
Theme Name: Ferroeste MT
Theme URI: https://ferroestemt.com.br
Author: Ferroeste MT
Author URI: https://ferroestemt.com.br
Description: Tema clássico WordPress da Ferroeste MT — Serviços e Ferrovias. Atualizado em 2026-05-04 (v1.2.0 — Hero com imagem mais visível e zoom intenso, fontes do hero reduzidas, botão de e-mail flutuante, atualizações de títulos).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferroestemt
Tags: business, industrial, dark-mode, custom-colors, custom-menu, threaded-comments, translation-ready
*/

/* ============================================================
   FERROESTE MT — Design tokens (cores, sombras, gradientes)
   Baseado em styles.css do projeto original.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap");

:root {
  --radius: 0.5rem;
  --background: oklch(0.20 0.018 245);
  --foreground: oklch(0.97 0.01 95);
  --surface: oklch(0.25 0.022 245);
  --surface-elevated: oklch(0.30 0.026 245);
  --card: oklch(0.25 0.022 245);
  --card-foreground: oklch(0.97 0.01 95);
  --primary: oklch(0.66 0.17 142);
  --primary-foreground: oklch(0.16 0.02 245);
  --ember: oklch(0.66 0.17 142);
  --ember-foreground: oklch(0.16 0.02 245);
  --steel: oklch(0.42 0.035 245);
  --muted: oklch(0.30 0.025 245);
  --muted-foreground: oklch(0.74 0.018 245);
  --border: oklch(0.36 0.028 245);
  --input: oklch(0.34 0.032 245);
  --destructive: oklch(0.62 0.24 25);

  --gradient-ember: linear-gradient(135deg, oklch(0.70 0.18 142), oklch(0.55 0.16 148));
  --gradient-steel: linear-gradient(180deg, oklch(0.20 0.018 245), oklch(0.14 0.018 245));
  --gradient-radial-ember: radial-gradient(circle at 30% 30%, oklch(0.66 0.17 142 / 0.22), transparent 60%);

  --shadow-ember: 0 20px 60px -20px oklch(0.66 0.17 142 / 0.45);
  --shadow-deep: 0 30px 80px -30px oklch(0 0 0 / 0.7);
  --shadow-card: 0 4px 24px -8px oklch(0 0 0 / 0.5);

  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --header-h: 96px;
}

/* ============================================================
   Reset leve + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--ember); color: var(--ember-foreground); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   Utilitários
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.text-ember { color: var(--ember); }
.text-muted { color: var(--muted-foreground); }
.font-mono-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ember); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); margin-bottom: 16px; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--ember); }

.section { padding: 96px 0; position: relative; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .section { padding: 128px 0; } }

.grid-lines {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-radial-ember { background: var(--gradient-radial-ember); }
.bg-gradient-ember { background: var(--gradient-ember); }
.bg-gradient-steel { background: var(--gradient-steel); }
.shadow-ember { box-shadow: var(--shadow-ember); }
.shadow-deep { box-shadow: var(--shadow-deep); }

/* ============================================================
   Botões
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 500; font-size: 15px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ember); color: var(--ember-foreground); }
.btn-primary:hover { box-shadow: var(--shadow-ember); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--foreground); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s ease; background: transparent;
}
.site-header.is-scrolled {
  background: rgba(28, 38, 50, 0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__logo-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  border-radius: 999px; padding: 8px;
  height: 80px; width: 80px;
}
.site-header__logo { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 768px) {
  .site-header__inner { height: 112px; }
  .site-header__logo-wrap { height: 96px; width: 96px; padding: 10px; }
}
.site-header__title { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-header__title { display: flex; } }
.site-header__title strong { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; }
.site-header__title span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 4px; }

.site-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  position: relative; transition: color 0.2s;
}
.site-nav a:hover { color: white; }
.site-nav a.is-active { color: white; }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--ember);
}

.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; padding: 8px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none; background: rgba(28,38,50,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 16px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 8px; font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(54,72,90,0.5);
}
.mobile-nav a:hover { color: var(--ember); }
.mobile-nav .btn-primary { margin-top: 12px; width: 100%; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--ember), transparent);
}
.site-footer__grid { display: grid; gap: 48px; padding: 64px 0; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ember); margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 8px; font-size: 14px; color: var(--muted-foreground); }
.site-footer ul li a:hover { color: white; }

.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; width: 40px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted-foreground); transition: all 0.3s;
}
.social-links a:hover { color: var(--ember); border-color: var(--ember); transform: translateY(-2px); }
.social-links svg { width: 16px; height: 16px; }

.site-footer__bottom { border-top: 1px solid var(--border); padding: 24px 0 96px; font-size: 12px; color: var(--muted-foreground); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
@media (min-width: 768px) { .site-footer__bottom { padding-bottom: 24px; padding-right: 220px; } }

/* ============================================================
   HERO (front-page)
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; animation: hero-kenburns 12s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.3) translate(-30px,-15px); } }
.hero__overlay-1 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,38,50,0.9), rgba(28,38,50,0.4) 50%, rgba(28,38,50,0.1)); }
.hero__overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(28,38,50,0.5), transparent, transparent); }
.hero__inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(28px, 4.8vw, 64px); line-height: 0.95; max-width: 1100px;
}
.hero h1 .text-ember { text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero p { margin-top: 32px; font-size: 16px; color: rgba(255,255,255,0.8); max-width: 600px; }
.hero__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 56px 24px; border-right: 1px solid var(--border); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 1024px) {
  .stat { border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--border); }
}
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .stat:nth-child(-n+2) { border-bottom: 0; } }
.stat__value { font-family: var(--font-display); font-size: 56px; color: var(--ember); }
@media (min-width: 1024px) { .stat__value { font-size: 64px; } }
.stat__label { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }

/* SectionHeading */
.section-heading { max-width: 720px; }
.section-heading h2 { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 56px); text-transform: uppercase; }
.section-heading p { margin-top: 24px; color: var(--muted-foreground); font-size: 17px; line-height: 1.7; }

/* Verticais (cards) */
.cards-3 { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card-vertical { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.card-vertical:hover { border-color: rgba(79,166,58,0.6); }
.card-vertical__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-vertical__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card-vertical:hover .card-vertical__img img { transform: scale(1.1); }
.card-vertical__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card), rgba(0,0,0,0.4) 30%, transparent); }
.card-vertical__body { padding: 32px; }
.card-vertical__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ember); }
.card-vertical h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 12px; }
.card-vertical__body p { font-size: 14px; color: var(--muted-foreground); margin-bottom: 24px; }
.card-vertical__link { color: var(--ember); font-weight: 500; font-size: 14px; }

/* Grid duas colunas (Experiência) */
.two-col { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.media-tall { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-deep); }
.media-tall img { width: 100%; height: 100%; object-fit: cover; }
.media-tall__caption { position: absolute; left: 0; bottom: 0; padding: 32px; background: linear-gradient(to top, rgba(28,38,50,0.85), transparent); width: 100%; }
.media-tall__caption .font-mono-tag { display: block; margin-bottom: 8px; }
.media-tall__caption strong { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; display: block; line-height: 1.1; }

/* CTA box */
.cta-box {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--gradient-steel); border: 1px solid var(--border); box-shadow: var(--shadow-deep);
  padding: 48px 32px;
}
@media (min-width: 768px) { .cta-box { padding: 64px; } }
.cta-box__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .cta-box__grid { grid-template-columns: 1.4fr 1fr; } }
.cta-box h2 { font-size: clamp(32px, 4vw, 48px); }

/* Página Serviços — bloco com imagem + lista */
.service-block { padding: 96px 0; }
.service-block.is-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-block__grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .service-block__grid { grid-template-columns: 1fr 1fr; } }
.service-block.is-alt .service-block__grid > .media-tall { order: 2; }
.service-block__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(79,166,58,0.1); border: 1px solid rgba(79,166,58,0.3); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ember); font-weight: 600; }
.service-block h2 { margin-top: 16px; font-size: clamp(28px, 4vw, 48px); }
.service-block__desc { margin-top: 24px; color: var(--muted-foreground); line-height: 1.7; }
.service-list { margin-top: 32px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.service-list li::before { content: "✓"; color: var(--ember); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* Pílulas de âncora */
.pill-row { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(54,72,90,0.4); font-size: 14px; transition: all 0.2s; }
.pill:hover { color: var(--ember); border-color: rgba(79,166,58,0.6); }

/* Conformidade — cards de NRs */
.nr-grid { margin-top: 64px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .nr-grid { grid-template-columns: 1fr 1fr; } }
.nr-card { padding: 32px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); transition: border-color 0.2s; }
.nr-card:hover { border-color: rgba(79,166,58,0.6); }
.nr-card__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.nr-card h3 { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.nr-card__num { font-family: var(--font-mono); font-size: 11px; color: var(--ember); }
.nr-card ul li { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.nr-card ul li::before { content: "▸"; color: var(--ember); font-family: var(--font-mono); }

/* Princípios (3 cards) */
.principles { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { padding: 32px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); }
.principle h3 { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; margin: 16px 0 12px; }
.principle p { font-size: 14px; color: var(--muted-foreground); }

/* Sobre — pilares */
.pillars { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 32px; border: 1px solid var(--border); background: var(--background); border-radius: var(--radius); transition: border-color 0.2s; }
.pillar:hover { border-color: rgba(79,166,58,0.6); }
.pillar__icon { height: 48px; width: 48px; border-radius: 8px; background: rgba(79,166,58,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--ember); }
.pillar h3 { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; margin-bottom: 12px; }
.pillar p { font-size: 14px; color: var(--muted-foreground); }

/* Sobre — valores (mvv) */
.mvv { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mvv { grid-template-columns: repeat(3, 1fr); } }
.mvv__item { padding: 32px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); position: relative; overflow: hidden; }
.mvv__item h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; margin: 24px 0 12px; }

/* Diferenciais lista */
.diff-list { margin-top: 32px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .diff-list { grid-template-columns: 1fr 1fr; } }
.diff-list li { display: flex; gap: 12px; font-size: 14px; }
.diff-list li::before { content: "✓"; color: var(--ember); font-weight: 700; flex-shrink: 0; }

/* Mercados (cards centralizados) */
.markets { margin-top: 64px; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .markets { grid-template-columns: repeat(4, 1fr); } }
.market { padding: 32px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); text-align: center; transition: border-color 0.2s; }
.market:hover { border-color: rgba(79,166,58,0.6); }
.market__label { font-family: var(--font-display); text-transform: uppercase; font-size: 14px; letter-spacing: 0.05em; }

/* Timeline */
.timeline { margin-top: 64px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 1px; background: var(--border); }
@media (min-width: 768px) { .timeline::before { left: 50%; transform: translateX(-0.5px); } }
.tl-item { position: relative; padding-left: 48px; margin-bottom: 40px; }
@media (min-width: 768px) { .tl-item { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; } }
.tl-item::before { content: ""; position: absolute; left: 16px; top: 6px; height: 12px; width: 12px; border-radius: 999px; background: var(--ember); box-shadow: 0 0 0 4px var(--background); transform: translateX(-50%); }
@media (min-width: 768px) { .tl-item::before { left: 50%; } }
.tl-item__year { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--ember); text-transform: uppercase; margin-bottom: 8px; }
.tl-item__title { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.tl-item__text { color: var(--muted-foreground); margin-top: 8px; }
@media (min-width: 768px) {
  .tl-item:nth-child(odd) > div:first-child { text-align: right; padding-right: 48px; }
  .tl-item:nth-child(odd) > div:last-child { padding-left: 48px; }
  .tl-item:nth-child(even) > div:first-child { order: 2; padding-left: 48px; }
  .tl-item:nth-child(even) > div:last-child { order: 1; text-align: right; padding-right: 48px; }
}

/* Contato */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-card { padding: 24px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); margin-bottom: 24px; }
.contact-card__head { display: flex; gap: 16px; align-items: flex-start; }
.contact-card__icon { height: 44px; width: 44px; border-radius: 8px; background: rgba(79,166,58,0.1); display: flex; align-items: center; justify-content: center; color: var(--ember); flex-shrink: 0; }
.contact-card__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 4px; }
.contact-card__text { font-size: 14px; white-space: pre-line; line-height: 1.6; }

.contact-form {
  padding: 32px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .contact-form { padding: 40px; } }
.contact-form .field { margin-bottom: 20px; }
.contact-form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px; background: var(--input);
  border: 1px solid var(--border); color: var(--foreground); font-size: 15px;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember);
}
.contact-form .field-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-form .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form button[type="submit"] { width: 100%; padding: 16px; }
.form-feedback { margin-top: 16px; padding: 12px 16px; border-radius: 8px; background: rgba(79,166,58,0.15); border: 1px solid rgba(79,166,58,0.4); color: var(--ember); font-size: 14px; }
.form-feedback.is-error { background: rgba(220,40,40,0.12); border-color: rgba(220,40,40,0.4); color: #ff8e8e; }

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 12px; border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4); transition: transform 0.3s; cursor: pointer; padding: 0; border: 0;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float__btn { position: relative; display: flex; height: 56px; width: 56px; align-items: center; justify-content: center; color: white; border-radius: 999px; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #25D366; opacity: 0.6; animation: wa-ping 1.6s ease-out infinite; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__label { display: none; padding-right: 20px; padding-left: 4px; color: white; font-size: 14px; font-weight: 500; }
@media (min-width: 640px) { .wa-float__label { display: inline; } }

/* Floating contact stack (Email + WhatsApp) */
.wa-stack { position: fixed; bottom: 20px; right: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; }
.wa-stack .wa-float { position: static; }
.wa-mail { display: inline-flex; height: 48px; width: 48px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ember); color: var(--ember-foreground); box-shadow: 0 12px 28px rgba(0,0,0,0.35); transition: transform 0.25s, box-shadow 0.25s; }
.wa-mail:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.45); }


/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; text-align: center; }
.notfound h1 { font-family: var(--font-display); font-size: 128px; color: var(--ember); line-height: 1; }
.notfound h2 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; margin: 16px 0 8px; }
.notfound p { color: var(--muted-foreground); margin-bottom: 24px; }

/* Skip link */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--ember); color: var(--ember-foreground); padding: 8px 16px; z-index: 100; }
.skip-link:focus { top: 0; }

/* Main offset (header é fixo) */
.site-main { padding-top: var(--header-h); }
