:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --bg-2: #10141a;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5f6f7;
  --muted: #c2c7cf;
  --accent: #9fe8ff;
  --accent-2: #62d0ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(109, 200, 255, 0.18), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(137, 255, 214, 0.12), transparent 45%),
              linear-gradient(180deg, #0b0d10 0%, #0e1218 40%, #0b0d10 100%);
}

.bg .glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(98, 208, 255, 0.35), transparent 60%);
  filter: blur(20px);
}

.bg .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 80px 0 40px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 2.6vw + 1.6rem, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 36px;
}

.hero-meta {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.hero-meta strong {
  display: block;
  font-size: 0.95rem;
}

.hero-meta span {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.card ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  padding-left: 18px;
}

.section {
  padding: 72px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
}

.section-head p {
  color: var(--muted);
  max-width: 640px;
}

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

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.testimonial {
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
}

.testimonial strong {
  color: var(--text);
  font-weight: 600;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.proof ul {
  display: grid;
  gap: 8px;
  color: var(--muted);
  padding-left: 18px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 16, 22, 0.8);
}

.step span {
  color: var(--accent);
  font-weight: 600;
}

.step h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
}

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

.process-notes {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(159, 232, 255, 0.08);
  border: 1px solid rgba(159, 232, 255, 0.2);
}

.checklist {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.check {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  padding-left: 44px;
}

.check::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--accent-2);
  font-weight: 600;
}

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

.faq details {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin-top: 10px;
}

.cta {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(159, 232, 255, 0.18), rgba(98, 208, 255, 0.08));
  border: 1px solid rgba(159, 232, 255, 0.25);
}

.cta h2 {
  font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem);
  margin-bottom: 16px;
}

.cta p {
  color: var(--muted);
  margin-bottom: 24px;
}


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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #001018;
  box-shadow: 0 14px 30px rgba(98, 208, 255, 0.3);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--muted);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  background: #20c763;
  color: #05150b;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(32, 199, 99, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1200;
}

.whatsapp-float::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0a1f10;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.glass {
  backdrop-filter: blur(12px);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 60px;
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    transition: none;
  }
}

/* =========================
   NAV (Header premium)
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 13, 16, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 14px 0;
  position: relative;
}

.nav.is-compact .nav-inner {
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.brand-text {
  font-weight: 650;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
}

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

.nav-links a {
  text-decoration: none;
  opacity: 0.9;
  padding: 10px 10px;
  border-radius: 12px;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta-desktop {
  display: inline-flex;
}

.nav-cta {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 999px;
}

.nav-toggle:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* Mobile */
@media (max-width: 980px) {
  .nav-toggle { display: none !important; }
  .nav-links { display: none !important; }

  .nav-cta-desktop { display: inline-flex !important; }

  .brand-text { font-size: 16px; white-space: nowrap; }

  .nav-cta-desktop {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* ===== Header mobile minimal premium ===== */
@media (max-width: 980px) {
  .nav-inner {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }

  /* escondemos o menu do topo no mobile */
  .nav-links { display: none !important; }

  /* CTA do topo continua (único elemento à direita) */
  .nav-cta-desktop {
    display: inline-flex !important;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* texto da marca mais compacto */
  .brand-text { font-size: 16px; white-space: nowrap; }
}

/* =========================
   FOOTER — Apple-like layout (SEM mudar cores do site)
   ========================= */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.footer-desc {
  margin: 0;
  opacity: 0.78;
  line-height: 1.55;
  max-width: 52ch;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.1px;
  opacity: 0.92;
}

.footer-mini {
  margin: 0 0 14px;
  opacity: 0.78;
  line-height: 1.55;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-cta {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: flex-start;
}

.footer-copy {
  margin: 0;
  opacity: 0.8;
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer {
    padding: 44px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-cta {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .footer {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
}

.whatsapp-float{
  z-index: 1200;
  bottom: calc(18px + env(safe-area-inset-bottom));
}

/* ===== Portfolio enhancements (sem mudar o tema do site) ===== */
.portfolio-card .portfolio-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.01em;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  opacity:0.9;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.portfolio-points{
  margin:14px 0 0;
  padding-left:18px;
  opacity:0.95;
}

.portfolio-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.portfolio-actions .btn{
  white-space:nowrap;
}

.portfolio-url{
  margin-top:14px;
  font-size:13px;
  opacity:0.75;
}

@media (max-width: 560px){
  .portfolio-actions{
    flex-direction:column;
    align-items:stretch;
  }
.portfolio-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* === Portfolio rail: equal-height slides + clean alignment === */
.home-portfolio .portfolio-rail{
  align-items: stretch;
}

.home-portfolio .rail-card{
  height: auto;
}

.home-portfolio .portfolio-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
}

.home-portfolio .portfolio-top{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 34px;
}

.home-portfolio .portfolio-card h3{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-portfolio .portfolio-card p{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-portfolio .portfolio-points{
  margin-top: 10px;
  flex: 1 1 auto;
}

.home-portfolio .portfolio-actions{
  margin-top: auto;
}

.home-portfolio .portfolio-points li{
  margin-bottom: 6px;
}

.portfolio-carousel .rail-card{
  scroll-snap-align: start;
  flex: 0 0 clamp(300px, 40vw, 440px);
}

@media (max-width: 860px) {
  .portfolio-carousel .rail-card{
    flex-basis: min(86vw, 420px);
  }
}

/* ===== Home portfolio rail (scroll-snap) ===== */
.home-portfolio {
  overflow: hidden;
}

.home-portfolio .portfolio-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px;
  margin: 0 -4px;
}

.home-portfolio .portfolio-rail:focus-visible {
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 6px;
}

.home-portfolio .rail-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(260px, 42vw, 420px);
}

.home-portfolio .portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-portfolio .portfolio-actions {
  margin-top: auto;
}

.home-portfolio .portfolio-rail::-webkit-scrollbar {
  height: 8px;
}

.home-portfolio .portfolio-rail::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
}

.home-portfolio .portfolio-rail::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
}

.home-portfolio .portfolio-rail::after {
  content: "";
  flex: 0 0 12px;
}

/* ===== Portfolio: respiro entre conteúdo e botões (sem mudar o tema) ===== */

.portfolio-card .portfolio-points{
  margin-bottom: 18px;
}

.portfolio-card p + .portfolio-actions{
  margin-top: 18px;
}

.portfolio-card .portfolio-actions{
  margin-top: 18px;
  padding-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.portfolio-card .portfolio-actions .btn{
  margin: 0;
}

@media (max-width: 560px){
  .portfolio-card .portfolio-actions{
    gap: 10px;
    margin-top: 20px;
  }

  .portfolio-card .portfolio-actions .btn{
    width: 100%;
    justify-content: center;
  }
}

/* ===== Home portfolio carousel controls ===== */
.home-portfolio .portfolio-carousel{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.carousel-btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn span{
  font-size: 22px;
  line-height: 1;
}

.carousel-btn:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.carousel-btn:focus-visible{
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 3px;
}

.home-portfolio .portfolio-rail{
  gap: 24px;
  padding: 10px 6px 18px;
}

@media (max-width: 720px){
  .home-portfolio .portfolio-carousel{
    grid-template-columns: 1fr;
  }

  .carousel-btn{
    display: none;
  }
}

.portfolio-thumb{
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  margin: 12px 0 6px;
}
