:root {
  --cor-primaria: #03a4ed;
  --cor-primaria-escura: #021e3a;
  --cor-secundaria: #fe3f40;
  --cor-secundaria-escura: #c02e31;
  --cinza-fundo: #f2f6ff;
  --cinza-fundo-alt: #fff5f5;
  --cinza-titulo: #0b1220;
  --cinza-texto: #4a576f;
  --cor-borda: rgba(3, 164, 237, 0.18);
  --fonte-base: 'Inter', sans-serif;
}

body {
  font-family: var(--fonte-base);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #fff7f7 100%);
  color: var(--cinza-texto);
}

header.bg-white {
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 10;
  padding-top: 1.25rem;
}

.hero-section {
  position: relative;
  color: white;
  padding: 7.5rem 0 7rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(3, 164, 237, 0.4), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(254, 63, 64, 0.28), transparent 50%),
    linear-gradient(135deg, #0d1d44 0%, #102b67 45%, #176b9f 100%);
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-section::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 0) 0 0 / 120px 120px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 0) 0 0 / 120px 120px;
  mix-blend-mode: plus-lighter;
  animation: gridShift 12s linear infinite;
}

.hero-section::after {
  background:
    radial-gradient(circle at 15% 85%, rgba(3, 164, 237, 0.45), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(15, 70, 180, 0.35), transparent 60%);
  filter: blur(0);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.btn-hero {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
}

canvas {
  display: block;
}

.hero-content .btn-hero {
  background: var(--cor-secundaria);
  color: #fff;
  border: none;
  box-shadow: 0 12px 35px rgba(3, 164, 237, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(3, 164, 237, 0.55);
  background: var(--cor-secundaria-escura);
}

.navbar {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 18px 45px rgba(2, 30, 58, 0.12);
  backdrop-filter: blur(12px);
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
  color: var(--cinza-texto);
}

.nav-link:hover {
  color: var(--cor-secundaria) !important;
}

.text-primary {
  color: var(--cor-primaria) !important;
}

section {
  scroll-margin-top: 90px;
}

section:not(.hero-section) {
  padding: 5rem 0;
}

section:nth-of-type(even):not(.hero-section) {
  background: var(--cinza-fundo);
}

section:nth-of-type(odd):not(.hero-section) {
  background: var(--cinza-fundo-alt);
}

#why,
#faq {
  background: rgba(255, 255, 255, 0.92);
}

.testimonials-grid {
  position: relative;
}

.testimonials-grid::before {
  content: "";
  position: absolute;
  inset: -6rem 20%;
  background: radial-gradient(circle, rgba(3, 164, 237, 0.18), transparent 65%);
  filter: blur(12px);
  z-index: 0;
}

.testimonial {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2.25rem 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(3, 164, 237, 0.18);
  box-shadow: 0 25px 60px rgba(2, 30, 58, 0.12);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 80px rgba(2, 30, 58, 0.2);
  border-color: rgba(254, 63, 64, 0.35);
}

.testimonial__icon {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(254, 63, 64, 0.85);
  text-shadow: 0 8px 24px rgba(254, 63, 64, 0.3);
}

.testimonial__text {
  color: var(--cinza-texto);
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial__author {
  margin-top: auto;
  font-weight: 600;
  letter-spacing: 0.04rem;
  color: var(--cinza-titulo);
  text-transform: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial__author::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, rgba(3, 164, 237, 0.5) 0%, rgba(254, 63, 64, 0.8) 100%);
  border-radius: 1px;
}

.service-card {
  border-radius: 1.25rem;
  transition: all 0.35s ease-in-out;
  padding: 2.25rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 255, 0.7));
  border: 1px solid var(--cor-borda);
  box-shadow: 0 20px 45px rgba(2, 30, 58, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 65px rgba(2, 30, 58, 0.18);
  border-color: rgba(254, 63, 64, 0.35);
}

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

.accordion-button {
  font-weight: 600;
  background: rgba(3, 164, 237, 0.08);
  color: var(--cinza-titulo);
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--cor-primaria), rgba(254, 63, 64, 0.85));
  color: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: rgba(3, 164, 237, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 164, 237, 0.25);
}

.accordion-body {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(3, 164, 237, 0.08);
  border-top: none;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--cor-primaria);
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--cinza-titulo);
}

h1.section-title,
h2.section-title {
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

.site-footer {
  background: radial-gradient(circle at top left, rgba(3, 164, 237, 0.25), transparent 55%),
    linear-gradient(160deg, #021325 0%, #050810 100%);
  color: white;
  border-top: 1px solid rgba(3, 164, 237, 0.15);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--cor-secundaria);
}

.site-footer img {
  filter: drop-shadow(0 10px 24px rgba(2, 30, 58, 0.4));
}

.image {
  border-radius: 20px;
  max-width: 100%;
  box-shadow: 0 30px 55px rgba(2, 30, 58, 0.12);
}

.imageCircled {
  border-radius: 24px;
  max-width: 100%;
  height: 92px;
  margin: auto;
  background: rgba(3, 164, 237, 0.08);
  padding: 0.75rem;
}

@keyframes gridShift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 120px 120px, 120px 120px;
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
