/* ============================================
   Ajuste Fino — Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:   #2c2c2c;
  --color-accent:    #b5895a;
  --color-accent-light: #d4a97a;
  --color-bg:        #faf8f5;
  --color-bg-alt:    #f2ede6;
  --color-white:     #ffffff;
  --color-text:      #3a3a3a;
  --color-text-muted:#7a7a7a;
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Lato', 'Helvetica Neue', Arial, sans-serif;
  --transition:      0.3s ease;
  --shadow:          0 4px 24px rgba(0,0,0,0.10);
  --shadow-sm:       0 2px 10px rgba(0,0,0,0.07);
  --radius:          8px;
  --max-width:       1200px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,137,90,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  transition: color var(--transition);
}

.header.scrolled .logo-name {
  color: var(--color-primary);
}

.header.scrolled .logo-tagline {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover {
  color: var(--color-accent-light);
}

.header.scrolled .nav a {
  color: var(--color-primary);
}

.header.scrolled .nav a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  background: var(--color-accent-light);
  color: var(--color-white) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--color-primary);
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  font-weight: 700;
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--color-accent);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,20,10,0.72) 0%,
    rgba(30,20,10,0.45) 60%,
    rgba(30,20,10,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(181,137,90,0.2);
  border: 1px solid rgba(181,137,90,0.5);
  color: var(--color-accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.6);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT / INTRO STRIP
   ============================================ */
.intro-strip {
  background: var(--color-accent);
  padding: 28px 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
}

.intro-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.intro-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

.intro-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--color-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 5px solid var(--color-bg);
}

.about-badge-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent);
  color: var(--color-white);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  border: 4px solid var(--color-bg);
  box-shadow: var(--shadow);
  z-index: 3;
}

.about-badge-img strong {
  font-size: 1.4rem;
  display: block;
}

.about-text {
  padding: 20px 0;
}

.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
}

.about-feature-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.about-feature-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
}

.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--color-bg);
}

.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item:nth-child(1) img {
  min-height: 420px;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(181,137,90,0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay svg {
  width: 40px;
  height: 40px;
  stroke: white;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(181,137,90,0.35);
}

.gallery-item:hover .gallery-overlay svg {
  opacity: 1;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon.phone {
  background: #e8f4fd;
}

.contact-card-icon.whatsapp {
  background: #e8f8ef;
}

.contact-card-icon.location {
  background: #fdf3e8;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-icon.phone svg { stroke: #2196F3; fill: none; }
.contact-card-icon.whatsapp svg { fill: #25D366; }
.contact-card-icon.location svg { stroke: var(--color-accent); fill: none; }

.contact-card-body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-card-body span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Map */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-name {
  color: var(--color-white);
  font-size: 1.5rem;
}

.footer-brand .logo-tagline {
  color: var(--color-accent);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: var(--color-accent-light);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--color-accent-light);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    gap: 48px;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    height: 380px;
  }

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

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-strip-inner {
    gap: 24px;
  }

  .intro-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
