/* ==========================================================================
   LS Flooring — Design system
   Paleta derivada da logo oficial (dourado + prata sobre preto quase-puro).
   Ver ../00 - Parametros do Site.md para a especificação de design.
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-raised: #141414;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;

  --gold: #c9a227;
  --gold-light: #ddc06a;
  --gold-dark: #8a6c1e;
  --silver: #c8c8c8;
  --silver-dark: #9a9a9a;

  --text: #f2f2f2;
  --text-secondary: #9a9a9a;
  --text-on-gold: #0a0a0a;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 4px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.8rem, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-alt {
  background: var(--bg-raised);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--text-on-gold);
  padding: 0.75em 1.2em;
  z-index: 1000;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.9em 1.8em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--text-on-gold);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-light);
  color: var(--text-on-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--silver-dark);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand img {
  height: 92px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 480px) {
  .brand img { height: 68px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: none;
  color: var(--silver);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.5em 0.7em;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-phone { display: inline-flex; align-items: center; gap: 0.4em; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-cta .btn-primary { padding: 0.7em 1.2em; font-size: 0.85rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 162, 39, 0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(200, 200, 200, 0.06), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 0.5em; }
.hero .lede { max-width: 42ch; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-item strong {
  color: var(--text);
  font-weight: 600;
}

.hero-badge {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 1.1rem;
}

/* ===== Cards / Grids ===== */
.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-secondary); margin-bottom: 0; font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Divider ornament */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.ornament::before, .ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== Before/After gallery ===== */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1c1c1c, #101010);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-frame span {
  position: absolute;
  z-index: 2;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border);
  color: var(--silver);
  padding: 0.3em 0.7em;
  border-radius: 3px;
}
.ba-placeholder-icon {
  width: 48px;
  height: 48px;
  color: var(--border);
}
.ba-figure {
  margin: 0 0 3rem;
  max-width: 900px;
}
.ba-figure:last-of-type { margin-bottom: 0; }
.gallery-caption {
  padding: 1rem 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.coming-soon-banner {
  border: 1px dashed var(--gold-dark);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  color: var(--text-secondary);
  background: rgba(201, 162, 39, 0.05);
  margin-bottom: 3rem;
}
.coming-soon-banner strong { color: var(--gold-light); }

/* ===== Testimonials ===== */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
}
.testimonial cite {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Forms ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.field.full { grid-column: 1 / -1; }

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.8em 1em;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9em 1.2em;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
}
.form-status.error {
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid #7a3030;
  color: #e08080;
}

/* ===== Contact strip ===== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .contact-strip { grid-template-columns: 1fr; }
}
.contact-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}
.contact-item .icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin: 0 auto 0.8rem;
}
.contact-item a, .contact-item span.value {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}
.contact-item .label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, #151109, #0a0a0a 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band .lede { max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ===== List with checks ===== */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  color: var(--text-secondary);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Service areas ===== */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.area-tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-size: 0.9rem;
  color: var(--silver);
}

/* ===== Breadcrumb / page hero (inner pages) ===== */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.08), transparent 60%);
}
.page-hero .eyebrow { margin-bottom: 0.8rem; }
.page-hero .lede { max-width: 60ch; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-brand img { height: 84px; width: auto; object-fit: contain; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col a, .footer-col p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
