/* ==========================================================
   Charll.es Wood — folha de estilo única (sem build, sem framework)
   Paleta extraída do site original (madeira teca)
   ========================================================== */

:root {
  --wood-light: #fbf6ef;
  --wood-dark: #433124;
  --wood-medium: #c09059;
  --primary: #ac7c39;
  --primary-dark: #8a6329;
  --secondary: #ebe6e0;
  --text: #433124;
  --muted: #7a6352;
  --border: #e0d7cb;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--wood-light);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.18;
  margin: 0 0 0.6em;
  color: var(--wood-dark);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--primary-dark); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow { max-width: 800px; }

/* ---------- acessibilidade ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wood-dark);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand img { height: 52px; width: auto; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
}
.nav-list a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 30, 22, 0.62), rgba(40, 30, 22, 0.48));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}

.hero h1 { color: #fff; max-width: 16ch; margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wood-medium);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 62ch;
  margin: 0 auto 1.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.lead-sm { font-size: 1.1rem; color: var(--muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- secções ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--secondary); }

.section-sub { color: var(--muted); margin: 0; }

.section-head { margin-bottom: 2.2rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* ---------- lista de benefícios ---------- */
.feature-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.feature-list h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-list p { color: var(--muted); margin: 0; }

blockquote {
  margin: 0;
  padding-left: 1.1rem;
  border-left: 4px solid var(--primary);
  font-style: italic;
  color: var(--muted);
}
blockquote p { margin: 0; }

/* ---------- figuras ---------- */
.figure { margin: 0; position: relative; }

.figure img {
  border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(67, 49, 36, 0.22);
  width: 100%;
}

figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

/* ---------- grelha de produtos ---------- */
.product-grid {
  list-style: none;
  margin: 2.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.product-grid figure { margin: 0; }

.product-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(67, 49, 36, 0.14);
  background: #eee;
  transition: transform 0.3s;
}

.product-grid li:hover img { transform: scale(1.03); }

.product-grid figcaption {
  font-weight: 600;
  color: var(--text);
  font-size: 0.93rem;
}

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.4rem 1.1rem;
  margin-bottom: 0.7rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.7rem 0;
}

details p { margin: 0 0 0.9rem; color: var(--muted); }

/* ---------- confiança ---------- */
.trust {
  background: #fff;
  border-block: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-inner p { margin: 0; }

/* ---------- rodapé ---------- */
.site-footer {
  background: var(--wood-dark);
  color: #d9d2ca;
  padding: 3.2rem 0 1.6rem;
}

.site-footer h2 { color: #fff; font-size: 1.4rem; margin-bottom: 0.3rem; }
.site-footer a { color: #e6ddd3; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.copyright {
  text-align: center;
  font-size: 0.87rem;
  color: #a99e93;
  margin: 1.5rem 0 0;
}

/* ---------- botão flutuante ---------- */
.whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.whatsapp:hover { background: #128c7e; color: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { flex-direction: column; gap: 0.6rem; }
  .nav-list { justify-content: center; gap: 0.9rem; font-size: 0.88rem; }
  .split { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

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