/* =========================================================
   Barbearia Navalha Azul — demo comercial SiteLocal
   Identidade própria: azul muito escuro, preto suave, cobre subtil, azul vivo pontual.
   ========================================================= */

:root {
  --azul-escuro: #0B1220;
  --azul-painel: #121B2E;
  --azul-painel-claro: #182338;
  --azul-vivo: #3B7DF0;
  --cobre: #B98B4E;
  --cobre-forte: #D3A567;
  --branco: #F3F5F8;
  --texto-suave: #93A0B8;
  --borda: rgba(243, 245, 248, 0.10);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.4);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--branco);
  background: var(--azul-escuro);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--branco);
  margin: 0 0 16px;
  line-height: 1.15;
}

p { margin: 0 0 16px; color: var(--texto-suave); }

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cobre);
  color: var(--azul-escuro);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobre);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul-vivo);
  color: var(--branco);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); background: #4E8AF3; }
.btn-outline {
  background: transparent;
  color: var(--branco);
  border-color: var(--borda);
}
.btn-outline:hover { border-color: var(--cobre); color: var(--cobre); }
.btn-copper {
  background: var(--cobre);
  color: var(--azul-escuro);
}
.btn-copper:hover { transform: translateY(-2px); background: var(--cobre-forte); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--borda);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--azul-vivo), var(--cobre));
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 0);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 19px;
  color: var(--branco);
}
.nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { position: relative; color: var(--texto-suave); }
.nav a:hover { color: var(--cobre); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--borda);
  border-radius: 6px;
  background: var(--azul-painel);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--branco);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  background: var(--azul-painel);
  border-bottom: 1px solid var(--borda);
  transition: max-height 0.3s ease;
}
.mobile-nav.is-open { max-height: 460px; }
.mobile-nav a {
  padding: 16px 20px;
  border-top: 1px solid var(--borda);
  font-weight: 500;
  font-size: 14px;
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(32px, 6vw, 54px);
  max-width: 16ch;
}
.hero-sub {
  font-size: 18px;
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--texto-suave);
  margin: 0;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.35;
}
.glow-1 { width: 220px; height: 220px; background: var(--azul-vivo); top: -10px; left: 6%; }
.glow-2 { width: 160px; height: 160px; background: var(--cobre); bottom: -10px; right: 4%; opacity: 0.22; }

.hero-frame {
  position: relative;
  width: min(100%, 380px);
  transform: rotate(-1.5deg);
  z-index: 2;
}
.placeholder-photo {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(243,245,248,0.05) 0 2px, transparent 2px 14px),
    var(--azul-painel-claro);
  border: 1px solid var(--borda);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.placeholder-photo--copper { background: repeating-linear-gradient(135deg, rgba(185,139,78,0.14) 0 2px, transparent 2px 14px), var(--azul-painel); }
.placeholder-photo--blue { background: repeating-linear-gradient(135deg, rgba(59,125,240,0.12) 0 2px, transparent 2px 14px), var(--azul-painel-claro); }
.placeholder-photo--dark { background: repeating-linear-gradient(135deg, rgba(243,245,248,0.06) 0 2px, transparent 2px 14px), var(--azul-escuro); }
.placeholder-photo--portrait { aspect-ratio: 3 / 4; }
.placeholder-label {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--cobre-forte);
  background: rgba(11, 18, 32, 0.85);
}

.floating-chip {
  position: absolute;
  bottom: -18px;
  left: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--azul-painel);
  border: 1px solid var(--borda);
  border-radius: 6px;
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 500;
  z-index: 3;
}
.blade-mark {
  width: 14px;
  height: 14px;
  background: var(--cobre);
  clip-path: polygon(0 100%, 100% 100%, 100% 20%, 0 0);
  flex-shrink: 0;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--azul-painel);
  padding: 30px 0;
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--branco);
  font-size: 14px;
  font-weight: 500;
}
.icon-mark { flex-shrink: 0; }
.icon-bar { width: 20px; height: 6px; background: var(--cobre); }
.icon-ring { width: 18px; height: 18px; border: 3px solid var(--azul-vivo); border-radius: 50%; }
.icon-square { width: 16px; height: 16px; background: var(--branco); }
.icon-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--cobre); }

@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--azul-painel); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-lede { font-size: 17px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--azul-painel);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azul-vivo), var(--cobre));
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--cobre); }
.service-card .icon-mark { display: block; margin-bottom: 18px; width: 30px; height: 30px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { margin: 0; font-size: 15px; }

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Price table ---------- */
.price-table {
  background: var(--azul-painel-claro);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.price-table-title {
  font-size: 18px;
  margin-bottom: 18px;
  text-align: center;
}
.price-list { list-style: none; margin: 0 0 16px; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 16px;
  color: var(--branco);
}
.price-list li:last-child { border-bottom: none; }
.price-list li span:last-child { color: var(--cobre-forte); font-weight: 600; }
.price-note {
  font-size: 12.5px;
  text-align: center;
  margin: 0;
}

/* ---------- Feature grid (experiência) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.feature-card {
  background: var(--azul-escuro);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.feature-card .icon-mark { display: block; margin-bottom: 16px; width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; }

@media (min-width: 860px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.team-card {
  text-align: center;
  background: var(--azul-painel);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 34px 24px;
}
.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-vivo), var(--cobre));
  color: var(--azul-escuro);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 18px;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card p { margin: 0; font-size: 14px; }

@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}
.step-card {
  background: var(--azul-escuro);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul-painel-claro);
  color: var(--cobre-forte);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; margin: 0; }
.order-cta { text-align: center; }

@media (min-width: 860px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.location-card {
  background: var(--azul-painel);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.location-card h3 { font-size: 17px; margin-bottom: 12px; }
.hours-list { list-style: none; margin: 0 0 26px; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 15px;
}
.hours-list li:last-child { border-bottom: none; }
.map-placeholder {
  border-radius: var(--radius-md);
  min-height: 260px;
  border: 1px solid var(--borda);
  background:
    repeating-linear-gradient(45deg, rgba(243,245,248,0.04) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(243,245,248,0.04) 0 2px, transparent 2px 16px),
    var(--azul-painel-claro);
  display: flex;
  align-items: flex-end;
}
.map-placeholder .placeholder-label {
  width: 100%;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

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

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--azul-painel);
  padding: 90px 0;
  border-top: 1px solid var(--borda);
}
.final-cta-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.final-cta h2 { color: var(--branco); font-size: clamp(26px, 4.5vw, 40px); }
.final-cta p { color: var(--texto-suave); font-size: 17px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--azul-escuro); border-top: 1px solid var(--borda); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0 40px;
}
.footer-brand .brand-name { font-size: 19px; }
.footer-brand p { font-size: 14px; margin-top: 12px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobre);
  margin: 0 0 14px;
}
.footer-col p { font-size: 14px; margin: 0 0 8px; }
.footer-col a:hover { color: var(--cobre); }

.footer-bottom { border-top: 1px solid var(--borda); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--texto-suave);
}
.footer-credit a { color: var(--texto-suave); text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ---------- Reveal on scroll ---------- */
/* Content is visible by default so the page never renders blank if JS/IO
   doesn't run. JS opts elements into the hidden starting state via
   .reveal-armed, then reveals them with .is-visible. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-armed .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-armed .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .gallery-item .placeholder-photo { transition: none; }
}
