/*
Theme Name: Salazar Custom
Theme URI: https://salazarcustom.com.br
Author: Salazar Custom
Description: Tema WordPress da Salazar Custom — confecção, acessórios e customização de motos e capacetes. Layout escuro, responsivo (desktop, tablet e celular) e otimizado para SEO.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salazar-custom
Tags: one-column, custom-logo, custom-menu, responsive-layout, translation-ready
*/

:root {
  --background: #100c0c;
  --coal: #1b1616;
  --foreground: #fdeee6;
  --smoke: rgba(253, 238, 230, 0.7);
  --muted: rgba(253, 238, 230, 0.5);
  --border: rgba(253, 238, 230, 0.12);
  --secondary: #2a2222;
  --ember: #ff2d55;
  --ember-glow: rgba(255, 45, 85, 0.25);
  --radius: 0.5rem;
  --header-h: 160px;
}

*,
*::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: "Barlow", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Bebas Neue", "Barlow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ember); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.eyebrow {
  font-size: .875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .25em; color: var(--ember); margin: 0;
}

.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }

.section-title { font-size: 2.25rem; margin-top: .75rem; }
@media (min-width: 640px) { .section-title { font-size: 3rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3.75rem; } }

.lead { font-size: 1.125rem; color: var(--smoke); line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); padding: .85rem 1.5rem;
  font-size: .875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; transition: all .2s ease; border: 0; cursor: pointer;
}
.btn-primary { background: var(--ember); color: #14100f; }
.btn-primary:hover { box-shadow: 0 0 30px -5px var(--ember-glow); opacity: .92; }
.btn-outline {
  border: 1px solid var(--border); background: rgba(16,12,12,.5);
  color: var(--foreground); backdrop-filter: blur(4px);
}
.btn-outline:hover { background: var(--secondary); }

/* Watermark */
.watermark {
  position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .06;
  background-repeat: no-repeat; background-position: center;
  background-size: min(92vw, 88vh) auto;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 12, 12, .9); backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 112px; padding: .75rem 0;
}
@media (min-width: 640px) { .header-inner { min-height: var(--header-h); } }
.site-logo img { height: 72px; width: auto; object-fit: contain; opacity: .9; transition: opacity .2s; }
.site-logo:hover img { opacity: 1; }
@media (min-width: 640px) { .site-logo img { height: 112px; } }

.main-nav ul { display: none; gap: 2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .main-nav ul { display: flex; } }
.main-nav a {
  font-size: .875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .12em; color: #fff; transition: color .2s;
}
.main-nav a:hover { color: var(--ember); }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: transparent; color: var(--smoke); cursor: pointer;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav { display: none; border-bottom: 1px solid var(--border); background: var(--background); padding: 1rem; }
.mobile-nav.open { display: block; }
@media (min-width: 768px) { .mobile-nav, .mobile-nav.open { display: none; } }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; font-weight: 500; }

/* Hero */
.hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding-top: 150px; overflow: hidden;
}
@media (min-width: 640px) { .hero { padding-top: 190px; } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), transparent 50%, rgba(16,12,12,.6));
}
.hero-inner { position: relative; z-index: 10; padding: 4rem 0; }
.hero-copy { max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Intro */
.intro { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.intro-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.intro figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.intro figure img { width: 100%; height: 100%; object-fit: cover; }

/* Products */
.products { background: var(--coal); }
.products-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  display: flex; flex-direction: column; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--background); transition: all .2s;
}
.product-card:hover { border-color: rgba(255,45,85,.5); background: rgba(42,34,34,.5); }
.product-card h3 { font-size: 1.5rem; letter-spacing: .04em; transition: color .2s; }
.product-card:hover h3 { color: var(--ember); }
.product-card p { flex: 1; margin: .75rem 0 0; font-size: .9375rem; color: var(--smoke); }
.product-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* Lifestyle */
.lifestyle { position: relative; overflow: hidden; }
.lifestyle-bg { position: absolute; inset: 0; }
.lifestyle-bg img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle-bg::after { content: ""; position: absolute; inset: 0; background: rgba(16,12,12,.85); }
.lifestyle-inner { position: relative; z-index: 10; max-width: 48rem; margin: 0 auto; text-align: center; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.5rem; }
.stats strong { display: block; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 2.25rem; color: var(--ember); }
.stats span { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--smoke); }

/* Contact */
.contact { border-top: 1px solid var(--border); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-email { margin-top: 1.5rem; font-size: 1rem; color: var(--smoke); }
.contact-email a { color: var(--ember); }
.contact-form { display: grid; gap: 1.25rem; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form label {
  display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .15em; color: var(--smoke);
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .9375rem;
  color: var(--foreground); background: var(--secondary);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
.contact-form .btn { width: 100%; }
@media (min-width: 640px) { .contact-form .btn { width: auto; justify-self: start; } }
.hp-field { position: absolute; left: -9999px; }
.form-notice { padding: .85rem 1rem; border-radius: var(--radius); font-size: .9375rem; }
.form-notice.ok { background: rgba(45,255,150,.1); border: 1px solid rgba(45,255,150,.35); }
.form-notice.err { background: rgba(255,45,85,.1); border: 1px solid rgba(255,45,85,.35); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--coal); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-inner img { height: 96px; width: auto; opacity: .9; }
@media (min-width: 640px) { .footer-inner img { height: 112px; } }
.footer-inner p { margin: 0; font-size: .875rem; color: var(--muted); }
.social { display: flex; gap: 1rem; }
.social a { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--smoke); }
.social a:hover { color: var(--ember); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
