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

:root {
  --crimson: #9B1B2A;
  --crimson-dark: #6B0F1C;
  --crimson-light: #C0253A;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --charcoal: #1A1A1A;
  --dark: #111111;
  --mid: #2C2C2C;
  --light-gray: #F5F4F2;
  --warm-white: #FAFAF8;
  --text-muted: #888884;
  --text-body: #3A3A38;
}

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding .3s;
}
nav.scrolled { padding: 12px 60px; }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 180px; border-radius: 5px; }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.7);
  font-size: 13px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase;
  transition: color .25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark)) !important;
  color: #fff !important; padding: 10px 24px; border-radius: 4px;
  font-weight: 600 !important; transition: transform .2s, box-shadow .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155,27,42,0.4) !important; }

/* mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.7); transition: .3s; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  min-height: 45vh; background: var(--dark); position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155,27,42,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 140px 60px 64px;
}
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb span { color: var(--gold); }
.page-title {
  font-size: clamp(38px, 5vw, 72px); font-weight: 900; color: #fff; line-height: 1.05;
  animation: fadeUp .7s ease both;
}
.page-title em { font-style: normal; background: linear-gradient(135deg, var(--crimson-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-subtitle {
  margin-top: 16px; font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.55); font-weight: 300; max-width: 580px;
  animation: fadeUp .7s .1s ease both;
}
.page-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--crimson), transparent);
  margin-top: 40px; animation: fadeUp .7s .2s ease both;
}

/* ── SECTIONS ── */
.section-wrap { padding: 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 60px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--crimson); }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--charcoal); line-height: 1.15; }
.section-title em { font-style: normal; color: var(--crimson); }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff; text-decoration: none;
  padding: 15px 36px; border-radius: 4px;
  font-size: 14px; font-weight: 600; letter-spacing: .8px;
  transition: transform .2s, box-shadow .2s; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(155,27,42,.45); }

.btn-secondary {
  background: transparent; color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 15px 36px; border-radius: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: .8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-crimson {
  background: transparent; color: var(--crimson);
  text-decoration: none; padding: 13px 32px; border-radius: 4px;
  font-size: 14px; font-weight: 600; letter-spacing: .8px;
  border: 1.5px solid var(--crimson);
  transition: background .2s, color .2s; display: inline-block;
}
.btn-outline-crimson:hover { background: var(--crimson); color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(145deg, var(--crimson), var(--crimson-dark));
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}
.footer-brand-text span:first-child { display: block; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 1.5px; }
.footer-brand-text span:last-child { font-size: 9px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 500; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; letter-spacing: .5px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-region { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 1px; text-align: right; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none;
  font-size: 26px; animation: popIn .5s 1s ease both;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── CARROSSEL (seção Quem Somos) ── */
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s, border-color .2s;
  padding: 0;
}
.carousel-btn:hover {
  background: rgba(155,27,42,0.85);
  border-color: rgba(155,27,42,0.6);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ── KEYFRAMES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1) } 50% { opacity:.5; transform:scale(1.4) } }
@keyframes gridDrift { from { transform: translate(0,0); } to { transform: translate(60px,60px); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,0.97); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(201,168,76,0.15); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .section-inner { padding: 60px 24px; }
  .page-hero-content { padding: 120px 24px 50px; }
  footer { flex-direction: column; padding: 40px 24px; }
  .footer-region { text-align: left; }

  /* carrossel mobile — setas menores */
  .carousel-btn { width: 34px; height: 34px; font-size: 20px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}