/* =====================================================
   Equipe Paulo Sassi — Site institucional
   Paleta: azul-noite + dourado discreto + neutros
   ===================================================== */

:root {
  --bg: #f6f4ef;
  --bg-alt: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #1b2a3b;
  --muted: #5b6b7d;
  --line: #e6e1d6;
  --accent: #c89a3c;
  --accent-2: #b18130;
  --shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========== Header / Nav =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}
.brand-text strong {
  display: block;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 15px;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover { color: var(--accent-2); border-color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-2); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* =========== Hero =========== */
.hero {
  position: relative;
  color: #f8f5ec;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, #0d1b2a 0%, #1b2a3b 60%, #243549 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(200, 154, 60, .22), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(200, 154, 60, .12), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><path d='M0 80h160M80 0v160' stroke='rgba(255,255,255,0.035)' stroke-width='1'/></svg>");
  background-size: auto, auto, 160px 160px;
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  padding: 110px 24px 130px;
  max-width: 920px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}
.eyebrow.light { color: var(--accent); }
.eyebrow.center { display: block; text-align: center; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 640px;
  color: #d8d3c5;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  max-width: 720px;
}
.hero-stats li strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--accent);
  line-height: 1;
}
.hero-stats li span {
  font-size: 13px;
  color: #b8b3a4;
}

/* =========== Buttons =========== */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: #d8a749; }
.btn-ghost {
  background: transparent;
  color: #f8f5ec;
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

/* =========== Sections =========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.center { text-align: center; }
.muted { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col p { color: var(--ink-2); font-size: 16px; }
.link-arrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-2);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }

.about-card {
  background: linear-gradient(180deg, #fff, #f9f6ef);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-grid > div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.about-grid strong { display: block; font-size: 15px; }
.about-grid span { font-size: 13px; color: var(--muted); }

/* =========== Cards (Serviços) =========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 154, 60, 0.5);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 700;
}
.card > p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-top: 1px dashed var(--line);
}
.card ul li:first-child { border-top: none; }
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 10px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* =========== Diferenciais =========== */
.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feat {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.feat-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}
.feat h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
}
.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========== Galeria =========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 40px;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #222;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile span { position: relative; z-index: 2; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7));
  z-index: 1;
}

/* =========== CTA / Contato =========== */
.cta-band {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2a3b 100%);
  color: #f8f5ec;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc9b7; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-item {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s, border-color .2s;
}
a.contact-item:hover {
  background: rgba(200, 154, 60, .12);
  border-color: rgba(200, 154, 60, .4);
}
.ci-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.ci-value {
  display: block;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfcf8;
  color: var(--ink);
  width: 100%;
  font-weight: 400;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 4px; }
.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* =========== Footer =========== */
.site-footer {
  background: #0a151f;
  color: #b8b3a4;
  padding: 40px 0 30px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.brand-footer .brand-mark { background: #1b2a3b; }
.brand-footer .brand-text strong { color: #f8f5ec; }
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: #b8b3a4;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover { color: var(--accent); border-color: var(--accent); }
.copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #6f6a5d;
  margin: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 18px;
}

/* =========== WhatsApp floating =========== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* =========== Reveal on scroll =========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========== Responsivo =========== */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 8px; }

  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 80px 24px 90px; }
  .section { padding: 70px 0; }
}

@media (max-width: 540px) {
  .feats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
