:root {
  --brand-blue: #002564;
  --brand-orange: #F4901E;
  --brand-violet: #2E33B1;
  --graphite: #323232;
  --paper: #F2F2F2;
  --warm-gray: #BEBEB9;
  --white: #ffffff;
  --ink: #07152f;
  --muted: #5f6672;
  --line: rgba(0, 37, 100, 0.14);
  --shadow: 0 22px 70px rgba(0, 37, 100, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 174px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.header-cta:hover,
.site-footer a:hover {
  color: var(--brand-orange);
}

.header-cta {
  padding: 11px 18px;
  color: var(--brand-blue);
  border: 2px solid var(--brand-orange);
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-blue);
}

.hero-media,
.hero-overlay,
.brand-pattern {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-eletricista-premium-florianopolis.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  filter: saturate(0.95) contrast(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 37, 100, 0.96) 0%, rgba(0, 37, 100, 0.88) 42%, rgba(0, 37, 100, 0.42) 74%, rgba(0, 37, 100, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 37, 100, 0.12), rgba(0, 37, 100, 0.82));
}

.brand-pattern {
  z-index: 1;
  opacity: 0.22;
  background:
    radial-gradient(circle at 92% 16%, transparent 0 62px, var(--brand-orange) 63px 70px, transparent 71px),
    linear-gradient(135deg, transparent 0 48%, var(--brand-violet) 48% 52%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.18) 55px, transparent 56px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%);
  animation: patternFloat 9s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(730px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 102px;
  animation: heroContentIn 0.85s ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  color: var(--brand-blue);
  font-size: clamp(1.95rem, 4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  color: var(--brand-blue);
  font-size: 1.28rem;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-actions,
.section-heading,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--brand-orange);
  box-shadow: 0 16px 42px rgba(244, 144, 30, 0.32);
}

.button.primary:hover {
  background: #ff9f29;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-proof {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.83);
}

.hero-proof span {
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 28px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--brand-blue);
  font-size: 1.08rem;
  font-weight: 900;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.93rem;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro,
.seo-local,
.split,
.conversion {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.seo-local {
  padding-top: clamp(52px, 7vw, 82px);
  padding-bottom: clamp(52px, 7vw, 82px);
  border-bottom: 1px solid var(--line);
}

.intro p,
.seo-local p,
.split p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading .eyebrow,
.section-heading h2,
.section-heading p {
  width: 100%;
}

.section-heading p {
  max-width: 700px;
  margin-bottom: 0;
}

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

.service-card {
  position: relative;
  min-height: 350px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 37, 100, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border: 20px solid rgba(244, 144, 30, 0.15);
  border-radius: 34px;
  transform: rotate(30deg);
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(244, 144, 30, 0.42);
  box-shadow: 0 18px 46px rgba(0, 37, 100, 0.14);
}

.service-card:hover::after {
  opacity: 0.8;
  transform: rotate(30deg) scale(1.08);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--brand-blue);
  border: 4px solid var(--brand-orange);
  border-radius: 18px;
  font-size: 1.45rem;
  font-weight: 900;
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-orange);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.portfolio {
  border-top: 1px solid var(--line);
}

.work-carousel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 37, 100, 0.1);
}

.work-stage {
  position: relative;
}

.work-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-blue);
}

.work-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.work-photo img {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  object-fit: contain;
  transition: transform 0.5s ease;
}

.work-carousel:hover img {
  transform: scale(1.04);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: rgba(0, 37, 100, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-control:hover {
  background: var(--brand-orange);
  transform: translateY(-50%) scale(1.06);
}

.carousel-control.prev {
  left: 14px;
}

.carousel-control.next {
  right: 14px;
}

.work-copy {
  max-width: 570px;
}

.work-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--brand-blue);
  border-left: 5px solid var(--brand-orange);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.work-copy p {
  color: var(--muted);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.carousel-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: rgba(0, 37, 100, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 30px;
  background: var(--brand-orange);
}

.clients {
  padding-top: clamp(48px, 7vw, 86px);
}

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

.client-card {
  min-height: 250px;
  padding: 24px;
  background: var(--brand-blue);
  border: 1px solid rgba(0, 37, 100, 0.18);
  border-radius: 8px;
  color: var(--white);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 37, 100, 0.18);
}

.client-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand-orange);
  font-weight: 900;
}

.client-card h3 {
  color: var(--white);
}

.client-card p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.client-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.split {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 7vw, 96px);
  padding-left: clamp(18px, 7vw, 96px);
  color: var(--white);
  background:
    radial-gradient(circle at 94% 10%, rgba(244, 144, 30, 0.3), transparent 18%),
    linear-gradient(135deg, var(--brand-blue), #001a47 68%, var(--brand-violet));
}

.split h2,
.split h3 {
  color: var(--white);
}

.split p {
  color: rgba(255, 255, 255, 0.76);
}

.problem-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.problem-list li {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--brand-orange);
  border-radius: 8px;
  font-weight: 600;
}

.areas {
  text-align: center;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tags span {
  padding: 11px 15px;
  color: var(--brand-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.process {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 214px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.steps li:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 37, 100, 0.1);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--white);
  background: var(--brand-orange);
  border-radius: 12px;
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  color: var(--brand-blue);
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.conversion {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 7vw, 96px);
  padding-left: clamp(18px, 7vw, 96px);
  background: var(--white);
}

.contact-card {
  display: grid;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: 32px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand-orange);
  border-radius: 8px;
}

.contact-card a {
  color: var(--brand-blue);
  font-size: 1.45rem;
  font-weight: 900;
}

.contact-card small {
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--brand-blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form ::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.lead-form select option {
  color: var(--brand-blue);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(18px, 7vw, 96px) 92px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--brand-blue);
}

.site-footer img {
  width: 160px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: var(--white);
  background: var(--brand-orange);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(244, 144, 30, 0.36);
  font-weight: 900;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateX(0);
  }
  to {
    transform: scale(1.07) translateX(-14px);
  }
}

@keyframes patternFloat {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(22px);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 14px 34px rgba(244, 144, 30, 0.34);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(244, 144, 30, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-right: 18px;
  }

  .trust-strip,
  .service-grid,
  .client-grid,
  .work-carousel,
  .intro,
  .split,
  .conversion {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    width: 142px;
  }

  .brand img {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 740px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-top: 80px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 37, 100, 0.96), rgba(0, 37, 100, 0.74)),
      linear-gradient(180deg, rgba(0, 37, 100, 0.18), rgba(0, 37, 100, 0.86));
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .steps,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .site-footer a {
    display: inline-block;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    display: flex;
  }
}
