/* ===== ZELUS CONSTRUTORA — GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --charcoal:   #1e1e1e;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --white:      #F5F2EE;
  --white-pure: #ffffff;
  --gray:       #888888;
  --gray-light: #D5CFC8;
  --nav-h:      80px;
}

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

/* ══ NAV — sticky, sempre visível, nunca sobrepõe hero ══ */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(245,242,238,0.7);
  text-decoration: none; transition: color 0.3s;
  position: relative; white-space: nowrap;
}
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover { color: var(--white-pure); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  background: transparent; border: 1px solid rgba(201,168,76,0.45);
  padding: 9px 24px; text-decoration: none; transition: all 0.3s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 22px; height: 1px; background: var(--white); display: block; }

/* ══ HERO — padrão unificado todas as páginas ══
   Nav sticky ocupa espaço real → hero começa ABAIXO.
   Estrutura idêntica em index e páginas internas.
   Diferença: h1 interno 10% menor via --t-hero-inner.
══════════════════════════════════════════════════ */
:root {
  --t-hero:       64px;   /* index */
  --t-hero-inner: 56px;   /* páginas internas (−12%) */
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;          /* conteúdo sempre na base */
  overflow: hidden;
}

/* imagem de fundo */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

/* overlay escuro apenas na região do texto (base) */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.96) 0%,
    rgba(10,10,10,0.65) 32%,
    rgba(10,10,10,0.20) 58%,
    rgba(10,10,10,0.0)  80%
  );
}

/* bloco de conteúdo — IDÊNTICO em todas as páginas */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 72px;
  width: 100%;
  max-width: 760px;          /* controla quebra de linha */
}

/* texto de apoio acima do h1 */
.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 9px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}

/* h1 — index */
.hero h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--white-pure);
  margin-bottom: 0;
}

/* h1 — páginas internas (classe no <section class="hero hero-inner">) */
.hero-inner h1 {
  font-size: var(--t-hero-inner);
  line-height: 1.12;
}

/* parágrafo descritivo */
.hero-desc {
  font-family: 'Raleway', sans-serif;
  font-size: 13px; font-weight: 300; line-height: 1.85;
  color: rgba(245,242,238,0.82);
  max-width: 480px;
  margin-top: 18px;
}

/* CTAs */
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 32px;
}

/* scroll indicator */
.scroll-line {
  position: absolute; bottom: 30px; right: 60px;
  display: flex; align-items: center; gap: 10px; z-index: 3;
}
.scroll-line span {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(245,242,238,0.28); writing-mode: vertical-lr;
}
.scroll-line::before {
  content: ''; width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:0.18} }

/* ══ TIPOGRAFIA ══ */
.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px; letter-spacing: 4.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block; font-weight: 600;
}
h2 { font-family: 'Bodoni Moda', serif; font-size: 44px; font-weight: 400; line-height: 1.15; color: var(--white-pure); }
h3 { font-family: 'Bodoni Moda', serif; font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--white-pure); }
h4 { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--white-pure); }
p  { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 300; line-height: 1.95; color: var(--gray-light); }
.gold { color: var(--gold); }
.gold-italic { color: var(--gold); font-style: italic; font-family: 'Bodoni Moda', serif; }
.divider { width: 44px; height: 1px; background: var(--gold); margin: 20px 0; }
.divider-full { width: 100%; height: 1px; background: rgba(201,168,76,0.1); }

/* ══ BOTÕES ══ */
.btn-primary {
  display: inline-block; font-family: 'Raleway', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 13px 34px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.3s, transform 0.3s; white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; font-family: 'Raleway', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); background: transparent;
  padding: 12px 32px; text-decoration: none;
  border: 1px solid rgba(201,168,76,0.45); cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.btn-outline:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ══ SLIDER ══ */
.slider-section { background: var(--black); padding: 100px 0 0; }
.slider-header { text-align: center; padding: 0 60px; margin-bottom: 56px; }
.slider-wrap { position: relative; width: 100%; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.75s cubic-bezier(0.77,0,0.18,1); }
.slide { flex: 0 0 100%; position: relative; }
.slide img {
  width: 100%; height: 78vh; min-height: 460px;
  object-fit: cover; display: block;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(10,10,10,0.5);
  border: 1px solid rgba(201,168,76,0.3); color: var(--gold);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; font-size: 17px; user-select: none;
}
.slider-btn:hover { background: var(--gold); color: var(--black); }
.slider-prev { left: 22px; }
.slider-next { right: 22px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 20px 0 80px; }
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(201,168,76,0.28); cursor: pointer;
  transition: all 0.3s; border: none; padding: 0;
}
.slider-dot.active { background: var(--gold); transform: scale(1.4); }

/* ══ DEPOIMENTO ══ */
.testimonial-section { background: var(--charcoal); padding: 100px 60px; text-align: center; }
.testimonial-inner { max-width: 660px; margin: 0 auto; }
.testimonial-quote-mark { font-family: 'Bodoni Moda', serif; font-size: 76px; line-height: 0.5; color: var(--gold); opacity: 0.55; display: block; margin-bottom: 30px; }
.testimonial-text { font-family: 'Bodoni Moda', serif; font-size: 21px; font-weight: 400; font-style: italic; line-height: 1.65; color: var(--white-pure); margin-bottom: 38px; }
.testimonial-divider { width: 38px; height: 1px; background: var(--gold); margin: 0 auto 22px; }
.testimonial-name { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 5px; }
.testimonial-role { font-family: 'Raleway', sans-serif; font-size: 11px; color: var(--gray); }

/* ══ SEÇÕES ══ */
section { padding: 100px 60px; }
section[id] { scroll-margin-top: var(--nav-h); }

/* ══ FOOTER ══ */
footer { background: #070707; padding: 70px 60px 40px; border-top: 1px solid rgba(201,168,76,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; max-width: 280px; color: var(--gray); }
.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 9px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 13px; color: var(--gray); text-decoration: none; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); font-size: 11px; color: rgba(136,136,136,0.5); }

/* ══ WHATSAPP ══ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 18px rgba(37,211,102,0.28); transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 25px; height: 25px; fill: white; }

/* ══ FORMULÁRIOS ══ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.15); color: var(--white); font-family: 'Raleway', sans-serif; font-size: 13px; padding: 12px 15px; outline: none; transition: border-color 0.3s; border-radius: 0; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(201,168,76,0.45); }
.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 108px; }

/* ══ FADE IN ══ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.85s ease, transform 0.85s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1200px) {
  :root { --t-hero: 56px; --t-hero-inner: 48px; }
  nav { padding: 0 40px; }
  section { padding: 88px 40px; }
  .hero-content { padding: 0 40px 66px; }
  h2 { font-size: 38px; }
  .slider-header { padding: 0 40px; }
}

@media (max-width: 900px) {
  :root { --t-hero: 48px; --t-hero-inner: 42px; }
  nav { padding: 0 28px; }
  section { padding: 72px 28px; }
  .hero-content { padding: 0 28px 60px; max-width: 100%; }
  h2 { font-size: 32px; }
  .hero-desc { font-size: 13px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --t-hero: 40px; --t-hero-inner: 35px; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark); align-items: center; justify-content: center;
    gap: 38px; z-index: 999;
  }
  .nav-links.open a { font-size: 15px; letter-spacing: 3px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 20px; }
  .hero-content { padding: 0 20px 52px; }
  .hero-desc { font-size: 13px; max-width: 100%; }
  .hero-ctas { gap: 10px; }
  /* slider mobile */
  .slider-section { padding-top: 64px; }
  .slider-header { padding: 0 20px; margin-bottom: 36px; }
  .slide img { height: 56vw; min-height: 240px; }
  .slider-btn { width: 36px; height: 36px; font-size: 14px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  /* depoimento mobile */
  .testimonial-section { padding: 64px 24px; }
  .testimonial-inner { max-width: 100%; }
  .testimonial-text { font-size: 17px; line-height: 1.6; }
  .testimonial-quote-mark { font-size: 52px; }
  /* footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .scroll-line { display: none; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
}

@media (max-width: 480px) {
  :root { --t-hero: 34px; --t-hero-inner: 30px; }
  .hero { min-height: 500px; }
  .hero-desc { font-size: 12.5px; }
  .slide img { height: 66vw; }
  .testimonial-text { font-size: 15px; }
  h2 { font-size: 24px; }
}

@media (max-width: 360px) {
  :root { --t-hero: 30px; --t-hero-inner: 27px; }
  .hero-content { padding: 0 16px 44px; }
  section { padding: 52px 16px; }
}
