/* ===================================================================
   RVL SOLUTIONS — folha de estilo principal
   Paleta:  charcoal #0d1420 · azul royal #1e56d6 · branco #ffffff
   Tipografia:  Space Grotesk (títulos) + Inter (texto)
   =================================================================== */

:root {
  --ink:        #0d1420;
  --ink-2:      #141d2e;
  --ink-line:   #26314a;
  --royal:      #1e56d6;
  --royal-deep: #1740a6;
  --royal-tint: #eef3fd;
  --paper:      #ffffff;
  --paper-2:    #f5f7fc;
  --text:       #1b2434;
  --text-mut:   #5c6678;
  --text-inv:   #e8ecf5;

  --radius:     14px;
  --radius-sm:  9px;
  --wrap:       1180px;
  --cut:        22px;                 /* recorte diagonal — eco do "V" da logo */
  --shadow:     0 18px 44px -18px rgba(13, 20, 32, .28);
  --shadow-sm:  0 8px 22px -12px rgba(13, 20, 32, .22);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;                       /* trava rolagem lateral (menu off-canvas) */
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 700;
}

::selection { background: var(--royal); color: #fff; }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 104px; }
.section-services { background: var(--paper); }
.section-why {
  background: var(--ink);
  color: var(--text-inv);
}
.section-portfolio { background: var(--paper-2); }
.section-contact {
  background:
    radial-gradient(70% 60% at 12% 0%, rgba(30, 86, 214, .16), transparent 60%),
    var(--ink);
  color: var(--text-inv);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head-center {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.section-why .section-head h2,
.section-reviews .section-head h2 { color: #fff; }
.section-sub {
  margin-top: 14px;
  color: var(--text-mut);
  font-size: 1.05rem;
}
.section-why .section-sub { color: #9aa6bf; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.eyebrow-light { color: #fff; }
.slash {
  color: var(--royal);
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  margin-right: 6px;
  font-weight: 700;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--royal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { box-shadow: 0 12px 26px -12px rgba(30, 86, 214, .6); }
.btn-primary:hover { background: var(--royal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfd7e6;
}
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }

.btn-on-blue { background: #fff; color: var(--royal); }
.btn-on-blue:hover { background: var(--ink); color: #fff; }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: padding .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--ink-line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  transition: padding .25s var(--ease);
}
.site-header.is-scrolled .header-inner { padding-block: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  padding-right: 13px;
  border-right: 2px solid #3a465f;
}
.brand-glyph {
  font-family: var(--font-display), "Segoe UI", sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .22em;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav > a:not(.nav-cta) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: #c8cfdd;
  padding-block: 6px;
  position: relative;
  transition: color .18s var(--ease);
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--royal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav > a:not(.nav-cta):hover { color: #fff; }
.nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 95;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(70% 60% at 82% -10%, rgba(30, 86, 214, .3), transparent 60%),
    linear-gradient(165deg, #0b1220 0%, #0f1c33 55%, #0b1220 100%);
  color: var(--text-inv);
  padding-block: 96px 110px;
  overflow: hidden;
}

/* feixes de luz diagonais que atravessam o hero lentamente */
.hero-rays {
  position: absolute;
  inset: -30% -18%;
  z-index: -1;
  background:
    linear-gradient(108deg, transparent 22%, rgba(150, 180, 250, .16) 30%, transparent 37%),
    linear-gradient(108deg, transparent 40%, rgba(37, 99, 235, .42) 50%, transparent 61%),
    linear-gradient(108deg, transparent 58%, rgba(150, 180, 250, .14) 66%, transparent 73%),
    linear-gradient(108deg, transparent 74%, rgba(37, 99, 235, .26) 84%, transparent 95%);
  filter: blur(24px);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation: hero-sweep 26s ease-in-out infinite alternate;
}
@keyframes hero-sweep {
  from { transform: translate3d(-7%, 0, 0); }
  to   { transform: translate3d(7%, 0, 0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  margin-bottom: 22px;
  color: #fff;
}
.hero-copy .lead {
  font-size: 1.16rem;
  color: #a9b4c9;
  max-width: 34ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.hero .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
}
.hero-trust {
  font-size: .9rem;
  color: #8b97ae;
  font-family: var(--font-display);
  font-weight: 500;
}

/* browser mockup — assinatura visual (recorte diagonal do "V") */
.hero-visual { position: relative; }
.browser {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--ink);
}
.browser-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #46536e;
}
.browser-url {
  margin-left: 12px;
  font-family: var(--font-display);
  font-size: .78rem;
  color: #aab4c8;
  background: #1e2942;
  padding: 4px 14px;
  border-radius: 20px;
}
.browser-body { padding: 26px; }
.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.mock-logo { width: 46px; height: 12px; background: var(--royal); border-radius: 3px; }
.mock-links { display: flex; gap: 8px; }
.mock-links i { width: 26px; height: 7px; background: #dde3ee; border-radius: 3px; display: block; }
.mock-h1 { width: 78%; height: 20px; background: var(--ink); border-radius: 5px; margin-bottom: 12px; }
.mock-p { width: 100%; height: 9px; background: #e2e7f0; border-radius: 4px; margin-bottom: 8px; }
.mock-p.short { width: 55%; margin-bottom: 22px; }
.mock-btn { display: block; width: 128px; height: 34px; background: var(--royal); border-radius: 7px; margin-bottom: 28px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards span {
  height: 60px;
  background: var(--royal-tint);
  border: 1px solid #dbe5fb;
  border-radius: 8px;
  display: block;
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 18px;
  display: grid;
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--royal);
}
.hero-badge span { font-size: .8rem; color: var(--text-mut); }

/* ===================================================================
   GRIDS / CARDS
   =================================================================== */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #d3ddf6;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--royal-tint);
  color: var(--royal);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-mut); font-size: .96rem; }

/* ===================================================================
   POR QUE / DIFERENCIAIS
   =================================================================== */
.pain-grid { margin-bottom: 64px; }
.pain-card {
  background: #10192b;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.pain-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(30, 86, 214, .18);
  color: #7ea3f5;
  margin-bottom: 18px;
}
.pain-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pain-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.pain-card p { color: #9aa6bf; font-size: .95rem; }

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
}
.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--ink-line);
}
.why-list .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--ink-line); }
.why-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(30, 86, 214, .16);
  color: #7ea3f5;
}
.why-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-text h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.why-text p { color: #9aa6bf; font-size: .95rem; }

/* ===================================================================
   PLANOS
   =================================================================== */
.section-pricing { background: var(--paper); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border: 2px solid var(--royal);
  box-shadow: var(--shadow);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--royal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 8px; }
.plan-desc { color: var(--text-mut); font-size: .95rem; margin-bottom: 22px; }
.plan-anchor { color: var(--text-mut); font-size: .9rem; }
.plan-anchor s { opacity: .8; }
.plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
}
.plan-terms {
  display: inline-block;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--royal);
  background: var(--royal-tint);
  border: 1px solid #dbe5fb;
  padding: 4px 12px;
  border-radius: 20px;
}
.plan-list {
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.plan-list li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: var(--text);
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--royal-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e56d6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-list .plan-hl { color: var(--royal); font-weight: 600; }
.plan-guarantee {
  font-size: .84rem;
  color: var(--text-mut);
  background: var(--paper-2);
  border: 1px solid #e7ebf3;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.plan-guarantee strong { color: var(--text); }
.plan .btn { margin-top: auto; }

/* ===================================================================
   FAQ
   =================================================================== */
.section-faq { background: var(--paper-2); }
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--royal);
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-mut);
  font-size: .96rem;
}

/* ===================================================================
   DEPOIMENTOS (marquee)
   =================================================================== */
.section-reviews {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(30, 86, 214, .12), transparent 60%),
    var(--ink);
  color: var(--text-inv);
  overflow: hidden;
}
.section-reviews .section-head { margin-bottom: 48px; }

.marquee {
  display: flex;
  gap: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  animation: marquee-scroll 64s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 20px)); }
}

.review {
  flex-shrink: 0;
  width: clamp(270px, 78vw, 350px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #10192b;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review-stars {
  color: #f5a623;
  font-size: .9rem;
  letter-spacing: 3px;
}
.review-quote {
  color: #c6cfe0;
  font-size: .95rem;
  line-height: 1.6;
  flex-grow: 1;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(30, 86, 214, .2);
  color: #7ea3f5;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
}
.review-person strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
}
.review-person em {
  display: block;
  color: #7ea3f5;
  font-style: normal;
  font-size: .82rem;
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ===================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   =================================================================== */
.wpp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .18s var(--ease);
}
.wpp-float:hover { transform: scale(1.06); }
.wpp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ===================================================================
   PORTFÓLIO
   =================================================================== */
.portfolio-grid .case {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.portfolio-grid .case:not(.case-soon)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 32, .05), rgba(13, 20, 32, .82));
  opacity: .55;
  transition: opacity .28s var(--ease);
}
.portfolio-grid .case:hover::after { opacity: .9; }

.case-a {
  background-image:
    linear-gradient(135deg, rgba(30, 86, 214, .18), rgba(13, 20, 32, .12)),
    url("../img/preview-imperiosprata.jpg");
  background-position: top center;
}

/* placeholders "em breve" — projetos ainda em construção */
.case-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: repeating-linear-gradient(135deg, #eef1f8 0 12px, #e6ebf5 12px 24px);
  border: 1px dashed #c7d2e8;
  cursor: default;
}
.case-soon-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dbe5fb;
  color: var(--royal);
  box-shadow: var(--shadow-sm);
}
.case-soon-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: gear-spin 7s linear infinite;
}
.case-soon-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mut);
}
@keyframes gear-spin { to { transform: rotate(360deg); } }

.case-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 24px;
  display: grid;
  gap: 3px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.portfolio-grid .case:hover .case-overlay,
.portfolio-grid .case:focus-visible .case-overlay { transform: translateY(0); opacity: 1; }
.case-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.case-service {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9dc0ff;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band {
  background:
    linear-gradient(120deg, var(--royal), var(--royal-deep));
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 64px;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 22ch; }
.cta-inner p { color: rgba(255, 255, 255, .85); margin-top: 10px; }
.cta-inner .btn { flex-shrink: 0; }

/* ===================================================================
   CONTATO
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 60px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: #fff;
}
.contact-copy h2 .accent { color: #7ea3f5; }
.contact-intro {
  margin-top: 20px;
  color: #9aa6bf;
  font-size: 1.02rem;
  max-width: 40ch;
}
.contact-wpp {
  margin-top: 28px;
  max-width: 100%;
  text-align: center;
}

.contact-perks {
  list-style: none;
  margin-top: 34px;
  display: grid;
  gap: 2px;
}
.contact-perks li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-inv);
}
.contact-perks li:last-child { border-bottom: 1px solid var(--ink-line); }
.contact-perks span {
  color: var(--royal);
  font-size: .82rem;
  letter-spacing: .1em;
}

.contact-form {
  background: #10192b;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  gap: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-row > * { min-width: 0; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .86rem;
  color: var(--text-inv);
}
.field .req { color: var(--royal); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: #fff;
  background: #0b1220;
  border: 1px solid #2b3852;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #6b7896; }
.field select:invalid { color: #6b7896; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237ea3f5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field select option { color: #fff; background: #10192b; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(30, 86, 214, .18);
}
.field textarea { resize: vertical; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .88rem;
  color: #9aa6bf;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 1px solid #2b3852;
  border-radius: 6px;
  background: #0b1220;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.consent input::before {
  content: "";
  width: 10px; height: 10px;
  transform: scale(0);
  transition: transform .16s var(--ease);
  box-shadow: inset 1em 1em #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.consent input:checked {
  background: var(--royal);
  border-color: var(--royal);
}
.consent input:checked::before { transform: scale(1); }
.consent input:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }

.form-note { font-size: .8rem; color: #7b879f; text-align: center; }
.form-note a { color: #7ea3f5; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: #9aa6bf;
  padding-top: 72px;
  border-top: 1px solid var(--ink-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links, .footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-links a, .footer-contact > a {
  color: #9aa6bf;
  font-size: .95rem;
  width: fit-content;
  transition: color .16s var(--ease);
}
.footer-links a:hover, .footer-contact > a:hover { color: #fff; }
.footer-place { font-size: .95rem; color: #9aa6bf; }

.social { display: flex; gap: 12px; margin-top: 6px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ink-line);
  color: #fff;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.social a svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover { background: var(--royal); transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: .85rem;
}
.footer-legal { display: flex; gap: 26px; }
.footer-legal a {
  color: var(--royal);
  transition: color .16s var(--ease);
}
.footer-legal a:hover { color: #7ea3f5; }

/* ===================================================================
   PÁGINAS LEGAIS (Termos de Uso / Política de Privacidade)
   =================================================================== */
.legal-hero {
  background:
    radial-gradient(60% 100% at 88% 0%, rgba(30, 86, 214, .1), transparent 60%),
    var(--ink);
  color: var(--text-inv);
  padding-block: 84px 64px;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin: 12px 0 14px;
}
.legal-hero p { color: #9aa6bf; max-width: 60ch; }
.legal-hero a { color: #7ea3f5; }

.legal {
  padding-block: 72px 96px;
  background: var(--paper);
}
.legal-body {
  max-width: 760px;
  margin-inline: auto;
}
.legal-body h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
  padding-top: 4px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}
.legal-body p,
.legal-body li {
  color: var(--text-mut);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul,
.legal-body ol { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.legal-body a { color: var(--royal); }
.legal-body strong { color: var(--text); }
.legal-updated {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7ebf3;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--royal);
}
.legal-back:hover { color: var(--royal-deep); }

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal]:nth-child(2) { transition-delay: .06s; }
[data-reveal]:nth-child(3) { transition-delay: .12s; }
[data-reveal]:nth-child(4) { transition-delay: .18s; }

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy .lead { max-width: 46ch; }
  .hero-visual { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; gap: 0; }
  .why-list .why-item:last-child { border-bottom: 1px solid var(--ink-line); }
  .pricing-grid { max-width: 460px; grid-template-columns: 1fr; }
  .plan-featured { order: -1; }
}

@media (max-width: 760px) {
  .section { padding-block: 72px; }
  .hero { padding-block: 64px 80px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--ink);
    border-left: 1px solid var(--ink-line);
    padding: 96px 28px 40px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav > a:not(.nav-cta) { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--ink-line); }
  .nav-cta { margin-top: 16px; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .why-item { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .footer-legal { gap: 20px; }
}

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 460px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .btn-lg { padding: 14px 22px; }
  .contact-wpp { width: 100%; }
}

/* ===================================================================
   MOVIMENTO REDUZIDO
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-rays { animation: none !important; transform: none; }
}
