/* ===========================================================
   JUQUIANET — folha de estilos principal
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f2f5fb;
  --card: #ffffff;
  --card-border: #e2e7f1;
  --blue: #2b519c;
  --blue-light: #3f6cd6;
  --blue-dark: #172c55;
  --gold: #8f6a17;
  --gold-light: #e9c368;
  --gold-mid: #c8992f;
  --white: #ffffff;
  --text: #12172a;
  --text-muted: #5b6478;
  --whatsapp: #25d366;
  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 14px 34px rgba(23, 44, 85, 0.12);
  --shadow-soft: 0 4px 16px rgba(23, 44, 85, 0.06);
  --font-heading: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.text-center { text-align: center; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1200;
  box-shadow: 0 8px 20px rgba(224, 178, 63, 0.25);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(224, 178, 63, 0.4); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4); }

.btn-outline {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { height: 42px; width: auto; border-radius: 8px; }
.brand span { color: var(--gold); }

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

.main-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--bg-alt);
  color: var(--text);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse at top right, rgba(43, 81, 156, 0.35), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(224, 178, 63, 0.12), transparent 45%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, var(--blue-light), transparent 70%);
}
.hero::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  animation-delay: -4.5s;
}
.hero > .container { position: relative; z-index: 1; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}

/* subtle dotted texture for alternating sections */
.dotted-bg {
  position: relative;
  background-image: radial-gradient(rgba(43, 81, 156, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-media img {
  max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(43, 81, 156, 0.45));
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(43, 81, 156, 0.5), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

/* dark "spotlight" frame so the mascot art (which has a dark backdrop
   baked into the image) reads as an intentional badge on light sections */
.mascot-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(160deg, #16223f, #070a12);
  box-shadow: 0 25px 50px rgba(23, 44, 85, 0.28);
}
.mascot-frame img { filter: none; max-width: 280px; }
.hero-media .mascot-frame img { max-width: 260px; }

/* ---------- feature grid ---------- */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

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

.feature-card,
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark) 65%, var(--gold) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(43, 81, 156, 0.35);
  transition: transform 0.3s ease;
}
.feature-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ---------- plan cards ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--blue-light); }

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(224, 178, 63, 0.08), var(--card) 40%);
  animation: featuredGlow 3.2s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(224, 178, 63, 0.35), 0 18px 40px rgba(224, 178, 63, 0.12); }
  50% { box-shadow: 0 0 0 1px rgba(224, 178, 63, 0.7), 0 22px 50px rgba(224, 178, 63, 0.28); }
}
.plan-card.featured:hover { animation-play-state: paused; }

.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1200;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.plan-speed {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-speed small { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); }

.plan-price {
  margin: 18px 0 22px;
}
.plan-price .amount {
  font-size: 2rem;
  font-weight: 800;
}
.plan-price .amount sup { font-size: 1.1rem; }
.plan-price .period { color: var(--text-muted); font-size: 0.9rem; }
.plan-price .note { color: var(--gold); font-size: 0.8rem; margin-top: 4px; }

.plan-features {
  text-align: left;
  margin: 0 0 24px;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--card-border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.plan-features li:first-child { border-top: none; }
.plan-features li .check { color: var(--gold); font-weight: 800; }

/* ---------- testimonials ---------- */
.rating-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 28px;
  max-width: 460px;
  margin: 0 auto 40px;
}
.rating-box .big {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
}
.rating-box .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; }
.rating-box small { color: var(--text-muted); }

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text); }
.testimonial-card .author { color: var(--text-muted); font-size: 0.85rem; font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 20px 45px rgba(23, 44, 85, 0.25);
}
.cta-band h2 { margin-bottom: 8px; color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---------- about page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--card-border);
  transition: transform 0.25s ease;
}
.value-list li:hover { transform: translateX(6px); }
.value-list li:first-child { border-top: none; }
.value-list .num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 16px rgba(224, 178, 63, 0.3);
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--card-border);
}
.contact-item:first-child { border-top: none; }
.contact-item .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark) 65%, var(--gold) 130%);
  box-shadow: 0 8px 18px rgba(43, 81, 156, 0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.contact-item:hover .icon { transform: scale(1.08) rotate(-4deg); }
.contact-item h4 { margin: 0 0 4px; font-size: 0.95rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.contact-item a:hover { color: var(--gold); }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.15); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 8px 0; border-top: 1px solid var(--card-border); font-size: 0.92rem; }
.hours-table td:first-child { color: var(--text); font-weight: 600; }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; border-radius: 8px; }
.footer-brand span { font-weight: 800; }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- page banner (subpages) ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(43, 81, 156, 0.3), transparent 60%);
  border-bottom: 1px solid var(--card-border);
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  filter: blur(70px);
  opacity: 0.35;
  animation: blobFloat 9s ease-in-out infinite;
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner p { max-width: 560px; margin: 0 auto; }

/* ---------- wave divider ---------- */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- floating action stack ---------- */
.float-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.is-whatsapp {
  background: var(--whatsapp);
  animation: pulse 2.4s infinite;
}
.float-btn.is-call {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1200;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .container,
  .about-hero,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 220px; }
  .grid-3, .plans-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 12px 24px 20px;
  }
  .grid-3, .plans-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  section { padding: 52px 0; }
}
