/* =========================================================
   OFICINA DO SMARTPHONE JFC - LANDING PAGE
   Assistencia tecnica especializada Apple - Aracaju/SE
   ========================================================= */

:root {
  --ink: #0b0b0d;
  --ink-soft: #17171b;
  --paper: #f6f5f1;
  --white: #ffffff;
  --graphite: #1c1d20;
  --steel: #6d707c;
  --line: #e6e4dd;
  --line-dark: #2a2a2f;
  --accent: #3b6ef6;
  --accent-dark: #2451d6;
  --accent-soft: rgba(59, 110, 246, 0.12);
  --ok: #33c481;

  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- eyebrow / titulo de secao ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}

.section-head p {
  color: var(--steel);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0;
}

section { position: relative; }
.section-pad { padding: 96px 0; }

.dark-surface { background: var(--ink); color: var(--white); }
.dark-surface .section-head p { color: #a9abb5; }
.dark-surface .section-head h2 { color: var(--white); }

/* ---------- botoes ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(59, 110, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(59, 110, 246, 0.65); }

.btn-ghost-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

.btn-ghost-light {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost-light:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: 13.5px; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- corner brackets (assinatura visual) ---------- */

.bracket-frame {
  position: relative;
  padding: 14px;
}
.bracket-frame::before,
.bracket-frame::after,
.bracket-frame span.bk-tr,
.bracket-frame span.bk-bl {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
  opacity: 0.85;
}
.bracket-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.bracket-frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.bracket-frame span.bk-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.bracket-frame span.bk-bl { bottom: 0; left: 0; border-right: none; border-top: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  background: rgba(11, 11, 13, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.35s ease, padding 0.35s ease, border-color .35s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(11, 11, 13, 0.86);
  border-bottom-color: rgba(255,255,255,0.1);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 30px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 168px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,110,246,0.35), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c7ff;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(180deg, transparent 62%, rgba(59,110,246,0.35) 62%);
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: #c2c4cd;
  max-width: 500px;
  margin: 0 0 38px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.hero-chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-chip strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}
.hero-chip span {
  font-size: 13.5px;
  color: #9c9fac;
}

/* diagnostic card (elemento assinatura) */

.diagnostic-card {
  position: relative;
}

.diagnostic-panel {
  position: relative;
  background: linear-gradient(160deg, #1a1b20, #0f1013);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.diagnostic-panel .bracket-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.diagnostic-panel img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.scan-line {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgba(59,110,246,0.7);
  animation: scan 3.2s ease-in-out infinite;
}

@keyframes scan {
  0% { top: 16px; opacity: 0; }
  10% { opacity: 1; }
  50% { top: calc(100% - 16px); }
  90% { opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

.diagnostic-tag {
  position: absolute;
  top: 34px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,11,13,0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  z-index: 3;
}
.diagnostic-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(51,196,129,0.25);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.diagnostic-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 0 4px;
  font-size: 12.5px;
  color: #8b8e9a;
}
.diagnostic-caption strong { color: var(--white); font-weight: 700; }

/* ---------- diferenciais ---------- */

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

.card-diferencial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.card-diferencial:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(11,11,13,0.25);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.card-diferencial h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.card-diferencial p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}

/* ---------- a loja / galeria ---------- */

.loja-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 190px);
  gap: 16px;
}
.loja-gallery .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.loja-gallery .g-item:nth-child(2) { grid-column: span 2; }
.loja-gallery .g-item:nth-child(3) { grid-column: span 1; }
.loja-gallery .g-item:nth-child(4) { grid-column: span 1; }
.loja-gallery .g-item:nth-child(5) { grid-column: span 2; }

.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.img-placeholder {
  height: 100%;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(135deg, #1d1e23, #1d1e23 10px, #202127 10px, #202127 20px);
  color: #7d808c;
  text-align: center;
  padding: 12px;
}
.img-placeholder .ph-icon { width: 26px; height: 26px; opacity: 0.7; }
.img-placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.img-placeholder small {
  font-size: 10px;
  color: #5c5f6a;
}

/* ---------- servicos (iphone / macbook) ---------- */

.servico-section .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.servico-media { position: sticky; top: 120px; }
.servico-media .bracket-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.servico-media img { width: 100%; border-radius: 6px; }

.servico-lista {
  display: grid;
  gap: 4px;
}

.servico-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.servico-item:first-child { padding-top: 4px; }
.servico-item:last-child { border-bottom: none; }

.servico-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  padding-top: 3px;
}

.servico-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.servico-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel);
}

.servico-macbook-grid .servico-lista {
  grid-template-columns: 1fr;
}

/* ---------- comprar (banner) ---------- */

.comprar {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.comprar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(59,110,246,0.35), transparent 55%);
  pointer-events: none;
}
.comprar-text { position: relative; z-index: 1; }
.comprar-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}
.comprar-text p {
  color: #c2c4cd;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 460px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.badge {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e6e7ec;
}

.comprar-media { position: relative; z-index: 1; }
.comprar-media .img-placeholder { border-radius: var(--radius); aspect-ratio: 4/3; }

/* ---------- contato ---------- */

.contato-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: stretch;
}

.contato-info {
  display: grid;
  gap: 26px;
  align-content: start;
}

.info-block h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.info-block p, .info-block a {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.info-block a:hover { color: var(--accent); }

.hours-list { display: grid; gap: 6px; margin-top: 4px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  max-width: 280px;
  color: var(--graphite);
}
.hours-list li strong { font-weight: 700; }

.contato-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
}
.contato-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.contato-cta-final {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contato-cta-final h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #9c9fac;
  padding: 56px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.footer-top .brand img { height: 26px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 600; color: #c2c4cd; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a { color: #c2c4cd; font-weight: 600; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- whatsapp flutuante ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 600;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(51,196,129,0.6);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }
.whatsapp-float .ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0.5;
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 150px 0 80px; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .servico-section .wrap { grid-template-columns: 1fr; }
  .servico-media { position: static; margin-bottom: 30px; }
  .comprar { grid-template-columns: 1fr; padding: 40px 28px; }
  .contato-grid { grid-template-columns: 1fr; }
  .contato-map { min-height: 320px; }
  .contato-map iframe { min-height: 320px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .loja-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 150px);
  }
  .loja-gallery .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .loja-gallery .g-item:nth-child(5) { grid-column: span 2; }
  .section-pad { padding: 70px 0; }
  .contato-cta-final { flex-direction: column; align-items: flex-start; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-ctas .btn, .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .hero-chips { gap: 20px; }
}

/* menu mobile */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 480;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}
.mobile-nav .btn { margin-top: 10px; }
