/* ===== Reset & base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --preto: #0D0D0D;
  --grafite: #171717;
  --off-white: #F4F1EA;
  --dourado: #C9A45C;
  --dourado-claro: #E4C67D;
  --texto-secundario: #5F5B54;
  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;
  --radius: 14px;
  --radius-sm: 8px;
  --container-width: 1200px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--off-white);
  color: var(--preto);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--preto);
  color: var(--off-white);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-outline-gold {
  border: 1px solid var(--dourado);
  color: var(--dourado-claro);
}

.btn-outline-gold:hover {
  background-color: var(--dourado);
  color: var(--preto);
}

.btn-ghost {
  color: var(--off-white);
  border: 1px solid rgba(244, 241, 234, 0.4);
  padding: 14px 28px;
}

.btn-ghost:hover {
  border-color: var(--dourado-claro);
  color: var(--dourado-claro);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}

.site-header.solid {
  background-color: rgba(13, 13, 13, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-desktop a:not(.btn) {
  color: var(--off-white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-desktop a:not(.btn):hover {
  color: var(--dourado-claro);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--off-white);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background-color: var(--preto);
  transition: max-height var(--transition);
}

.nav-mobile.open {
  max-height: 400px;
  padding: 16px 24px 24px;
}

.nav-mobile a:not(.btn) {
  color: var(--off-white);
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}

.nav-mobile .btn {
  margin-top: 16px;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: 92vh;
  }
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.72) 35%, rgba(13, 13, 13, 0.35) 65%, rgba(13, 13, 13, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 720px;
}

.eyebrow {
  color: var(--dourado-claro);
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--off-white);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.9rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.6rem;
  }
}

.hero-subtitle {
  color: rgba(244, 241, 234, 0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.hero-highlights li {
  color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-left: 18px;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--dourado);
  border-radius: 50%;
}

/* ===== Section heading ===== */
.section-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--preto);
}

.section-heading p {
  color: var(--texto-secundario);
  font-size: 1.05rem;
}

.section-heading-light h2 {
  color: var(--off-white);
}

@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 2.4rem;
  }
}

/* ===== Services ===== */
.services {
  padding: 90px 0;
  background-color: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-large {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-large {
    grid-column: span 3;
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--grafite);
}

.card-large {
  aspect-ratio: 16 / 8;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0) 100%);
  color: var(--off-white);
}

.service-card-caption h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.service-card-caption p {
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.85);
}

/* ===== Positioning ===== */
.positioning {
  padding: 90px 0;
  background-color: #fff;
}

.indicators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .indicators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .indicators-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.indicator {
  text-align: center;
  padding: 28px 16px;
}

.indicator-index {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--dourado);
  margin-bottom: 12px;
}

.indicator h3 {
  font-size: 1.05rem;
  color: var(--preto);
}

/* ===== Process ===== */
.process {
  padding: 90px 0;
  background-color: var(--preto);
}

.process-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .process-content {
    grid-template-columns: 1.2fr 1fr;
  }
}

.process-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.process-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.process-steps ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.process-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--off-white);
  font-size: 1.05rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dourado);
  color: var(--dourado-claro);
  font-family: Georgia, serif;
  font-size: 0.95rem;
}

/* ===== Gallery final ===== */
.gallery-final {
  padding: 90px 0;
  background-color: var(--off-white);
}

.gallery-final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .gallery-final-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-final-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-final-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-final-item:hover img {
  transform: scale(1.06);
}

/* ===== CTA final ===== */
.cta-final {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(13, 13, 13, 0.78);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(244, 241, 234, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

/* ===== Contact / Footer ===== */
.contact {
  background-color: var(--grafite);
  padding: 80px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-block h2,
.contact-block h3 {
  color: var(--off-white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.contact-block p {
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.contact-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

.contact-link {
  color: var(--dourado-claro);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--dourado);
  text-decoration: underline;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(244, 241, 234, 0.5);
  font-size: 0.82rem;
}

/* ===== Floating WhatsApp button ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--whatsapp);
  color: #fff;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), background-color var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.02);
}

.whatsapp-float-text {
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding-right: 6px;
}

@media (min-width: 900px) {
  .whatsapp-float {
    padding: 14px 22px 14px 16px;
  }
  .whatsapp-float-text {
    display: inline;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
