/* =========================================================
   DPLAC — Construção a Seco  (reprodução do design aprovado)
   Navy escuro + dourado/amarelo, logo oficial DPLAC
   ========================================================= */

:root {
  --gold: #eba300;          /* botões, ícones, números, destaques */
  --gold-600: #d99700;
  --gold-100: #fff6de;
  --navy: #0c1a2e;          /* seções escuras */
  --navy-deep: #0a1524;     /* hero overlay / rodapé */
  --navy-card: #13233b;     /* cards escuros */
  --ink: #13233b;           /* títulos sobre claro */
  --body: #55606f;          /* texto sobre claro */
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -28px rgba(10, 21, 36, .45);
  --shadow-sm: 0 12px 30px -18px rgba(10, 21, 36, .35);
  --maxw: 1180px;
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .98rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .arw { transition: transform .15s ease; }
.btn:hover .arw { transform: translateX(4px); }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--gold);
  color: #23180a;
  box-shadow: 0 14px 26px -14px rgba(235, 163, 0, .8);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 92px;
}
.brand-logo { height: 45.9px; width: auto; }
.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav a {
  color: rgba(255, 255, 255, .9);
  font-weight: 500;
  font-size: .96rem;
  position: relative;
}
.nav a:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.menu-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: #fff;
  /* Fundo: foto da obra (troque assets/hero.jpg) com overlay escuro.
     Sem a foto, mantém o degradê escuro — não fica quebrado. */
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(105deg, rgba(10, 21, 36, .96) 32%, rgba(10, 21, 36, .78) 62%, rgba(10, 21, 36, .55)),
    url("assets/hero-form.png");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(100deg, #000 35%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 54px;
  align-items: center;
  padding: 150px 24px 96px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  font-weight: 800;
  max-width: 15ch;
  margin-bottom: 20px;
}
.hero .lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 0 24px;
}
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 38px;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
  font-size: .98rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323180a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

/* ---------- Formulário (card branco) ---------- */
.lead-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  color: var(--ink);
}
.field { margin-bottom: 15px; }
.field > label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.field input:not([type="checkbox"])::placeholder, .field textarea::placeholder { color: #9aa3b0; }
.field input:not([type="checkbox"]):focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(235, 163, 0, .18);
}
.field input:not([type="checkbox"]).invalid, .field textarea.invalid { border-color: #e23b3b; box-shadow: 0 0 0 3px rgba(226, 59, 59, .14); }
.service-field { border: 0; padding: 0; margin: 0 0 15px; min-width: 0; }
.service-field legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
}
.service-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.service-option:last-child { grid-column: 1 / -1; }
.service-option:has(input:checked) { border-color: var(--gold); background: rgba(235, 163, 0, .08); }
.service-field.invalid .service-option { border-color: #e23b3b; }
.lead-form .btn { margin-top: 6px; }
.form-note { text-align: center; color: #8a93a1; font-size: .8rem; margin: 12px 0 0; }

/* ---------- Seções ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-sub { color: var(--body); font-size: 1.04rem; margin: 14px 0 0; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Soluções ---------- */
.solucoes-photo {
  height: 340px;
  border-radius: var(--radius-lg);
  margin-bottom: 34px;
  /* Troque por assets/solucoes.jpg — mantém degradê como fallback */
  background-color: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(12, 26, 46, .35), rgba(12, 26, 46, .55)),
    url("assets/execucao-acabamento.png");
  background-size: 100% 100%, auto 123%;
  background-position: center, center 25%;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
}
.num-card { text-align: left; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.num-card .num {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.num-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.num-card p { margin: 0; font-size: .93rem; color: var(--body); }

/* ---------- Split (Para quem é / Diferenciais) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.split-reverse .split-copy { order: 0; }
.split-copy h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 18px; }
.split-copy p { margin: 0 0 26px; font-size: 1.02rem; }

/* Seção navy */
.section-navy { background: var(--navy); color: #fff; }
.section-navy .split-copy h2 { color: #fff; }
.section-navy .split-copy p { color: rgba(255, 255, 255, .78); }

/* Cards de público (navy) */
.aud-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aud-ico {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--gold);
  display: grid; place-items: center;
}
.aud-ico svg { width: 24px; height: 24px; fill: none; stroke: #23180a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aud-card p { margin: 0; color: rgba(255, 255, 255, .9); font-weight: 500; font-size: .95rem; }

/* Cards de diferenciais (claro, borda) */
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gold-100);
  display: grid; place-items: center;
}
.feat-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat-card p { margin: 0; color: var(--ink); font-weight: 600; font-size: .92rem; }

/* ---------- Faixa CTA ---------- */
.cta-wrap { padding: 40px 0 20px; }
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .72); max-width: 52ch; font-size: .96rem; }

/* ---------- Orçamento final ---------- */
.orcamento {
  position: relative;
  color: #fff;
  /* Troque por assets/cta.jpg — fallback degradê escuro */
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(115deg, rgba(10, 21, 36, .97) 40%, rgba(10, 21, 36, .8) 70%, rgba(10, 21, 36, .6)),
    url("assets/orcamento-final.png");
  background-size: cover;
  background-position: center;
}
.orcamento-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 54px;
  align-items: center;
  padding: 96px 24px;
}
.eyebrow {
  text-transform: none;
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 14px;
}
.orcamento-copy h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; max-width: 12ch; margin-bottom: 18px; }
.orcamento-copy p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; max-width: 40ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding-top: 42px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 34px;
  flex-wrap: wrap;
}
.footer-logo { height: 45.9px; width: auto; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 24px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  z-index: 60;
  animation: pulse 2.4s infinite;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 29px; height: 29px; fill: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7), 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-inner, .orcamento-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; }
  .hero-inner { padding-bottom: 70px; }
  .lead-form { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-reverse .split-copy { order: -1; }
  .audience-cards.grid-3, .feature-cards.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .service-options { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: 92px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 6px 24px 18px;
    transform: translateY(-140%);
    transition: transform .28s ease;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu-toggle { display: flex; }
  .grid-4, .audience-cards.grid-3, .feature-cards.grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover .arw { transform: none; }
}
