@import url('assets/fonts/fonts.css');

:root {
  --iron: #1a1a1a;
  --steel: #2c2c2c;
  --rust: #c8440a;
  --rust-light: #e05218;
  --spark: #f4a023;
  --smoke: #7a7a7a;
  --ash: #b0b0b0;
  --light: #f0ede8;
  --white: #fafaf8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--iron);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* TEXTURE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%231a1a1a'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23222'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23222'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

section, header, footer { position: relative; z-index: 1; }

/* UTILITY */
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER BAR ── */
.topbar {
  background: var(--rust);
  padding: 10px 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
}
.topbar span { color: var(--spark); }

/* ── HERO ── */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'SERRALHEIRO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 220px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,68,10,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.02em;
}

.hero > * { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: normal;
  color: var(--rust);
  display: block;
}

.hero h1 span {
  color: var(--spark);
}

.hero-sub {
  font-size: 18px;
  color: var(--ash);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.5;
}

.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-cta {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  padding: 18px 56px;
  text-decoration: none;
  position: relative;
  transition: transform 0.15s, background 0.15s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hero-cta:hover {
  background: var(--rust-light);
  transform: translateY(-2px);
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: -3px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  background: var(--spark);
  z-index: -1;
}

.hero-guarantee {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--smoke);
  letter-spacing: 0.04em;
}

/* ── PAIN STRIP ── */
.pain-strip {
  background: var(--steel);
  border-top: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  padding: 48px 24px;
}

.pain-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}

.pain-strip h2 em { font-style: normal; color: var(--rust); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}

.pain-item {
  background: var(--iron);
  padding: 24px 20px;
  border-left: 3px solid var(--rust);
  animation: fadeUp 0.5s ease both;
}

.pain-item:nth-child(1) { animation-delay: 0.05s; }
.pain-item:nth-child(2) { animation-delay: 0.10s; }
.pain-item:nth-child(3) { animation-delay: 0.15s; }
.pain-item:nth-child(4) { animation-delay: 0.20s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pain-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--rust);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.pain-item p {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.5;
}

.pain-item p strong { color: var(--white); font-weight: 500; }

/* ── QUOTE ── */
.quote-section {
  padding: 64px 24px;
  text-align: center;
}

.quote-text {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--ash);
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.quote-text strong { color: var(--white); font-style: normal; font-weight: 500; }

.quote-line {
  width: 60px;
  height: 2px;
  background: var(--rust);
  margin: 0 auto;
}

/* ── PRODUCT ── */
.product-section { padding: 64px 24px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--rust);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.section-title em { font-style: normal; color: var(--spark); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
}

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

.product-card {
  background: var(--steel);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(200,68,10,0.1);
  line-height: 1;
  pointer-events: none;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.6;
}

.product-card .tag {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  margin-bottom: 12px;
}

/* ── BENEFITS ── */
.benefits-section {
  padding: 64px 24px;
  background: var(--steel);
  border-top: 1px solid rgba(200,68,10,0.3);
  border-bottom: 1px solid rgba(200,68,10,0.3);
}

.benefits-list { margin-top: 40px; }

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.benefit-row:last-child { border-bottom: none; }

.benefit-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--rust);
  line-height: 1;
  min-width: 48px;
  opacity: 0.7;
}

.benefit-content h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.benefit-content p {
  font-size: 14px;
  color: var(--smoke);
  line-height: 1.5;
}

/* ── SOCIAL PROOF ── */
.proof-section { padding: 64px 24px; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 40px;
}

.proof-card {
  background: var(--steel);
  padding: 24px;
  border-top: 3px solid var(--rust);
}

.proof-quote {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.proof-author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--smoke);
  letter-spacing: 0.06em;
}

.proof-author strong { color: var(--spark); font-weight: 600; }

.proof-stars {
  color: var(--spark);
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* ── OFFER ── */
.offer-section {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(200,68,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.offer-box {
  background: var(--steel);
  border: 1px solid rgba(200,68,10,0.4);
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.offer-box::before, .offer-box::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--rust);
  border-style: solid;
}

.offer-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.offer-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.offer-from {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--smoke);
  text-decoration: line-through;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.offer-price {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.offer-price sup {
  font-size: 36px;
  vertical-align: super;
  color: var(--rust);
}

.offer-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--smoke);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.offer-includes {
  text-align: left;
  margin-bottom: 32px;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  color: var(--ash);
}

.offer-item:last-child { border-bottom: none; }

.offer-item::before {
  content: '►';
  color: var(--rust);
  font-size: 10px;
  flex-shrink: 0;
}

.offer-item strong { color: var(--white); font-weight: 500; }

.cta-btn {
  display: block;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.06em;
  padding: 20px 40px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.cta-btn:hover {
  background: var(--rust-light);
  transform: translateY(-2px);
}

.cta-btn--green {
  background: #1a7a3a;
}

.cta-btn--green:hover {
  background: #1f9246;
}

.cta-btn--green::after {
  background: #145c2c;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  background: var(--spark);
  z-index: -1;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--smoke);
  letter-spacing: 0.08em;
}


/* ── GUARANTEE ── */
.guarantee-section {
  padding: 64px 24px;
  background: var(--steel);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.guarantee-badge {
  width: 100px;
  height: 100px;
  border: 3px solid var(--rust);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.guarantee-badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200,68,10,0.4);
  border-radius: 50%;
}

.guarantee-badge .days {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--rust);
  line-height: 1;
}

.guarantee-badge .label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--smoke);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guarantee-section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 12px;
}

.guarantee-section p {
  font-size: 15px;
  color: var(--ash);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-section { padding: 64px 24px; }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.faq-q .arrow {
  font-family: var(--font-mono);
  color: var(--rust);
  font-size: 18px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow { transform: rotate(90deg); }

.faq-a {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 12px;
}

/* ── FOOTER CTA ── */
.footer-cta {
  padding: 80px 24px;
  text-align: center;
  background: var(--iron);
  border-top: 2px solid var(--rust);
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.footer-cta h2 em { font-style: normal; color: var(--rust); }

.footer-cta p {
  font-size: 16px;
  color: var(--smoke);
  margin-bottom: 40px;
}

/* ── FOOTER ── */
footer {
  background: #111;
  padding: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  letter-spacing: 0.06em;
}

footer a { color: #555; text-decoration: none; margin: 0 8px; }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rust);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar span {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

.sticky-bar a {
  background: var(--iron);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  padding: 10px 32px;
  text-decoration: none;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  white-space: nowrap;
  transition: background 0.15s;
}

.sticky-bar a:hover { background: #333; }

@media (max-width: 480px) {
  .sticky-bar span { display: none; }
  .sticky-bar { justify-content: center; }
}

/* ── HERO MOCKUP ── */
.hero-mockup-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
}

.hero-device {
  max-width: 600px;
  width: 100%;
}

.hero-device-bezel {
  position: relative;
}

.hero-device-screen {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.hero-device-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-device-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--steel) 0%, var(--iron) 100%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  inset: 0;
}

.hero-device-screen:not(:has(.hero-device-img[style*="display: none"])) .hero-device-placeholder {
  display: none;
}

.hero-device-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-device-placeholder-inner span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--ash);
}

.hero-device-btn {
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin: 12px auto 0;
}

@media (max-width: 600px) {
  .hero-device { max-width: 100%; }
  .hero-device-bezel { border-radius: 14px; padding: 10px 10px 14px; }
}

/* ── GALERIA DE PROJETOS ── */
.gallery-section {
  padding: 64px 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

@media (max-width: 680px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--steel) 0%, var(--iron) 100%);
  z-index: 0;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--white);
  z-index: 2;
}

.gallery-footer {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--smoke);
  letter-spacing: 0.06em;
}

/* ── PRODUCT CARD — PRINCIPAL ── */
.product-card--main {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 32px;
}

.product-main-text {
  flex: 1;
  min-width: 0;
}

.product-main-img {
  width: 260px;
  flex-shrink: 0;
}

.product-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .product-card--main {
    flex-direction: column;
    gap: 24px;
  }
  .product-main-img {
    width: 200px;
    margin: 0 auto;
  }
}

/* ── PRODUCT CARD — BÔNUS ── */
.bonus-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--iron);
  margin: -28px -24px 20px;
  width: calc(100% + 48px);
  padding: 24px;
  min-height: 160px;
}

.bonus-img-wrap img {
  width: 120px;
  height: auto;
  display: block;
}

/* ── PROOF SCREENSHOTS ── */
.proof-card--screenshot {
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--rust);
}

.proof-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* ── GUARANTEE SEAL ── */
.guarantee-seal {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

/* ── PROOF AVATARS ── */
.proof-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rust);
  margin-bottom: 12px;
  background: var(--steel);
  position: relative;
  flex-shrink: 0;
}

.proof-avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: block;
  text-align: center;
  line-height: 44px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--rust);
  background: var(--steel);
  z-index: 0;
}

.proof-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── STATS STRIP ── */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  margin: 48px 0 0;
  padding: 0 24px;
}

.stat {
  background: var(--steel);
  padding: 20px 32px;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--rust);
  line-height: 1;
  letter-spacing: 0.03em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--smoke);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
