@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0078f2;
  --blue-strong: #005fc4;
  --ink: #18202a;
  --muted: #5f6b7a;
  --line: #dce5ef;
  --paper: #f7f9fc;
  --white: #ffffff;
  --graphite: #222222;
  --green: #2a9d67;
  --amber: #d99a24;
  --shadow: 0 18px 45px rgba(15, 30, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  animation: page-in 420ms ease-out both;
}

img,
svg {
  display: block;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 239, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 120, 242, 0.18);
  border-radius: 8px;
  background: #eef6ff;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: #283341;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-strong);
  background: #edf6ff;
  outline: none;
}

.nav-pill {
  border: 1px solid rgba(0, 120, 242, 0.26);
}

.nav-pill-solid {
  color: var(--white) !important;
  background: var(--blue);
  border-color: var(--blue);
}

.nav-pill-solid:hover,
.nav-pill-solid:focus-visible {
  background: var(--blue-strong) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--graphite) url("assets/images/joao-pessoa-wide.jpg") right center / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 30, 0.52);
}

.hero-inner {
  position: relative;
  padding: 72px 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8cc7ff;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.35rem;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  font-weight: 700;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.signature {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
}

.signature span {
  color: #8cc7ff;
}

.hero-actions,
.section-action,
.service-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-strong);
  border-color: var(--blue-strong);
}

.button-quiet {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-whatsapp {
  color: #f7fff9;
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.52);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.12);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: rgba(37, 211, 102, 0.32);
  border-color: rgba(37, 211, 102, 0.72);
}

.button-outline {
  color: var(--blue-strong);
  background: var(--white);
  border-color: rgba(0, 120, 242, 0.28);
}

.section {
  padding: 84px 0;
}

.section-light {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading.center {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading.center p {
  margin-left: auto;
  margin-right: auto;
}

.highlights {
  display: grid;
  gap: 14px;
}

.highlight-card,
.service-card,
.contact-form,
.service-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 30, 48, 0.07);
}

.highlight-card {
  padding: 20px;
  display: grid;
  gap: 6px;
}

.highlight-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.highlight-card span {
  color: var(--muted);
}

.services-preview {
  background: #eef4fa;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 240px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.service-number {
  min-width: 42px;
  min-height: 34px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--blue-strong);
  background: #e4f2ff;
  font-weight: 700;
}

.section-action {
  justify-content: center;
  margin-top: 30px;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-strong);
  font-weight: 700;
  background: var(--white);
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #2c3745;
  font-weight: 700;
}

.contact-form textarea,
.contact-form input {
  width: 100%;
  border: 1px solid #cbd7e4;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  margin-bottom: 18px;
}

.contact-form input {
  margin-bottom: 22px;
}

.contact-form textarea:focus,
.contact-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 120, 242, 0.12);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #b42318;
}

.social-dock {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  display: none;
  gap: 10px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 12px 26px rgba(10, 20, 32, 0.22);
  transition: transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.social-link svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.social-whatsapp {
  background: #28a65f;
}

.social-instagram {
  background: #c13584;
}

.social-facebook {
  background: #1877f2;
}

.site-footer {
  padding: 26px 0;
  color: #d8e4f0;
  background: #151b23;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a {
  color: #8cc7ff;
  font-weight: 700;
}

.footer-credit {
  display: inline-flex;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4d94ff;
  font-size: 0.86rem;
  font-weight: 500;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #8cc7ff;
  outline: none;
}

.footer-credit span {
  font-weight: 700;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.12);
  outline: none;
}

.footer-social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--graphite) url("assets/images/joao-pessoa.jpg") center bottom / cover no-repeat;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 30, 0.68);
}

.page-hero-inner {
  position: relative;
  padding: 62px 0;
}

.page-hero h1 {
  max-width: 800px;
  font-size: 3rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
}

.service-detail-section {
  padding-top: 56px;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  padding: 26px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.service-detail-title {
  display: grid;
  align-content: start;
  gap: 14px;
}

.service-detail-title span {
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-strong);
  background: #e4f2ff;
  font-weight: 700;
}

.service-detail h2 {
  margin: 0;
  font-size: 1.6rem;
}

.service-detail ul {
  margin: 0;
  padding-left: 20px;
  color: #435061;
}

.service-detail li + li {
  margin-top: 10px;
}

.service-cta {
  color: var(--white);
  background: #162231;
}

.service-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.service-cta h2 {
  margin-bottom: 0;
}

.service-cta .eyebrow {
  color: #8cc7ff;
}

.brand,
.site-nav a,
.contact-links a,
.social-link,
.menu-toggle {
  position: relative;
  overflow: hidden;
}

.click-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  left: var(--ripple-x);
  top: var(--ripple-y);
  border-radius: 999px;
  background: rgba(0, 120, 242, 0.28);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 620ms ease-out forwards;
}

.button-primary .click-ripple,
.nav-pill-solid .click-ripple,
.social-link .click-ripple {
  background: rgba(255, 255, 255, 0.34);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  clip-path: circle(0 at var(--transition-x, 50%) var(--transition-y, 50%));
  background:
    radial-gradient(circle at var(--transition-x, 50%) var(--transition-y, 50%), rgba(0, 120, 242, 0.98), rgba(0, 95, 196, 0.98) 38%, rgba(17, 51, 93, 0.98) 100%);
  transition: clip-path 540ms cubic-bezier(.65, 0, .2, 1), opacity 180ms ease;
}

.page-transition::after {
  content: "";
  position: absolute;
  left: var(--transition-x, 50%);
  top: var(--transition-y, 50%);
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background: url("assets/images/favicon-192.png?v=eurinho3") center / contain no-repeat;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.25));
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72) rotate(-4deg);
  transition: opacity 180ms ease 110ms, transform 420ms cubic-bezier(.2, .8, .2, 1) 80ms;
}

.page-transition.is-active {
  opacity: 1;
  clip-path: circle(150vmax at var(--transition-x, 50%) var(--transition-y, 50%));
}

.page-transition.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

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

  body {
    animation: none;
  }

  .page-transition {
    display: none;
  }
}

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

  .site-nav {
    gap: 4px;
    font-size: 0.85rem;
  }

  .site-nav a {
    padding-inline: 9px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 74vh;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 58px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 58px 0;
  }

  .split,
  .contact-layout,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-card {
    min-height: 210px;
  }

  .page-hero {
    min-height: 320px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .service-cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .hero {
    min-height: 72vh;
    background-image: linear-gradient(rgba(18, 26, 35, 0.78), rgba(18, 26, 35, 0.72)), url("assets/images/joao-pessoa.jpg");
    background-position: center bottom;
  }

  .hero-shade {
    display: none;
  }

  .hero-inner {
    padding: 42px 0;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.48rem;
  }

  .hero-actions,
  .service-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .service-cta-actions .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .social-dock {
    display: none;
  }
}
