/* ══════════════════════════════════════════
   JOÃO E MARIA – ESTILO GLOBAL
   ══════════════════════════════════════════ */

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

/* ── VARIÁVEIS ── */
:root {
  --preto:   #0d0d0d;
  --preto2:  #141414;
  --ouro:    #C9A84C;
  --ouro2:   #e8c96e;
  --ouro3:   #f5dfa0;
  --ouro-bg: rgba(201,168,76,.06);
  --branco:  #f7f2ea;
  --cinza:   #1a1a1a;
  --cinza2:  #212121;
  --cinza3:  #222;
  --texto:   #b8ad96;
  --borda:   rgba(201,168,76,.18);
  --sombra:  rgba(201,168,76,.3);
  --radius:  2px;
  --trans:   .35s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--preto);
  color: var(--texto);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TIPOGRAFIA GLOBAL ── */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

/* ── UTILITÁRIOS ── */
.text-ouro   { color: var(--ouro2) !important; }
.text-center { text-align: center; }
.container   { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── SEÇÃO COMUM ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .6rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--ouro); margin-bottom: 18px;
}
.section-tag::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--ouro);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; color: #fff; line-height: 1.15; margin-bottom: 18px;
}
.section-title strong { font-weight: 600; color: var(--ouro2); }
.section-text { font-size: .82rem; line-height: 2; color: var(--texto); }

/* ── BOTÕES ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ouro); color: var(--preto);
  padding: 16px 38px; font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 700; transition: all var(--trans);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--ouro2); transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--sombra);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,.5); color: var(--ouro2);
  padding: 16px 38px; font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 500; transition: all var(--trans);
  background: transparent; cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--ouro); background: var(--ouro-bg);
}

/* ── NAV GLOBAL ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px; transition: all .4s;
}
nav.scrolled {
  background: rgba(4,4,4,.97);
  border-bottom: 1px solid var(--borda);
  backdrop-filter: blur(16px);
  padding: 12px 56px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { display: none; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  letter-spacing: .22em; color: var(--ouro); text-transform: uppercase;
  font-weight: 400; transition: opacity .3s;
}
.nav-logo:hover .nav-logo-text { opacity: .75; }
/* Botão Admin no nav */
.nav-admin-btn {
  font-size: .58rem !important; letter-spacing: .18em !important;
  color: rgba(201,168,76,.45) !important; border: 1px solid rgba(201,168,76,.2);
  padding: 5px 12px !important; transition: all .3s !important;
}
.nav-admin-btn:hover {
  color: var(--ouro) !important; border-color: rgba(201,168,76,.5) !important;
  background: rgba(201,168,76,.06);
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--texto); font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; transition: color var(--trans);
}
.nav-links a:hover { color: var(--ouro2); }
.nav-cta {
  background: var(--ouro) !important; color: var(--preto) !important;
  padding: 10px 22px; font-weight: 700 !important; letter-spacing: .16em !important;
}
.nav-cta:hover { background: var(--ouro2) !important; color: var(--preto) !important; }

/* Menu hamburguer mobile */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--ouro); transition: all .3s;
}
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(4,4,4,.98); z-index: 199; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  color: #fff; text-transform: uppercase; letter-spacing: .12em;
  text-align: center; transition: color .3s;
}
.nav-mobile a:hover { color: var(--ouro2); }
.nav-mobile-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: var(--ouro); font-size: 2rem; cursor: pointer;
}

/* ── FOOTER GLOBAL ── */
footer {
  background: var(--preto2); padding: 80px 56px 36px;
  border-top: 1px solid var(--borda);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
}
.footer-logo-img { display: none; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
  color: var(--ouro2); letter-spacing: .18em; text-transform: uppercase;
  font-weight: 300; margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(201,168,76,.4); margin-bottom: 18px;
}
.footer-tagline { font-size: .76rem; color: var(--texto); line-height: 1.9; max-width: 280px; }
.footer-title {
  font-size: .58rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ouro); margin-bottom: 20px; font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--texto); font-size: .78rem; transition: color var(--trans); }
.footer-links a:hover { color: var(--ouro2); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: #b8ad96; transition: color var(--trans);
  margin-bottom: 10px; text-decoration: none;
}
.contact-item span:last-child { color: #b8ad96; }
.contact-icon-svg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.15);
  border-radius: 6px; transition: all .3s;
}
.contact-item:hover .contact-icon-svg { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.08); }
.contact-item:hover { color: var(--ouro2); }
.contact-item:hover span { color: var(--ouro2); }
.contact-item:hover .contact-icon-txt { border-color: rgba(201,168,76,.6); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.05);
}
.footer-copy { font-size: .65rem; color: rgba(255,255,255,.25); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid var(--borda);
  display: flex; align-items: center; justify-content: center;
  color: var(--texto); font-size: .72rem; font-weight: 600; transition: all var(--trans);
}
.social-link:hover { border-color: var(--ouro); color: var(--ouro); }

/* ── WA FLOAT ── */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 300;
  background: #25D366; color: #fff; width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.4); transition: all var(--trans);
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 40px rgba(37,211,102,.55); }
.wa-float svg { width: 26px; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 6px 48px rgba(37,211,102,.65); }
}

/* ── ANIMAÇÕES ── */
.fade-in  { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s ease; }
.fade-left { opacity: 0; transform: translateX(-28px); transition: opacity .85s ease, transform .85s ease; }
.fade-right { opacity: 0; transform: translateX(28px); transition: opacity .85s ease, transform .85s ease; }
.fade-in.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }

/* ── HERO PAGE HEADER (páginas internas) ── */
.page-hero {
  min-height: 38vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 32px 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(201,168,76,.1) 0%, transparent 60%),
              var(--preto);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg,transparent,transparent 72px,rgba(201,168,76,.04) 72px,rgba(201,168,76,.04) 73px),
                    repeating-linear-gradient(90deg,transparent,transparent 72px,rgba(201,168,76,.04) 72px,rgba(201,168,76,.04) 73px);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem,5vw,4.5rem); font-weight: 300; margin-bottom: 14px; }
.page-hero p { font-size: .85rem; color: var(--texto); letter-spacing: .06em; }

/* ── BREADCRUMB ── */
.breadcrumb {
  position: relative; z-index: 2;
  display: flex; gap: 8px; align-items: center;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(201,168,76,.6); margin-bottom: 18px; justify-content: center;
}
.breadcrumb a { color: var(--ouro); transition: opacity .3s; }
.breadcrumb a:hover { opacity: .7; }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ══ RESPONSIVO ══ */
@media (max-width: 900px) {
  nav { padding: 14px 22px; }
  nav.scrolled { padding: 10px 22px; }
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
  footer { padding: 60px 22px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { padding: 0 20px; }
}
