/* Base */
:root {
  --bg: #ffffff;
  --text: #0b0e18;
  --muted: #5c6577;
  --primary: #2e7cf6;
  --primary-600: #226de3;
  --blue-50: #e8f0ff;
  --purple-50: #f3edff;
  --card: #f6f8fc;
  --shadow: 0 10px 30px rgba(21, 45, 91, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: var(--header-height);
}
html {
  scroll-behavior: smooth;
}
main section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: saturate(1.1) blur(8px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(15, 30, 60, 0.06);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: #3561ff;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}
.menu {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
.menu a {
  color: #293041;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
}
.menu a:hover {
  color: var(--primary);
}

/* Toggle (desktop hidden) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #e8eefb;
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle .hamburger {
  width: 18px;
  height: 2px;
  background: #2b3a55;
  border-radius: 2px;
  position: relative;
}
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #2b3a55;
  border-radius: 2px;
}
.menu-toggle .hamburger::before {
  top: -6px;
}
.menu-toggle .hamburger::after {
  top: 6px;
}
.site-header.open .menu-toggle .hamburger {
  background: transparent;
}
.site-header.open .menu-toggle .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}
.site-header.open .menu-toggle .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 18px;
}
.btn-small {
  padding: 8px 14px;
  font-size: 0.92rem;
}
.btn-pill {
  border-radius: 999px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(46, 124, 246, 0.26);
}
.btn-primary:hover {
  background: var(--primary-600);
}
.btn-light {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(46, 124, 246, 0.25);
}
.btn-light:hover {
  background: var(--blue-50);
}

.svg {
  margin-top: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 45%, #f1f4ff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: bottom center;
}
.hero-bg::before {
  background: linear-gradient(
    135deg,
    rgba(0, 98, 255, 0.425) 100%,
    rgba(17, 0, 255, 0.219) 70%
  );
  clip-path: polygon(0 68%, 100% 28%, 100% 100%, 0 100%);
  opacity: 0.75;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  margin: 0px 0 12px;
  font-weight: 800;
}
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
  z-index: 1;
}
.hero-cta {
  margin: 18px 0 28px;
  z-index: 1;
}

/* Hero video */
.hero-video {
  width: min(920px, 100%);
  border-radius: 14px;
  overflow: hidden;
  margin: 18px auto 6px;
  box-shadow: var(--shadow);
  border: 1px solid #dee6ff;
  z-index: 1;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.video-play:hover,
.video-play:focus-visible {
  background: rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -50%) scale(1.03);
}
.video-play:focus-visible {
  outline: 2px solid #2a84ff;
  outline-offset: 4px;
}
.hero-video.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}
@media (max-width: 640px) {
  .hero-video .video-play {
    display: none;
  }
}

/* Processo */
.process {
  padding: 70px 0 18px;
}
.section-title {
  font-size: clamp(22px, 3.4vw, 24px);
  text-align: center;
  margin: 0 0 28px;
  font-weight: 800;
}
.section-sub {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.step {
  background: #fff;
  border: 1px solid #e9eefb;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10, 32, 80, 0.04);
}
.step .icn {
  width: 60px;
  height: 60px;
  margin: 8px auto 6px;
  color: var(--primary);
  background: var(--blue-50);
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.step h3 {
  margin: 8px 0 6px;
  font-size: 1rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Feature + Gallery */
.feature {
  padding: 40px 0;
  margin-top: 50px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.feature-photo {
  border-radius: 16px;
  background: linear-gradient(135deg, #dfe8ff, #fff);
  border: 1px solid #e4ebff;
  box-shadow: var(--shadow);
}
.feature-card {
  background: #2a84ff;
  color: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card p {
  color: #e7f1ff;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
}
.h2 {
  font-size: clamp(22px, 3.6vw, 28px);
  margin: 0;
}
.gallery {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Testimonials */
.testimonials {
  padding: 52px 0;
}
.slider {
  margin-top: 50px;
  position: relative;
}
.slides {
  position: relative;
  overflow: hidden;
}
.slide {
  display: none;
}
.slide.is-active {
  display: block;
}
.card-testimonial {
  background: #fff;
  border: 1px solid #e8eefb;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  overflow: hidden;
}
.t-photo {
  background: linear-gradient(135deg, #ffe3e8, #ffd3df);
}
.t-body {
  padding: 18px 20px;
}
.t-name {
  font-weight: 700;
}
.t-service {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.t-description {
  font-size: 0.95rem;
}
.stars span {
  color: #ffb400;
  font-size: 18px;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #d7def0;
  cursor: pointer;
}
.dots button[aria-current="true"] {
  background: #2e7cf6;
  width: 28px;
}

/* CTA */
.cta {
  padding: 40px 0 56px;
}
.cta-inner {
  background: #f7faff;
  border: 1px solid #e8eefb;
  border-radius: 16px;
  text-align: center;
  padding: 36px;
  box-shadow: 0 6px 20px rgba(10, 40, 80, 0.06);
}
.cta-inner h2 {
  margin: 0 0 8px;
}
.cta-inner p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding: 36px 0 64px;
}
.accordion {
  max-width: 880px;
  margin: 0 auto;
}
.acc {
  border-bottom: 1px solid #e8eefb;
  padding: 2px 0;
}
.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc > summary::-webkit-details-marker {
  display: none;
}
.acc[open] > summary {
  color: var(--primary);
}
.acc-body {
  padding: 0 4px 18px 4px;
  color: var(--muted);
}

/* Special */
.special {
  background: #fafbfe;
  border-top: 1px solid #eef2fb;
  padding: 52px 0;
}
.special-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.special-card {
  background: #ffffff;
  border: 1px solid #e8eefb;
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.special-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Footer */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid #eef2fb;
  background: #fff;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6a7386;
  font-size: 0.9rem;
}
.foot a {
  color: #6a7386;
  text-decoration: none;
}

/* Placeholders */
.img-ph {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e6ecfb;
  display: block;
}
.img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.focus-top .img-real {
  object-position: center 25%;
}

/* Aspect ratios */
.ratio-16x9 {
  aspect-ratio: 16/9;
}
.ratio-4x3 {
  aspect-ratio: 4/3;
}
.ratio-1x1 {
  aspect-ratio: 1/1;
}

/* Responsive */
@media (max-width: 990px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .card-testimonial {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav .btn {
    display: none;
  }
  .only-mobile {
    display: flex;
  }
  .site-header.open .menu {
    display: flex !important;
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 16px);
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e8eefb;
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 80;
  }
  .site-header.open .menu a {
    padding: 10px 8px;
    font-size: 1.06rem;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: repeat(1, 1fr);
  }
  .logo img {
    height: 38px;
  }
  .window-body {
    grid-template-columns: 120px 1fr;
    height: 280px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .special-grid {
    grid-template-columns: 1fr;
  }
  .special-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 23, 56, 0.42);
  z-index: 45;
}
.overlay[hidden] {
  display: none !important;
}

/* Helpers */
body.no-scroll {
  overflow: hidden;
}

/* Utility */
.only-mobile {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}
