/* ============================================================
   ATTRIUM ARQUITETURA — css/style.css
   Identidade visual oficial — versão clean
   ============================================================ */

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

/* ─── VARIÁVEIS GLOBAIS ─────────────────────────────────── */
:root {
  --clr-bg:       #F7F4EE;   /* creme limpo — fundo principal */
  --clr-beige:    #EDE8DC;   /* bege suave — superfícies secundárias */
  --clr-surface:  #FAFAF8;   /* branco suave — cards/seções */
  --clr-dark:     #4F5647;   /* verde profundo — texto principal */
  --clr-mid:      #8C947E;   /* verde intermediário — texto auxiliar */
  --clr-olive:    #6B755F;   /* verde oliva da marca */
  --clr-gold:     #B8835E;   /* terracota/cobre — destaque primário */
  --clr-gold-lt:  #C39473;   /* terracota claro — hover */
  --clr-border:   #E2DDD4;   /* bege neutro — bordas */

  --ff-display:   'Cormorant Garamond', Georgia, serif;
  --ff-body:      'Montserrat', sans-serif;

  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-dark);
  background: var(--clr-bg);
  overflow-x: hidden;
}

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

/* Scrollbar */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--clr-beige); }
::-webkit-scrollbar-thumb { background: var(--clr-gold); border-radius: 2px; }

/* ─── UTILITÁRIOS ───────────────────────────────────────── */
section.sec     { padding: 7rem 0; }
.bg-beige       { background: var(--clr-beige) !important; }
.bg-dark-custom { background: var(--clr-olive) !important; }

.section-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: .85rem;
}
.section-tag-light { color: var(--clr-gold-lt); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.15;
  color: var(--clr-dark);
}
.section-title em       { font-style: italic; color: var(--clr-gold); }
.section-title-light    { color: #fff; }
.section-title-light em { color: var(--clr-gold-lt); }

.divider-gold {
  width: 32px; height: 1px;
  background: var(--clr-gold);
  display: block;
  margin: 1.4rem 0;
  opacity: .7;
}

/* ─── BOTÕES ────────────────────────────────────────────── */
.btn-doma {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2.2rem;
  font-family: var(--ff-body);
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: var(--transition);
}
.btn-doma-gold {
  background: var(--clr-gold);
  color: #fff;
  border: 1px solid var(--clr-gold);
}
.btn-doma-gold:hover {
  background: transparent;
  color: var(--clr-gold);
}
.btn-doma-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.btn-doma-outline-white:hover {
  background: #fff;
  color: var(--clr-dark);
  border-color: #fff;
}
.btn-doma-outline-gold {
  background: transparent;
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold);
}
.btn-doma-outline-gold:hover {
  background: var(--clr-gold);
  color: #fff;
}

/* ─── NAVBAR ────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1040;
  padding: 1.6rem 0;
  transition: background var(--transition),
              padding    var(--transition),
              box-shadow var(--transition);
}
#mainNav.scrolled {
  background: rgba(247,244,238,.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .9rem 0;
  box-shadow: 0 1px 0 var(--clr-border);
}

/* Logo */
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}
.nav-brand-main {
  font-family: var(--ff-body);
  font-size: 1.55rem;
  font-weight: 200;
  letter-spacing: .55em;
  color: #fff;
  transition: color var(--transition);
}
.nav-brand-sub {
  font-family: var(--ff-body);
  font-size: .46rem;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}


/* Links */
.navbar-nav .nav-link {
  font-family: var(--ff-body);
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82) !important;
  padding: .4rem 1rem;
  position: relative;
  transition: color var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 1px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}


/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active  { opacity: 1; }
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: .95rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #704E38;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: #704E38; }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-olive);
  padding: 5.5rem 0 2rem;
}
.footer-logo {
  font-family: var(--ff-body);
  font-size: 1.35rem;
  font-weight: 200;
  letter-spacing: .45em;
  color: #fff;
  text-decoration: none;
  display: block;
}
.footer-logo-sub {
  font-family: var(--ff-body);
  font-size: .44rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clr-mid);
  display: block;
  margin-top: .2rem;
}
.footer-desc {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  line-height: 1.8;
  margin: 1.2rem 0 1.5rem;
}

.footer-social a {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  margin-right: .85rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--clr-gold); }

.footer-heading {
  font-family: var(--ff-body);
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.2rem;
}
.footer-links        { list-style: none; padding: 0; }
.footer-links li     { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--clr-gold); }

.footer-contact-item {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  margin-bottom: .5rem;
}
.footer-contact-item i {
  color: var(--clr-gold);
  margin-right: .5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom span { color: rgba(255,255,255,.35); font-size: .72rem; }

/* ─── BOTÃO VOLTAR AO TOPO ──────────────────────────────── */
#backTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 42px; height: 42px;
  background: var(--clr-gold);
  color: #fff; border: none;
  border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(198,146,107,.28);
}
#backTop.show {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
#backTop:hover { background: var(--clr-dark); }