/* ==============================
   RESET & VARIÁVEIS
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:    #F5F0E8;
  --cream2:   #EDE8DC;
  --ink:      #1A1714;
  --ink2:     #3D3830;
  --gold:     #C8993A;
  --muted:    #8A7F72;
  --white:    #FFFFFF;
  --card-bg:  #FDFAF4;
  --border:   rgba(26, 23, 20, 0.10);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ==============================
   PROGRESS BAR
============================== */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==============================
   NAV
============================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 60px;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  flex-direction: column;
  gap: 0;
  z-index: 99;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-cta-mobile {
  margin-top: 1rem;
  text-align: center;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 3px;
  border-bottom: none !important;
  padding: 0.85rem !important;
}

/* ==============================
   HERO
============================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(1.5rem, 8vw, 10rem) 60px;
  background: var(--cream);
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

#hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink2);
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-primary:hover { background: var(--gold); color: var(--ink); }

.btn-secondary {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

/* ==============================
   SECTIONS — GERAL
============================== */
section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2 em { font-style: italic; color: var(--gold); }

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 500px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   SERVICES & ICONS
============================== */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(26, 23, 20, 0.08);
}

.service-icon, .why-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0;
  margin-top: 4px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink2);
  line-height: 1.65;
}

/* ==============================
   PORTFOLIO
============================== */
#portfolio { background: var(--cream); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 23, 20, 0.12);
}

.portfolio-thumb {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.1);
}

.thumb-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-category {
  font-size: 0.7rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.875rem;
  color: var(--ink2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.portfolio-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.portfolio-link:hover { color: var(--gold); border-color: var(--gold); }

/* ==============================
   PRICING
============================== */
#pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 23, 20, 0.09);
}

.pricing-card.highlight {
  background: var(--ink);
  border-color: var(--ink);
}

.pricing-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.pricing-card.highlight .pricing-name {
  color: rgba(200,153,58,0.85);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pricing-card.highlight .pricing-price { color: var(--white); }

.pricing-once {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-card.highlight .pricing-once { color: rgba(255,255,255,0.4); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--ink2);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.4;
}

.pricing-card.highlight .pricing-features li { color: rgba(255,255,255,0.7); }

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==============================
   WHY
============================== */
#why { background: var(--cream2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.why-item:hover { transform: translateY(-3px); }

.why-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--ink2);
  line-height: 1.6;
}

/* ==============================
   CONTACT
============================== */
#contact {
  background: var(--ink);
  text-align: center;
}

#contact h2 { color: var(--white); }

#contact .section-label { display: block; text-align: center; }

#contact .section-subtitle {
  color: rgba(255,255,255,0.5);
  margin: 0.75rem auto 2.25rem;
  max-width: 460px;
  text-align: center;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.btn-instagram:hover { opacity: 0.88; }

.btn-email {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}

.btn-email:hover { border-color: var(--gold); }

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover { color: var(--gold); }

/* ==============================
   FOOTER
============================== */
footer {
  background: #0F0D0B;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
}

footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ==============================
   RESPONSIVO
============================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .services-grid   { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid    { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #hero { padding-left: 1.5rem; padding-right: 1.5rem; }
}