:root {
  --navy: #0a2540;
  --blue: #1da1f2;
  --light: #4fc3f7;
  --white: #ffffff;
  --text: #132f4c;
  --muted: #5a7694;
  --bg-soft: #f4f9fe;
  --shadow: 0 16px 34px rgba(10, 37, 64, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(900px 400px at -10% -10%, rgba(79, 195, 247, 0.2), transparent 70%),
    radial-gradient(900px 420px at 110% -10%, rgba(29, 161, 242, 0.18), transparent 66%),
    var(--white);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--light));
  box-shadow: 0 10px 24px rgba(29, 161, 242, 0.35);
}

.btn-secondary {
  color: var(--navy);
  border-color: rgba(10, 37, 64, 0.24);
  background: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.header.scrolled {
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 230px;
  max-width: 48vw;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.4rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 16px;
  font-weight: 600;
  color: #29496a;
}

.hero {
  padding-top: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.tagline {
  display: inline-flex;
  border: 1px solid rgba(29, 161, 242, 0.28);
  background: rgba(79, 195, 247, 0.12);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.05rem, 5vw, 3.8rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.03;
  max-width: 13ch;
  margin-bottom: 14px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-panel {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(130deg, #0a2540, #1c4f7e 56%, #1da1f2);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel::before {
  width: 180px;
  height: 180px;
  right: -48px;
  top: -48px;
}

.hero-panel::after {
  width: 150px;
  height: 150px;
  left: -42px;
  bottom: -44px;
}

.hero-logo {
  width: min(340px, 80%);
  position: relative;
  z-index: 1;
}

.kpi-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.kpi-item {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  padding: 10px 12px;
}

.kpi-item strong {
  display: block;
  font-size: 1.15rem;
}

.trust-bar {
  margin-top: 24px;
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
  color: #2a4b6d;
  font-weight: 600;
}

.trust-item::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  background: linear-gradient(100deg, var(--blue), var(--light));
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.22);
}

.cards-4,
.stats-3,
.pricing-3,
.portfolio-6,
.testimonials-3 {
  display: grid;
  gap: 14px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.price-card,
.portfolio-card,
.testimonial,
.faq details,
.why-item {
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08);
}

.card {
  padding: 20px;
}

.card-index {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 800;
  background: rgba(79, 195, 247, 0.14);
  border: 1px solid rgba(29, 161, 242, 0.3);
}

.card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 8px 0;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-3 {
  margin-top: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  border: 1px dashed rgba(29, 161, 242, 0.46);
  border-radius: 12px;
  padding: 14px;
  background: rgba(79, 195, 247, 0.08);
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.1;
}

.bg-soft {
  background: var(--bg-soft);
}

.pricing-3 {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 14px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #2f5072;
}

.price-card li::before {
  content: "?";
  color: var(--blue);
  font-weight: 800;
  margin-right: 8px;
}

.price-card .btn {
  margin-top: auto;
}

.price-card.featured {
  border-color: rgba(29, 161, 242, 0.48);
  box-shadow: 0 14px 34px rgba(29, 161, 242, 0.2);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.1), #fff 42%);
  position: relative;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  background: linear-gradient(100deg, var(--blue), var(--light));
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.portfolio-6 {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  overflow: hidden;
  transition: transform 0.2s ease;
}

.portfolio-card>a {
  display: block;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(29, 161, 242, 0.74)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.17) 0 10px, rgba(255, 255, 255, 0.05) 10px 20px);
}

.thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.portfolio-content {
  padding: 14px;
}

.portfolio-content h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 5px;
}

.portfolio-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

.why-item {
  padding: 14px;
  font-weight: 600;
  color: #1f3f63;
}

.testimonials-3 {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial {
  padding: 20px;
}

.testimonial p {
  color: #2f5277;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial strong {
  display: block;
  color: var(--navy);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 14px;
}

.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq p {
  margin-top: 8px;
  color: #35587c;
  font-size: 0.94rem;
}

.final-cta {
  border-radius: 22px;
  padding: clamp(28px, 6vw, 50px);
  text-align: center;
  background: linear-gradient(130deg, #0a2540, #1b4e7b 58%, #1da1f2);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.14;
  margin-bottom: 10px;
}

.final-cta p {
  opacity: 0.92;
  margin-bottom: 16px;
}

.footer {
  margin-top: 76px;
  padding: 30px 0;
  border-top: 1px solid rgba(10, 37, 64, 0.08);
  background: #f8fbff;
}

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

.footer-logo {
  width: 180px;
}

.footer-meta {
  color: #3e6288;
  font-size: 0.92rem;
  display: grid;
  gap: 4px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s, transform 0.55s;
}

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

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(130deg, #25d366, #10b24d);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  z-index: 120;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1024px) {

  .hero-grid,
  .pricing-3,
  .portfolio-6,
  .testimonials-3 {
    grid-template-columns: 1fr 1fr;
  }

  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(10, 37, 64, 0.1);
    padding: 14px 4%;
    display: grid;
    gap: 12px;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
  }

  .hero {
    padding-top: 42px;
  }

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

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

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

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .cards-4,
  .stats-3,
  .pricing-3,
  .portfolio-6,
  .testimonials-3 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .nav .btn {
    width: 100%;
  }

  .brand img {
    width: 190px;
  }

  .footer-meta {
    text-align: left;
  }
}


:root {
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --card-border: rgba(10, 37, 64, 0.1);
  --page-bg-image: url("../kit_temp_1/backescuro.jpg");
  --page-bg-image-dark: url("../kit_temp_1/backescuro.jpg");
  --page-bg-opacity: 0.29;
  --page-bg-overlay: rgba(255, 255, 255, 0.20);
}

body {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: var(--white);
  transition: color 0.35s ease, background-color 0.35s ease;
}

body>header,
body>main,
body>footer {
  position: relative;
  z-index: 1;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--page-bg-opacity);
  transition: opacity 0.35s ease;
}

body::after {
  z-index: 0;
  background:
    radial-gradient(900px 400px at -10% -10%, rgba(79, 195, 247, 0.2), transparent 70%),
    radial-gradient(900px 420px at 110% -10%, rgba(29, 161, 242, 0.18), transparent 66%),
    var(--page-bg-overlay);
  transition: background 0.35s ease;
}

body:not(.dark-mode)::before {
  background:
    radial-gradient(900px 400px at -10% -10%, rgba(79, 195, 247, 0.2), transparent 70%),
    radial-gradient(900px 420px at 110% -10%, rgba(29, 161, 242, 0.18), transparent 66%),
    var(--page-bg-overlay);
  opacity: 1;
}

body:not(.dark-mode)::after {
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--page-bg-opacity);
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(10, 37, 64, 0.2);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.24s ease, border-color 0.3s ease, background 0.3s ease;
}

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

.theme-toggle::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 149, 0.62) 0%, rgba(255, 232, 149, 0) 70%);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.lamp {
  width: 24px;
  height: 26px;
  position: relative;
  display: block;
}

.lamp::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 20px;
  height: 16px;
  border-radius: 11px 11px 9px 9px;
  background: #d8e4f1;
  border: 1px solid rgba(10, 37, 64, 0.24);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lamp::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 11px;
  width: 2px;
  height: 8px;
  border-radius: 99px;
  background: rgba(10, 37, 64, 0.32);
}

.lamp-base {
  position: absolute;
  left: 6px;
  bottom: 1px;
  width: 12px;
  height: 8px;
  border-radius: 2px 2px 5px 5px;
  background: #7d8fa3;
  transition: background 0.3s ease;
}

.btn-secondary,
.trust-bar,
.card,
.price-card,
.portfolio-card,
.testimonial,
.faq details,
.why-item {
  background: var(--surface);
}

.card,
.price-card,
.portfolio-card,
.testimonial,
.faq details,
.why-item {
  border-color: var(--card-border);
}

.footer {
  background: var(--surface-soft);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.1), var(--surface) 42%);
}

body.dark-mode {
  --navy: #e8f3ff;
  --blue: #52b7ff;
  --light: #7fd3ff;
  --white: #081523;
  --text: #e4edf8;
  --muted: #a8bdd3;
  --bg-soft: rgba(9, 23, 36, 0.72);
  --surface: #102133;
  --surface-soft: #0d1c2c;
  --card-border: rgba(166, 197, 228, 0.2);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  --page-bg-image: var(--page-bg-image-dark);
  --page-bg-opacity: 0.25;
  --page-bg-overlay: rgba(4, 10, 18, 0.56);
}

body.dark-mode .header {
  background: rgba(8, 21, 35, 0.9);
  border-bottom-color: rgba(171, 205, 235, 0.22);
}

body.dark-mode .menu-toggle,
body.dark-mode .nav-links {
  color: #dbeaf9;
}

body.dark-mode .theme-toggle {
  border-color: rgba(189, 214, 235, 0.38);
  background: rgba(14, 31, 47, 0.9);
}

body.dark-mode .theme-toggle::after {
  opacity: 0.92;
  transform: scale(1);
}

body.dark-mode .lamp::before {
  background: #ffe18b;
  border-color: rgba(255, 239, 177, 0.95);
  box-shadow: 0 0 16px rgba(255, 225, 125, 0.66), 0 0 34px rgba(255, 225, 125, 0.28);
  animation: lamp-flicker 0.45s ease;
}

body.dark-mode .lamp-base {
  background: #8f98a4;
}

body.dark-mode .btn-secondary {
  color: #eaf4ff;
  border-color: rgba(168, 199, 228, 0.42);
  background: rgba(7, 22, 34, 0.8);
}

body.dark-mode .trust-bar {
  color: #d3e6fa;
}

body.dark-mode .stat {
  border-color: rgba(125, 198, 255, 0.52);
  background: rgba(26, 52, 76, 0.5);
}

body.dark-mode .price-card ul,
body.dark-mode .why-item,
body.dark-mode .testimonial p,
body.dark-mode .faq p,
body.dark-mode .footer-meta {
  color: #c3d6ea;
}

body.dark-mode .nav {
  background: rgba(8, 21, 35, 0.97);
  border-bottom-color: rgba(168, 198, 226, 0.2);
}

@keyframes lamp-flicker {
  0% {
    opacity: 0.3;
    filter: brightness(0.65);
  }

  45% {
    opacity: 1;
    filter: brightness(1.15);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

@media (max-width: 860px) {
  .theme-toggle {
    width: 42px;
    height: 42px;
  }
}