:root {
  --cocoa: #4a2c1a;
  --cocoa-deep: #321d10;
  --caramel: #b97a3f;
  --cream: #f7ecde;
  --cream-dark: #efe0cb;
  --paper: #fffaf3;
  --terracotta: #d1672e;
  --ink: #4a2c1a;
  --muted: #6b4a36;
  --line: rgba(74, 44, 26, 0.16);
  --shadow: 0 16px 40px rgba(74, 44, 26, 0.12);
  --radius: 14px;
  --font-serif: "DM Serif Display", "Times New Roman", serif;
  --font-sans: Poppins, "Segoe UI", sans-serif;
  --header-h: 72px;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cocoa);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 236, 222, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-top: 2px;
}

.site-header .brand-name span {
  display: none;
}

@media (min-width: 600px) {
  .site-header .brand-name span {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cocoa);
  color: var(--cream);
  border-color: var(--cocoa);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--cocoa-deep);
  border-color: var(--cocoa-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--cocoa);
  border-color: var(--cocoa);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--cocoa);
  color: var(--cream);
}

.btn-whatsapp {
  background: #128c4a;
  color: #fff;
  border-color: #128c4a;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #0e743d;
  border-color: #0e743d;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.header-cta {
  display: none;
}

/* Hero */
.hero {
  padding: 2.4rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 7.4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.lede {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--caramel);
}

.hero-preview {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-preview img {
  width: 100%;
}

.hero-preview figcaption {
  padding: 0.7rem 1rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.example-tag {
  display: inline-block;
  background: #efe3c0;
  color: var(--cocoa);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.4rem;
}

/* Sections */
section {
  padding: 3.2rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2,
.dfy-intro h2,
.faq-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.8vw, 2.6rem);
  line-height: 1.18;
  margin: 0 0 0.8rem;
}

.section-head p,
.dfy-intro p {
  margin: 0;
  color: var(--muted);
}

.problem {
  background: var(--cocoa);
  color: var(--cream);
}

.problem .section-head p,
.problem .lede,
.problem p {
  color: #f1e4d2;
}

.problem-grid {
  display: grid;
  gap: 1rem;
}

.problem-card {
  background: rgba(247, 236, 222, 0.07);
  border: 1px solid rgba(247, 236, 222, 0.16);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.problem-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Features */
.features {
  display: grid;
  gap: 0.9rem;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
}

.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.inside-note {
  margin: 1.4rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1.1rem;
}

.preview-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74, 44, 26, 0.06);
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.preview-card .frame {
  background: #f3ebe0;
}

.preview-card .frame picture,
.preview-card .frame img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-card figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* DFY */
.dfy {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.packages {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.6rem;
}

.package {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.package.featured {
  border-color: var(--cocoa);
  box-shadow: var(--shadow);
  position: relative;
}

.package .tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cocoa);
  color: var(--cream);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.package h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 0.15rem;
}

.package .price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.7rem;
}

.package p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.dfy-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.phone {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--caramel);
}

.dfy-note {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.2rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.faq-list summary::after {
  flex-shrink: 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--caramel);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--cocoa-deep);
  color: #f1e4d2;
  padding: 2.4rem 0 2.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.site-footer .brand-name,
.site-footer .brand-name span {
  color: var(--cream);
}

.site-footer .brand-name {
  margin-bottom: 0.85rem;
}

.site-footer a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 236, 222, 0.35);
}

.site-footer a:not(.btn):hover {
  border-bottom-color: var(--cream);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
}

.disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: #d9c6b0;
  max-width: 46rem;
}

.legal {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: #c9b49a;
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
}

.lightbox::backdrop {
  background: rgba(32, 18, 10, 0.82);
}

.lightbox-inner {
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #f3ebe0;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
}

.lightbox-bar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.lightbox-close {
  appearance: none;
  border: 0;
  background: var(--cocoa);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile bottom CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(247, 236, 222, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-cta .btn {
  width: 100%;
}

body {
  padding-bottom: 5.2rem;
}

@media (min-width: 700px) {
  .problem-grid,
  .features,
  .gallery,
  .packages {
    grid-template-columns: 1fr 1fr;
  }

  .feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .preview-card.wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }

  .mobile-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .hero {
    padding: 3.4rem 0 4.2rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .packages {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
  }

  .dfy-cta {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

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

  .feature:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
