/* ============================================================
   Pinturas Clássicas & Cartoons Artísticos — Landing page
   Estética: atelier de arte clássica. Tons terrosos, dourado
   envelhecido, preto-marfim, textura sutil de tela/papel.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Cores / palette */
  --ivory:        #f4ece0;   /* marfim quente (fundo claro) */
  --paper:        #efe5d3;   /* papel envelhecido */
  --parchment:    #e6d8bf;   /* papel mais escuro */
  --ink:          #241d14;   /* texto quase preto, quente */
  --ink-soft:     #57493a;   /* cinza-marrom para corpo */
  --umber:        #2b2118;   /* fundo escuro (preto-marrom) */
  --umber-2:      #36291d;   /* variação de dark panel */
  --gold:         #c29a3a;   /* dourado envelhecido */
  --gold-deep:    #a37e26;   /* dourado mais escuro */
  --gold-soft:    #e3c774;   /* brilho do ouro */
  --line:         rgba(44, 33, 22, 0.14);  /* linhas sutis */

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Espaçamento vertical de seção */
  --space: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- 2. Reset + base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}

/* Textura sutil de papel/tela sobre todo o fundo claro */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(36, 29, 20, 0.035) 0.5px, transparent 1px);
  background-size: 4px 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

a { text-decoration: none; color: inherit; }
em { font-style: italic; color: var(--gold-deep); }

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.9em 1.9em;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 12px 30px -10px rgba(160, 120, 30, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  border: 1px solid rgba(90, 66, 10, 0.35);
}

.btn-lg { font-size: 1.15rem; padding: 1em 2.1em; }

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(160, 120, 30, 0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ivory);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/atelier-hero.jpg") center 30% / cover no-repeat;
  background-attachment: fixed;   /* parallax sutil em desktops */
}
@media (max-width: 768px) {
  .hero-bg { background-attachment: scroll; } /* evita artefatos em mobile */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(23, 17, 10, 0.78) 0%,
      rgba(23, 17, 10, 0.55) 40%,
      rgba(23, 17, 10, 0.82) 100%);
}

/* Navegação */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  position: relative;
  z-index: 3;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ivory); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(236, 222, 190, 0.6);
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-soft);
  background: rgba(255,255,255,0.04);
  transform: rotate(-3deg);
}
.brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--ivory);
}
.nav-cta {
  font-size: 0.9rem;
  color: var(--gold-soft);
  border: 1px solid rgba(236, 222, 190, 0.5);
  padding: 0.5em 1.2em;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }

/* Conteúdo do hero */
.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
  max-width: 800px;
}
.overline {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}
.hero-title {
  color: var(--ivory);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 600;
  max-width: 22ch;
}
.hero-sub {
  margin-top: 1.3rem;
  max-width: 46ch;
  color: rgba(244, 236, 225, 0.9);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
}
.hero .btn { margin-top: 2rem; }

/* Preço */
.hero-price {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  color: rgba(244, 236, 225, 0.95);
}
.hero-price .sep { display: block; font-size: 0.95rem; color: rgba(244,236,225,0.7); }
.hero-price .sep strong { text-decoration: line-through; font-weight: 500; }
.hero-price strong.price-now { color: var(--ivory); }
.hero-price > strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-soft); }
.price-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(201, 154, 58, 0.22);
  border: 1px solid rgba(220, 200, 150, 0.4);
  padding: 0.3em 0.9em;
  border-radius: 999px;
}
.hero-scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-size: 1.3rem;
  z-index: 3;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob { 0%,100%{ transform: translate(-50%, 0);} 50%{ transform: translate(-50%, 6px);} }

/* ---------- 5. Títulos de seção + cards ---------- */
section:not(.hero):not(.cta-final):not(.footer) { padding: var(--space) 0; position: relative; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  text-align: center;
  margin-bottom: 1.6rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.9rem auto 0;
}
.section-title.light { color: var(--ivory); }
.section-title .accent { color: var(--gold-soft); }

p.lead {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.4rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 1.9rem;
  box-shadow: 0 18px 40px -30px rgba(40, 28, 12, 0.45);
  background-image: linear-gradient(160deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 55%);
}

.grid { display: grid; gap: 1.6rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 800px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}

/* ---------- 6. Problema ---------- */
.problem .card p { color: var(--ink-soft); font-size: 1.06rem; }
.problem .card p + p { margin-top: 0; }

/* ---------- 7. Solução ---------- */
.solution {
  background: var(--umber);
  margin-top: calc(var(--space) * 0.4);
  box-shadow: inset 0 20px 40px -30px rgba(0,0,0,0.6), inset 0 -20px 40px -30px rgba(0,0,0,0.6);
}
.solution .section-title { color: var(--ivory); }
.solution .lead { color: rgba(244,236,225,0.85); }
.solution .lead em { color: var(--gold-soft); }

.trait {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(220,200,160,0.16);
  border-radius: 14px;
  padding: 1.7rem 1.6rem;
}
.trait h3 { color: var(--gold-soft); font-size: 1.2rem; margin-bottom: 0.6rem; }
.trait p { color: rgba(244,236,225,0.82); font-size: 0.98rem; }

/* ---------- 8. O que você recebe (blocos) ---------- */
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px) { .blocks { grid-template-columns: 1fr; } }

.block {
  display: flex;
  gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
  align-items: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s;
}
.block:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(40,28,12,0.5); }
.block-icon {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 10px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.block-icon.oil     { background: linear-gradient(160deg,#cf9a52,#9c6a2f); }
.block-icon.water   { background: linear-gradient(160deg,#9fc4d8,#5d8aa3); }
.block-icon.cartoon { background: linear-gradient(160deg,#e0a08a,#b96a4e); }
.block-icon.mix     { background: linear-gradient(160deg,#c7b15e,#94613f); }

.block-copy h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.block-copy p { font-size: 0.96rem; color: var(--ink-soft); }

.section-note {
  text-align: center;
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- 9. Como funciona ---------- */
.how {
  background: linear-gradient(180deg, var(--paper), var(--ivory));
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.steps li {
  background: #faf6ee;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  position: relative;
  box-shadow: 0 16px 34px -28px rgba(40,28,12,0.5);
}
.step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.steps p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- 10. Prova (antes x depois) ---------- */
.compare {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.compare-item { flex: 1 1 360px; max-width: 460px; }
.compare-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 24px 50px -26px rgba(40,28,12,0.6);
}
.compare-frame img { aspect-ratio: 4 / 3; object-fit: cover; }
.compare-item figcaption {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.label {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 999px;
}
.label-before { background: rgba(120,120,120,0.15); color: #5b5b5b; }
.label-after  { background: rgba(201,154,58,0.18); color: var(--gold-deep); }
.arrow { font-size: 2.2rem; color: var(--gold); flex-shrink: 0; }
@media (max-width: 760px) { .arrow { display: none; } }

/* ---------- 11. Para quem ---------- */
.audience-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 640px) { .audience-list { grid-template-columns: 1fr; } }
.audience-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.audience-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ---------- 12. Oferta ---------- */
.offer {
  background: var(--umber);
  padding: var(--space) 0;
  box-shadow: inset 0 20px 40px -30px rgba(0,0,0,0.6), inset 0 -20px 40px -30px rgba(0,0,0,0.6);
}
.offer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(220,200,160,0.18);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.offer .lead { color: rgba(244,236,225,0.85); margin-bottom: 1.8rem; }
.offer-benefits {
  list-style: none;
  text-align: left;
  max-width: 430px;
  margin: 0 auto 1.8rem;
}
.offer-benefits li {
  color: rgba(244,236,225,0.92);
  padding: 0.42rem 0 0.42rem 1.8rem;
  position: relative;
}
.offer-benefits li::before {
  content: "✧";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
}
.offer-price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}
.offer-card .btn { margin-bottom: 0.6rem; }
.offer-note { color: rgba(244,236,225,0.65); font-size: 0.86rem; }

/* ---------- 13. Garantia ---------- */
.guarantee { padding-top: var(--space) !important; }
.guarantee-card {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem;
  max-width: 820px;
  margin-inline: auto;
  box-shadow: 0 20px 44px -30px rgba(40,28,12,0.5);
}
@media (max-width: 640px) { .guarantee-card { flex-direction: column; text-align: center; } }
.seal {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold-deep);
  background: radial-gradient(circle at 50% 32%, var(--gold-soft), var(--gold) 70%);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--gold), 0 14px 30px -12px rgba(120,90,20,0.6);
}
.guarantee-copy .section-title { margin-bottom: 0.6rem; }
.guarantee-copy p { color: var(--ink-soft); }
.guarantee-copy strong { color: var(--ink); }

/* ---------- 14. FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  padding: 1.15rem 1.2rem 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-deep);
  transition: transform 0.2s;
  font-family: var(--font-body);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 1.2rem 1.2rem 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- 15. CTA final ---------- */
.cta-final {
  position: relative;
  text-align: center;
  color: var(--ivory);
  padding: clamp(4rem, 10vw, 7rem) 0;
  overflow: hidden;
  background: url("assets/atelier-studio.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
@media (max-width: 768px) { .cta-final { background-attachment: scroll; } }
.cta-final .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,17,10,0.8), rgba(23,17,10,0.82));
}
.cta-final h2 {
  color: var(--ivory);
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  margin-bottom: 1rem;
  position: relative;
}
.cta-final p {
  max-width: 46ch;
  margin: 0 auto 1.8rem;
  color: rgba(244,236,225,0.9);
  position: relative;
  font-size: 1.08rem;
}
.cta-final .btn { position: relative; }

/* ---------- 16. Rodapé ---------- */
.footer {
  background: #181209;
  color: rgba(244,236,225,0.75);
  text-align: center;
  padding: 3rem 1.5rem 2.4rem;
  border-top: 1px solid rgba(201,154,58,0.25);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.footer-brand span { color: var(--ivory); }
.footer-tag {
  max-width: 52ch;
  margin: 0 auto 1.4rem;
  font-size: 0.94rem;
}
.footer-links { display: flex; gap: 1.6rem; justify-content: center; margin-bottom: 1.4rem; }
.footer-links a { color: var(--gold-soft); font-size: 0.95rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: 0.82rem; color: rgba(244,236,225,0.45); }

/* ---------- 17. A11y / misc ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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