/* ============================================================
   HIPIXEL SOLUÇÕES WEB — style.css
   Organização:
   1. Tokens (variáveis CSS)
   2. Reset & Base
   3. Navegação
   4. Hero
   5. Mockup de browser (visual do hero)
   6. Marquee
   7. Seções (base compartilhada)
   8. Serviços
   9. Portfólio
   10. Processo
   11. Depoimentos
   12. CTA
   13. Footer
   14. WhatsApp flutuante
   15. Animação de reveal
   16. Responsivo
   ============================================================ */


/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  --orange:      #F26522;
  --orange-d:    #d4541a;
  --orange-bg:   #fff4ee;
  --orange-mid:  #fddcca;

  --gray-900:    #262626;
  --gray-700:    #404040;
  --gray-500:    #737373;
  --gray-200:    #e5e5e5;
  --gray-100:    #f5f5f5;
  --white:       #ffffff;

  --radius:      14px;
  --radius-lg:   22px;
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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


/* ── 3. NAVEGAÇÃO ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}

.logo-img {
  height: 112px;
  width: auto;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--gray-900);
}

.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s;
}

.btn-nav:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: 0.3s;
}


/* ── 4. HERO ────────────────────────────────────────────────── */
.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 108px 5vw 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

h1.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

h1.hero-title em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--gray-500);
  margin-top: 1.1rem;
  line-height: 1.78;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* Botões reutilizáveis */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 101, 34, 0.42);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Estatísticas do hero */
.hero-nums {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}

.num-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.num-val b {
  color: var(--orange);
  font-weight: 800;
}

.num-lbl {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}


/* ── 5. MOCKUP DE BROWSER ───────────────────────────────────── */
.hero-visual {
  position: relative;
}

.browser-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.browser-top {
  background: var(--gray-100);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--gray-200);
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.b-bar {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem;
  font-size: 0.72rem;
  color: var(--gray-500);
  font-family: monospace;
}

.browser-body {
  padding: 1.5rem;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.b-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.b-hero-bar { height: 9px;  background: var(--orange-mid); border-radius: 4px; width: 65%; }
.b-line     { height: 7px;  background: var(--gray-100);   border-radius: 4px; }
.b-line.s   { width: 50%; }
.b-cta-bar  { height: 30px; background: var(--orange);     border-radius: 100px; width: 40%; margin-top: 0.3rem; }

.b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.b-card {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.b-card-h { height: 8px; background: var(--orange-mid); border-radius: 3px; width: 60%; }
.b-card-l { height: 6px; background: var(--gray-200);   border-radius: 3px; }

/* Badges flutuantes */
.f-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

.f-badge .b-ico { font-size: 1.1rem; }

.f-badge .b-sub {
  font-size: 0.68rem;
  color: var(--gray-500);
  font-weight: 500;
}

.fb-seo  { bottom: -18px; left:  -18px; animation: fb 3s ease-in-out 0s   infinite alternate; }
.fb-conv { top:    -18px; right: -18px; animation: fb 3s ease-in-out 1.5s infinite alternate; }

@keyframes fb {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}


/* ── 6. MARQUEE ─────────────────────────────────────────────── */
.mq-wrap {
  background: var(--gray-900);
  overflow: hidden;
  padding: 0.95rem 0;
}

.mq-inner {
  display: flex;
  gap: 2.5rem;
  animation: mq 28s linear infinite;
  width: max-content;
}

.mq-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.mq-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── 7. SEÇÕES — BASE ───────────────────────────────────────── */
.sec {
  padding: 5rem 5vw;
}

.sec-in {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-alt  { background: var(--gray-100); }
.sec-dark { background: var(--gray-900); }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.7rem;
}

.sec-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

h2.sec-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--gray-900);
}

.sec-dark h2.sec-title    { color: var(--white); }
.sec-dark .sec-label      { color: var(--orange); }
.sec-dark .sec-label::before { background: var(--orange); }

.sec-sub {
  font-size: 0.98rem;
  color: var(--gray-500);
  max-width: 500px;
  margin-top: 0.7rem;
  line-height: 1.75;
}

.sec-dark .sec-sub { color: rgba(255, 255, 255, 0.45); }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}


/* ── 8. SERVIÇOS ────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

/* Linha laranja que desliza no hover */
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.svc-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
  border-color: var(--orange-mid);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-ico {
  width: 52px;
  height: 52px;
  background: var(--orange-bg);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.4rem;
}

.svc-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.55rem;
}

.svc-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.svc-pill {
  display: inline-block;
  margin-top: 1.1rem;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.26rem 0.75rem;
  border-radius: 100px;
}


/* ── 9. PORTFÓLIO ───────────────────────────────────────────── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.pc {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pc:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.pc.c7 { grid-column: span 7; }
.pc.c5 { grid-column: span 5; }
.pc.c6 { grid-column: span 6; }

.pt {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  position: relative;
  overflow: hidden;
}

.pt-lbl {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
}

.pi {
  padding: 1.3rem 1.5rem;
}

.pi-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.pi h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.pi p {
  font-size: 0.83rem;
  color: var(--gray-500);
}

.pi-result {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
}


/* ── 10. PROCESSO ───────────────────────────────────────────── */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.proc-step {
  background: var(--gray-900);
  padding: 2.3rem 1.6rem;
  transition: background 0.25s;
}

.proc-step:hover {
  background: #2e2e2e;
}

.proc-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(242, 101, 34, 0.15);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.proc-step h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.proc-step p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
}


/* ── 11. DEPOIMENTOS ────────────────────────────────────────── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tc {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  position: relative;
}

/* Aspas decorativas */
.tc::before {
  content: '"';
  position: absolute;
  top: 0.7rem;
  right: 1.4rem;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  color: var(--orange-mid);
  line-height: 1;
}

.tc-stars {
  color: var(--orange);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.tc-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.4rem;
}

.tc-auth {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tc-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--white);
}

.tc-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray-900);
}

.tc-role {
  font-size: 0.75rem;
  color: var(--gray-500);
}


/* ── 12. CTA ────────────────────────────────────────────────── */
.cta-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f26522, #c94a0d);
  border-radius: 28px;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Círculo decorativo de fundo */
.cta-box::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -200px;
  right: -80px;
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--white);
  position: relative;
}

.cta-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.1rem auto 0;
  max-width: 440px;
  line-height: 1.75;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  position: relative;
}

.btn-wh {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--white);
  color: var(--orange);
  padding: 0.9rem 2.1rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.93rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.btn-wh:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-wh-out {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-wh-out:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* ── 13. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  padding: 4rem 5vw 2rem;
}

.ft-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.ft-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.ft-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
  max-width: 270px;
}

.soc-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.soc-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.soc-ico:hover {
  border-color: var(--orange);
  background: rgba(242, 101, 34, 0.15);
}

.ft-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 1.1rem;
}

.ft-col ul { list-style: none; }

.ft-col li { margin-bottom: 0.6rem; }

.ft-col a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.2s;
}

.ft-col a:hover { color: var(--white); }

.ft-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.22);
}


/* ── 14. WHATSAPP FLUTUANTE ─────────────────────────────────── */
.wa {
  position: fixed;
  bottom: 1.7rem;
  right: 1.7rem;
  z-index: 300;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}


/* ── 15. REVEAL (animação ao rolar) ─────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rv.on {
  opacity: 1;
  transform: none;
}


/* ── 16. RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    padding-top: 96px;
    gap: 2.5rem;
  }

  .hero-visual { display: none; }

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

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

@media (max-width: 680px) {
  /* Menu mobile */
  nav ul { display: none; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 68px;
    background: var(--white);
    padding: 2rem 5vw;
    gap: 1.5rem;
    z-index: 190;
  }

  nav ul.open a {
    font-size: 1.05rem;
    color: var(--gray-700);
  }

  .hamburger { display: flex; }

  /* Portfólio em coluna única */
  .pc.c7,
  .pc.c5,
  .pc.c6 { grid-column: span 12; }

  /* Footer */
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ft-grid > :first-child { grid-column: span 2; }

  /* CTA */
  .cta-box { padding: 3rem 1.5rem; }

  /* Processo */
  .proc-grid { grid-template-columns: 1fr; }

  /* Depoimentos */
  .test-grid { grid-template-columns: 1fr; }
}
