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

:root {
  --black:      #111110;
  --dark:       #1C1C1A;
  --gold:       #C8A87A;
  --gold-light: #DFC49C;
  --bg:         #FAFAF8;
  --bg2:        #F3EDE5;
  --text:       #2A2A28;
  --muted:      #7A7A74;
  --border:     #E5DDD3;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --nav-h: 72px;
  --section-pad: clamp(80px, 10vw, 130px);
  --container: 1160px;
  --radius: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.eyebrow.light { color: var(--gold-light); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── Buttons ── */
.btn-primary, .btn-ghost, .btn-nav, .btn-mobile {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-ghost.dark {
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost.dark:hover {
  background: var(--text);
  color: #fff;
}

.full-width { width: 100%; text-align: center; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#nav.scrolled {
  background: rgba(17, 17, 16, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-right: 2.5rem;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: #fff; }

.btn-nav {
  background: var(--gold);
  color: var(--black);
  padding: 10px 24px;
  font-size: 0.72rem;
}
.btn-nav:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 1rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(17,17,16,0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a {
  display: block;
  padding: 1rem clamp(20px, 5vw, 60px);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--gold); }
.btn-mobile {
  background: var(--gold);
  color: var(--black) !important;
  margin: 1.5rem clamp(20px, 5vw, 60px) 0;
  display: inline-block !important;
  width: calc(100% - clamp(40px, 10vw, 120px));
  text-align: center;
  border-radius: var(--radius);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1800&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,9,0.80) 0%,
    rgba(10,10,9,0.55) 60%,
    rgba(10,10,9,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 60px) 80px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  line-height: 2;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-down span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50%       { opacity: 1;   height: 60px; }
}

/* ────────────────────────────────────────────
   SERVIÇOS
──────────────────────────────────────────── */
#servicos {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-header h2 { color: var(--dark); }

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

.service-card {
  background: var(--bg2);
  padding: clamp(30px, 4vw, 52px) clamp(24px, 3vw, 42px);
  transition: background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: #EDE5DA; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  color: var(--dark);
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--gold);
}

/* ────────────────────────────────────────────
   FOLIFLOW METHOD
──────────────────────────────────────────── */
#metodo {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.metodo-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.metodo-text h2 { color: #fff; line-height: 1.05; margin-bottom: 1.5rem; }
.metodo-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.metodo-text .btn-primary { margin-top: 1rem; }

.metodo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.metodo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(260px, 35vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 168, 122, 0.25);
  border-radius: 50%;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(200,168,122,0.06) 0%, transparent 70%);
}
.metodo-badge::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(200, 168, 122, 0.12);
}

.badge-top {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,168,122,0.7);
  margin-bottom: 0.5rem;
}
.badge-main {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
}
.badge-sub {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.badge-bottom {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ────────────────────────────────────────────
   GALERIA
──────────────────────────────────────────── */
#galeria {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 2px;
}

.gallery-item { overflow: hidden; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
  cursor: pointer;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.03); }

.gallery-placeholder span {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: italic;
}

/* ────────────────────────────────────────────
   SOBRE
──────────────────────────────────────────── */
#sobre {
  padding: var(--section-pad) 0;
  background: var(--bg2);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.sobre-visual { position: relative; }

.sobre-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.sobre-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E5DDD3 0%, #D5CAC0 100%);
}
.sobre-img-inner span {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: rgba(0,0,0,0.15);
  letter-spacing: 0.1em;
}

.sobre-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--dark);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.float-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.float-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.sobre-text h2 { color: var(--dark); margin-bottom: 1.5rem; }
.sobre-text p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────
   CONTACTO
──────────────────────────────────────────── */
#contacto {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
  padding: 8px;
  background: var(--bg2);
  border-radius: var(--radius);
}
.info-icon svg { width: 100%; height: 100%; }

.info-block h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.info-block a {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.25s;
}
.info-block a:hover { color: var(--gold); }
.info-block p { font-size: 0.9rem; color: var(--muted); }

.map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-open-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s;
  z-index: 2;
}
.map-open-btn:hover { background: var(--gold); color: var(--black); }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  padding-top: clamp(50px, 7vw, 90px);
  padding-bottom: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
}

.footer-brand .logo { margin-bottom: 0.75rem; font-size: 1.4rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; }

footer h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}
footer ul { display: flex; flex-direction: column; gap: 0.6rem; }
footer li, footer li a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.25s; }
footer li a:hover { color: var(--gold); }

.social-icons { display: flex; gap: 0.75rem; }
.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); }
.social-icon svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem clamp(20px, 5vw, 60px);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 32px 28px; }

  .metodo-inner { grid-template-columns: 1fr; }
  .metodo-visual { order: -1; }
  .metodo-badge { width: clamp(220px, 60vw, 300px); }

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

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { max-width: 400px; margin: 0 auto; }
  .sobre-badge-float { right: 0; }

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

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

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }

  .sobre-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

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

  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; }
}
