/* ═══════════════════════════════════════════════
   CONSTRUTORA MULBERRY — Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=DM+Sans:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* ─── VARIABLES ─── */
:root {
  --black:      #0a0a0a;
  --dark:       #111417;
  --mid:        #1c2128;
  --slate:      #2d3748;
  --steel:      #4a5568;
  --mist:       #8896ab;
  --silver:     #c8d0dc;
  --white:      #ffffff;
  --gold:       #c9a84c;
  --gold-light: #e8c96d;
  --gold-dark:  #9a7a2e;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.1; }
.display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; }
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  padding: 1rem 4rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  color: var(--black); flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.1rem; color: var(--white); letter-spacing: 0.08em; }
.nav-logo-sub { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--silver); text-decoration: none;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.05em;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--gold); transition: right 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-cta {
  background: var(--gold) !important; color: var(--black) !important;
  padding: 0.6rem 1.5rem; font-weight: 600 !important;
  font-size: 0.78rem !important; letter-spacing: 0.12em !important;
  text-transform: uppercase; transition: all 0.3s !important;
  border: 1px solid var(--gold);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: transparent !important; color: var(--gold) !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* ─── MOBILE MENU ─── */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: var(--black); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 2rem; font-family: 'Cormorant Garamond', serif; color: var(--white); text-decoration: none; transition: color 0.3s; }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close { position: absolute; top: 2rem; right: 2rem; font-size: 2rem; color: var(--gold); cursor: pointer; background: none; border: none; }

/* ─── PAGE HERO BANNER (inner pages) ─── */
.page-banner {
  min-height: 45vh;
  position: relative; display: flex; align-items: flex-end;
  padding: 0 4rem 5rem;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.7) 70%, rgba(10,10,10,1) 100%),
              linear-gradient(135deg, #0d1520 0%, #1a2535 35%, #0f1c2e 65%, #0a0f18 100%);
  z-index: 0;
}
.page-banner-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.035;
  background-image:
    linear-gradient(rgba(201,168,76,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.8) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--mist); margin-bottom: 1.5rem;
}
.page-banner-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-banner-breadcrumb span { color: var(--steel); }
.page-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 0.95;
}
.page-banner-title strong { font-weight: 700; }
.page-banner-title em { color: var(--gold); font-style: normal; }
.page-banner-line { width: 60px; height: 1px; background: var(--gold); margin-top: 1.5rem; }

/* ─── SECTIONS COMMON ─── */
section { padding: 7rem 4rem; }
.section-header { margin-bottom: 5rem; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.1;
}
.section-title strong { font-weight: 700; }
.section-title em { color: var(--gold); font-style: normal; }
.section-line { width: 60px; height: 1px; background: var(--gold); margin: 1.25rem 0; }
.section-desc { color: var(--mist); font-size: 1rem; line-height: 1.7; max-width: 500px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--gold); color: var(--black);
  padding: 1rem 2.5rem; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: transparent; color: var(--silver);
  padding: 1rem 2.5rem; font-weight: 400;
  font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: var(--white);
  padding: 1rem 2rem; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.05em;
  text-decoration: none; transition: all 0.3s;
  border: 1px solid #25D366; margin-top: 1rem;
}
.btn-whatsapp:hover { background: transparent; color: #25D366; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

/* ─── FLOATING WPP ─── */
.float-whatsapp {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  text-decoration: none; transition: all 0.3s;
  animation: wppPulse 3s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }
.float-whatsapp svg { width: 28px; height: 28px; fill: white; }
@keyframes wppPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 50px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ─── FORM ─── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mist); margin-bottom: 0.5rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--mid);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 0.85rem 1rem; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  transition: border-color 0.3s; outline: none; appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--black);
  padding: 1rem; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--gold); cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.3s;
}
.form-submit:hover { background: transparent; color: var(--gold); }
.form-success { display: none; text-align: center; padding: 2rem; border: 1px solid rgba(37,211,102,0.3); color: #25D366; font-size: 0.9rem; margin-bottom: 1rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 5rem 4rem 2rem;
}
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; text-decoration: none; }
.footer-logo-mark {
  width: 40px; height: 40px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem; color: var(--black);
}
.footer-logo-text { display: flex; flex-direction: column; gap: 1px; }
.footer-logo-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1rem; color: var(--white); letter-spacing: 0.08em; }
.footer-logo-sub { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-brand-text { font-size: 0.85rem; color: var(--mist); line-height: 1.7; margin-bottom: 1rem; }
.footer-cnpj { font-size: 0.72rem; color: var(--steel); letter-spacing: 0.05em; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { font-size: 0.85rem; color: var(--mist); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact-item svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 1.5; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span, .footer-contact-item a { font-size: 0.82rem; color: var(--mist); line-height: 1.5; text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--steel); }
.footer-social { display: flex; gap: 1rem; }
.footer-social-link {
  width: 36px; height: 36px; border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; text-decoration: none;
}
.footer-social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-social-link svg { width: 16px; height: 16px; fill: var(--mist); transition: fill 0.3s; }
.footer-social-link:hover svg { fill: var(--black); }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  nav.scrolled { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .page-banner { padding: 0 1.5rem 4rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; }
  .page-banner-title { font-size: 2.8rem; }
}
