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

:root {
  --cream: #F5F0E8;
  --cream-mid: #EDE8DF;
  --cream-dark: #D9D2C5;
  --stone: #8C8070;
  --charcoal: #2A2420;
  --gold: #C4A46B;
  --gold-light: #E8D9B8;
  --white: #FDFCFA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--cream-dark);
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo-full {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-full-footer {
  height: 26px;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.3s;
}

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

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem 1.5rem;
  border: 0.5px solid var(--charcoal);
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 10rem 3rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,36,32,0.3) 0%, rgba(42,36,32,0.7) 60%, rgba(42,36,32,0.92) 100%);
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video iframe {
  position: absolute;
  border: none;
}

/* Landscape: crop top/bottom if needed */
@media (orientation: landscape) {
  .hero-video iframe {
    width: 100vw;
    height: calc(100vw * 9 / 16);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

/* Portrait: crop left/right to fill vertical */
@media (orientation: portrait) {
  .hero-video iframe {
    width: calc(100vh * 16 / 9);
    height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 0.5px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

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

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(253,252,250,0.6);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

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

.btn-ghost {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 0.5px solid rgba(253,252,250,0.4);
  color: rgba(253,252,250,0.8);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: rgba(253,252,250,0.8);
  color: var(--white);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(253,252,250,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 0.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(253,252,250,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 0.8; }
}

/* SECTIONS */
section { padding: 7rem 3rem; }

.section-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 0.5px;
  background: var(--stone);
}

/* ABOUT */
#sobre {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: url('../public/foto-perfil.png') center/cover;
  position: relative;
}

.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 0.5px solid var(--gold);
  z-index: -1;
}

.about-years {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 1.5rem 2rem;
  text-align: center;
}

.about-years-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  display: block;
}

.about-years-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.6);
  margin-top: 0.25rem;
}

.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-text h2 em { font-style: italic; color: var(--stone); }

.about-text p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-name {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  font-style: italic;
}

/* WHY */
#diferenciais {
  background: var(--cream);
  text-align: center;
}

#diferenciais h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

#diferenciais h2 em { font-style: italic; color: var(--stone); }

.why-sub {
  font-size: 0.85rem;
  color: var(--stone);
  max-width: 480px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--cream-dark);
  border: 0.5px solid var(--cream-dark);
  max-width: 1100px;
  margin: 0 auto;
}

.why-item {
  background: var(--cream);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: background 0.3s;
}

.why-item:hover { background: var(--white); }

.why-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.why-item p {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.8;
}

/* FEEDBACK */
#feedback {
  padding: 5rem 3rem;
  background: var(--cream);
}

#feedback .section-eyebrow {
  margin-bottom: 1.5rem;
}

#feedback h2 {
  font-family: var(--serif);
  margin-bottom: 3rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feedback-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feedback-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--stone);
}

.feedback-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feedback-name {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.85rem;
}

/* GALLERY */
#portfolio {
  padding: 0;
  background: var(--charcoal);
}

.gallery-header {
  padding: 5rem 3rem 3rem;
  text-align: center;
}

.gallery-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}

.gallery-header h2 em { font-style: italic; color: var(--gold-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s ease, filter 0.4s;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* PACKAGES */
#pacotes {
  background: var(--white);
}

.packages-header {
  text-align: center;
  margin-bottom: 4rem;
}

.packages-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.packages-header h2 em { font-style: italic; color: var(--stone); }

.packages-header p {
  font-size: 0.85rem;
  color: var(--stone);
  max-width: 480px;
  margin: 0 auto;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cream-dark);
  border: 0.5px solid var(--cream-dark);
  max-width: 1200px;
  margin: 0 auto;
}

.pkg-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}

.pkg-card.featured {
  background: var(--charcoal);
}

.pkg-card:hover:not(.featured) { background: var(--cream); }

.pkg-badge {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
  border: 0.5px solid var(--gold);
  color: var(--gold);
}

.pkg-card.featured .pkg-badge {
  background: var(--gold);
  color: var(--charcoal);
}

.pkg-num {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.pkg-card.featured .pkg-num { color: rgba(253,252,250,0.5); }

.pkg-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.pkg-card.featured .pkg-name { color: var(--white); }

.pkg-divider {
  width: 28px;
  height: 0.5px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.pkg-includes {
  list-style: none;
  margin-bottom: 2rem;
}

.pkg-includes li {
  font-size: 0.78rem;
  color: var(--stone);
  padding: 0.4rem 0;
  border-bottom: 0.5px solid var(--cream-dark);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}

.pkg-card.featured .pkg-includes li { 
  color: rgba(253,252,250,0.65);
  border-color: rgba(253,252,250,0.1);
}

.pkg-includes li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.pkg-price-area {
  margin-top: auto;
}

.pkg-old {
  font-size: 0.75rem;
  color: var(--stone);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.pkg-card.featured .pkg-old { color: rgba(253,252,250,0.4); }

.pkg-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}

.pkg-card.featured .pkg-price { color: var(--gold-light); }

.pkg-price span {
  font-size: 0.8rem;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--stone);
}

.pkg-card.featured .pkg-price span { color: rgba(253,252,250,0.5); }

.pkg-cta {
  display: block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0.5px solid var(--charcoal);
  color: var(--charcoal);
  transition: all 0.3s;
  font-weight: 500;
}

.pkg-cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.pkg-card.featured .pkg-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.pkg-card.featured .pkg-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* PAYMENT */
#pagamento {
  background: var(--cream-mid);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.payment-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.payment-text h2 em { font-style: italic; color: var(--stone); }

.payment-text p {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cream-dark);
  border: 0.5px solid var(--cream-dark);
}

.pay-item {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  font-size: 0.78rem;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pay-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.payment-conditions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.condition-item {
  padding: 2rem;
  background: var(--white);
  border-left: 2px solid var(--gold);
}

.condition-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.condition-desc {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.7;
}

/* CONTACT */
#contato {
  background: var(--charcoal);
  text-align: center;
  padding: 8rem 3rem;
}

#contato .section-eyebrow { 
  justify-content: center;
  color: var(--gold);
}

#contato .section-eyebrow::before { background: var(--gold); }

#contato h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

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

#contato p {
  font-size: 0.85rem;
  color: rgba(253,252,250,0.55);
  max-width: 440px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

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

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.contact-btn.whatsapp {
  background: var(--gold);
  color: var(--charcoal);
}

.contact-btn.whatsapp:hover { background: var(--gold-light); }

.contact-btn.instagram {
  border: 0.5px solid rgba(253,252,250,0.3);
  color: rgba(253,252,250,0.8);
}

.contact-btn.instagram:hover {
  border-color: rgba(253,252,250,0.7);
  color: var(--white);
}

.contact-info {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.info-item {
  text-align: center;
}

.info-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.35);
  margin-bottom: 0.3rem;
}

.info-value {
  font-size: 0.85rem;
  color: rgba(253,252,250,0.7);
}

/* FOOTER */
footer {
  background: #1A1613;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid rgba(253,252,250,0.06);
}

footer .logo { }

.footer-copy {
  font-size: 0.68rem;
  color: rgba(253,252,250,0.25);
  letter-spacing: 0.08em;
}

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE NAV */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 200;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--charcoal);
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

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

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42,36,32,0.45);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-overlay.visible {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 80vw);
  height: 100dvh;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 5rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 0.5px solid var(--cream-dark);
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}

.drawer-links li {
  border-bottom: 0.5px solid var(--cream-dark);
}

.drawer-links a {
  display: block;
  padding: 1.1rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s;
}

.drawer-links a:hover {
  color: var(--charcoal);
  padding-left: 0.5rem;
}

.drawer-cta {
  display: block;
  padding: 0.9rem 1.5rem;
  text-align: center;
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s;
  margin-top: auto;
}

.drawer-cta:hover { background: #3e3530; }

.drawer-logo {
  position: absolute;
  top: 1.6rem;
  left: 2.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  section { padding: 5rem 1.5rem; }

  #sobre {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

  .about-img-frame { aspect-ratio: 3/2; }
  .about-img-frame::after { display: none; }
  .about-years { left: 1rem; bottom: 1rem; }

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

  #pagamento {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

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

  .gallery-item:first-child { grid-row: span 1; }
  .gallery-item { height: 260px; }

  .contact-info { gap: 1.5rem; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; }

  .hero { padding: 10rem 1.5rem 4rem; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .scroll-indicator { right: 1.5rem; }
}