/* ===== CAPMOD Arquitetura — Global Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS Variables ===== */
:root {
  --white: #FFFFFF;
  --off-white: #F5F3F0;
  --off-white-2: #EDEAE6;
  --taupe: #8C8279;
  --taupe-light: #B5AFA9;
  --taupe-dark: #6B6059;
  --dark: #2C2C2C;
  --charcoal: #1A1A1A;
  --black: #0D0D0D;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.35s ease;
  --transition-slow: 0.6s ease;

  --section-padding: 100px 0;
  --container-max: 1280px;
  --container-padding: 0 40px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--taupe);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--taupe);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal);
  color: var(--off-white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--taupe-light);
}

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

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

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

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.site-header.scrolled .nav-link {
  color: var(--dark);
}

.site-header.scrolled .nav-link:hover {
  color: var(--taupe);
}

.site-header.scrolled .header-logo-img {
  filter: none;
}

.site-header.transparent .nav-link {
  color: var(--white);
}

.site-header.transparent .nav-link:hover {
  color: var(--taupe-light);
}

.site-header.transparent .header-logo-img {
  opacity: 0;
  pointer-events: none;
}

.site-header.transparent .btn-header {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.site-header.transparent .btn-header:hover {
  background: rgba(255,255,255,0.1);
}

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

.header-logo {
  flex-shrink: 0;
}

.header-logo-img {
  height: 44px;
  width: auto;
  transition: filter var(--transition), opacity var(--transition);
}

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

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--taupe);
  transition: width var(--transition);
}

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

.btn-header {
  padding: 11px 24px;
  font-size: 0.68rem;
  border: 1px solid var(--taupe-light);
  color: var(--dark);
  background: transparent;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

.mobile-nav .nav-link {
  font-size: 1.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 300;
}

.mobile-nav .nav-link:hover {
  color: var(--taupe-light);
}

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

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--taupe-light);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/marble-dark.jpg') center/cover;
  opacity: 0.06;
}

.page-hero .section-label {
  color: var(--taupe-light);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  position: relative;
}

.page-hero p {
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 300;
}

/* ===== AOS overrides ===== */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ===== Filter Buttons ===== */
.filter-btn {
  padding: 8px 20px;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--off-white-2);
  color: var(--taupe);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* ===== Divider ===== */
.divider {
  width: 48px;
  height: 1px;
  background: var(--taupe-light);
  margin: 24px 0;
}

.divider-center {
  margin: 24px auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 28px;
    --section-padding: 80px 0;
  }

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

@media (max-width: 768px) {
  :root {
    --container-padding: 0 20px;
    --section-padding: 64px 0;
  }

  .site-nav,
  .btn-header {
    display: none;
  }

  .hamburger {
    display: flex;
    color: var(--dark);
  }

  .site-header.transparent .hamburger {
    color: var(--white);
  }

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

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