/* Eletrotécnico Arapongas. Paleta e tipografia alinhadas à referência visual combinada. */
:root {
  --gold: #FFA400;
  --gold-soft: #FFB93C;
  --orange: #FF7300;
  --navy: #182034;
  --ink: #0B0F1E;
  --text: #181512;
  --muted: #5a6573;
  --line: #C8D5DC;
  --mist: #F9FAFD;
  --white: #ffffff;
  --whatsapp: #128C4A;
  --whatsapp-hover: #0f7a3f;
  --wa-bright: #25D366;
  --danger-bg: #F8F1E8;
  --danger-border: #E8C48A;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(11, 15, 30, 0.08);
  --header-h: 72px;
  --max: 1120px;
  --font: "Poppins", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 16px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: #d5dde4;
  font-size: 13px;
  line-height: 1.4;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--gold); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 213, 220, 0.7);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand > span {
  display: flex;
  flex-direction: column;
}
.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand .role {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.nav a:hover { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border-radius: 8px;
  padding: 13px 20px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:focus-visible,
.nav a:focus-visible,
.topbar a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn svg { width: 18px; height: 18px; flex: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s, opacity .2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px 20px;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid #eef2f5;
}
.nav-panel .btn { width: 100%; margin-top: 12px; }

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(11,15,30,0.94) 0%, rgba(24,32,52,0.88) 52%, rgba(24,32,52,0.78) 100%),
    var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200,213,220,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,213,220,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-bolt {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(46vw, 420px);
  opacity: 0.07;
  z-index: -1;
  pointer-events: none;
}
.hero .wrap {
  padding: 56px 0 64px;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero .lead {
  margin: 0 0 28px;
  max-width: 38rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: #dce3ea;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 38rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-notes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #d5dde4;
}
.hero-notes svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--gold);
}
.pending {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,164,0,0.18);
  color: var(--gold-soft);
  border: 1px solid rgba(255,164,0,0.35);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
}
.pending-dark {
  background: #FFF6E5;
  color: #8A4B00;
  border-color: #F0D29A;
}

/* Sections */
.section { padding: 72px 0; }
.section-mist { background: var(--mist); }
.section-navy {
  background: var(--navy);
  color: #fff;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-navy h2 { color: #fff; }
.section-intro {
  margin: 0 0 36px;
  max-width: 40rem;
  color: var(--muted);
}
.section-navy .section-intro { color: #c8d5dc; }

/* Service cards */
.feat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #FFF6E5;
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.service-list {
  margin: 36px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 0;
  list-style: none;
}
.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 500;
}
.service-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold);
  margin-top: 2px;
}

/* Photo placeholders */
.photo-slot {
  margin-top: 28px;
  border: 1px dashed #c3b48a;
  background:
    repeating-linear-gradient(45deg, #FFF9EE, #FFF9EE 12px, #FFF6E5 12px, #FFF6E5 24px);
  border-radius: var(--radius);
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #7a5a1c;
}
.photo-slot strong { display: block; font-size: 14px; margin-bottom: 4px; color: #5c420e; }
.photo-slot span { font-size: 13px; }

/* Warning signs */
.signs {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.sign {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.sign h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}
.sign p { margin: 0; font-size: 14.5px; color: var(--muted); }

.safety {
  margin-top: 28px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.safety h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}
.safety p { margin: 0; font-size: 14.5px; color: #3d3428; }

/* Steps */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,213,220,0.18);
  border-radius: var(--radius);
  padding: 24px 22px 22px 22px;
}
.step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
}
.step p { margin: 0; color: #c8d5dc; font-size: 14.5px; }

/* Reviews pending */
.reviews-box {
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.reviews-box p { margin: 0 0 12px; color: var(--muted); }
.reviews-box p:last-child { margin-bottom: 0; }

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Areas */
.cities {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cities li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid #e6edf1;
  box-shadow: var(--shadow);
}
.cities strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.cities span { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta {
  background:
    linear-gradient(120deg, var(--ink), var(--navy));
  color: #fff;
  text-align: left;
}
.cta h2 { color: #fff; }
.cta p { color: #c8d5dc; margin: 0 0 22px; max-width: 38rem; }

/* Footer */
.footer {
  background: var(--ink);
  color: #c8d5dc;
  padding: 48px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}
.footer p, .footer li { margin: 0 0 8px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(200,213,220,0.15);
  font-size: 13px;
  color: #9eacbd;
}
.footer-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
  cursor: pointer;
}
.footer-note a:hover,
.footer-note a:focus-visible { color: var(--gold); }

/* Floating WA */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(18, 140, 74, 0.45);
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { filter: brightness(0.95); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (min-width: 720px) {
  .menu-toggle, .nav-panel { display: none !important; }
  .nav { display: flex; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .signs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .service-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .hero .wrap { padding: 88px 0 96px; }
}

@media (min-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* v2: no text selection, no page zoom, photos, footer flush */
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}
html, body, body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
main { background: #fff; flex: 0 0 auto; }
img, picture, svg, video { max-width: 100%; height: auto; }
button { font-family: inherit; }


/* v3: framing-first photos, masonry gallery, typographic sobre, flush footer, lightbox */
.brand strong {
  font-size: 14px;
}
@media (min-width: 720px) {
  .brand strong { font-size: 15px; white-space: nowrap; max-width: none; }
}

.hero {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hero-media img,
.hero-media picture,
.hero-media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-copy {
  position: relative;
  padding: 36px 0 48px;
  background: var(--navy);
}
.hero-copy .wrap,
.hero .hero-copy .wrap {
  padding: 0;
  width: min(100% - 32px, var(--max));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 0 0 22px;
  overflow: hidden;
}
.card h3, .card p { padding-left: 22px; padding-right: 22px; }
.card h3 { margin-top: 16px; }
.card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 10px 10px 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.card-photo img,
.card-photo picture,
.card-photo picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.sobre-grid { display: block; max-width: 720px; }
.sobre-grid p { color: var(--muted); margin: 0 0 12px; }
.sobre-grid p:last-child { margin-bottom: 0; }
.sobre-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.sobre-facts li {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
}

/* Masonry: each photo keeps its own orientation, nothing important is cut */
.gallery {
  columns: 2;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  width: 100%;
  background: var(--ink);
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  text-align: left;
}
.gallery-item img,
.gallery-item picture,
.gallery-item picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.gallery-item span {
  display: block;
  padding: 8px 10px 10px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.footer {
  margin: 0;
  padding: 48px 0 96px;
  background: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 15, 30, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 24px;
  touch-action: none;
}
.lightbox[hidden] { display: none !important; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  min-height: 44px;
}
.lightbox-stage {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  touch-action: none;
  -webkit-user-drag: none;
}
.lightbox-caption {
  margin: 12px 0 0;
  color: #c8d5dc;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 720px) {
  .gallery { columns: 3; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .sobre-facts { grid-template-columns: 1fr 1fr; }
}

/* Desktop hero: 16:9 full-bleed matching the photo, text over a gradient — no crop */
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .hero-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
    width: 100%;
  }
  .hero-media img,
  .hero-media picture img {
    object-fit: cover;
    object-position: center center;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 48px 0;
    min-height: 100%;
    background: linear-gradient(90deg, rgba(11,15,30,0.94) 0%, rgba(11,15,30,0.82) 46%, rgba(11,15,30,0.28) 78%, rgba(11,15,30,0.08) 100%);
  }
  .hero-copy .wrap,
  .hero .hero-copy .wrap {
    width: min(100% - 64px, 560px);
    margin-left: max(32px, calc((100% - var(--max)) / 2));
    margin-right: auto;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .gallery { columns: 4; }
}

@media (max-width: 719px) {
  .hero-notes .pending {
    display: block;
    margin: 6px 0 0 28px;
    width: fit-content;
  }
}
