:root {
  --navy-900: #0a1424;
  --navy-800: #0f1e35;
  --navy-700: #16294a;
  --gold: #d5c49f;        /* dourado do logo: fundos escuros, botões, faixa CTA */
  --gold-hover: #c4b088;
  --gold-deep: #7d6a3e;   /* texto e ícones sobre fundo claro (contraste 5:1) */
  --ink: #1b2433;
  --muted: #5b6678;
  --line: #e3e7ee;
  --bg-soft: #f4f6f9;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 20, 36, .08);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding: 88px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section__head p { color: var(--muted); }

.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .75em; }
.eyebrow--dark { color: var(--gold-deep); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding: .7em 1.3em; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .9em 1.7em; font-size: 1rem; }
.btn--primary { background: var(--gold); color: var(--navy-900); }
.btn--primary:hover { background: var(--gold-hover); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }

/* Topbar */
.topbar { background: var(--navy-900); color: #c6cfdd; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: center; gap: 1em; flex-wrap: wrap; padding: 8px 16px; }
.topbar a { color: var(--gold); font-weight: 600; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy-800); border-bottom: 1px solid rgba(255,255,255,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; }
.logo--footer img { height: 110px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #d5ddea; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); padding: 120px 0 130px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(213,196,159,.16), transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
/* TODO: substituir o fundo por foto/vídeo de instalação elétrica, como no modelo */
.hero__grid { position: absolute; inset: 0; opacity: .08;
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero__inner { position: relative; max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .2em; }
.hero__tagline { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; color: var(--gold); }
.hero__lead { font-size: 1.1rem; color: #c6cfdd; max-width: 640px; margin-bottom: 2em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Badges */
.badges { position: relative; margin-top: -48px; z-index: 2; }
.badges__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.badge { display: flex; align-items: center; gap: 14px; padding: 24px 26px; }
.badge + .badge { border-left: 1px solid var(--line); }
.badge svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.badge span { font-size: .85rem; color: var(--muted); }

/* Sobre */
.about__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); }
.about__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; }
.about__text > p { color: var(--muted); }
.points { display: grid; gap: 22px; margin-top: 32px; }
.point { display: flex; gap: 16px; }
.point__icon, .card__icon { flex: none; width: 48px; height: 48px; border-radius: 10px; background: rgba(213,196,159,.28); display: grid; place-items: center; }
.point__icon svg, .card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.point h3 { font-size: 1rem; margin-bottom: .2em; }
.point p { color: var(--muted); margin: 0; }

/* Serviços */
.services { background: var(--navy-900); color: var(--white); }
.services .section__head p { color: #9fb0c8; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card__icon { margin-bottom: 18px; background: rgba(213,196,159,.12); }
.card__icon svg { stroke: var(--gold); }
.card h3 { font-size: 1.1rem; }
.card p { color: #a9b6c9; font-size: .95rem; margin: 0; }

/* Etapas */
.steps { background: var(--bg-soft); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps__list li { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.steps__list span { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--gold-deep); }
.steps__list h3 { font-size: 1.05rem; margin-top: .4em; }
.steps__list p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA */
.cta { background: var(--gold); color: var(--navy-900); padding: 56px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .25em; }
.cta p { margin: 0; font-weight: 500; }

/* Contato */
.contact__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact__info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact__info > p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-list strong { font-family: var(--font-head); font-size: .85rem; }
.info-list a { color: var(--gold-deep); font-weight: 600; }
.info-list small { color: var(--muted); font-size: .85rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; background: var(--white); }
.form__error { color: #c0392b; font-size: .9rem; margin: 0; }

/* Footer */
.footer { background: var(--navy-900); color: #9fb0c8; padding: 64px 0 0; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; }
.footer h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.footer__inner > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: 48px; padding: 20px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsivo */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 360px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-800); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__cta { margin-top: 16px; }
  .header__inner { position: static; }
}

@media (max-width: 640px) {
  .logo img { height: 34px; }
  .logo--footer img { height: 96px; }
  .about__media { margin-right: 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 110px; }
  .badges__inner { grid-template-columns: 1fr; }
  .badge + .badge { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .steps__list, .form__row, .footer__inner { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn { width: 100%; }
}
