/* =========================================================
   J7 Negócios | CSS puro (sem Tailwind nem bibliotecas)
   Índice:
   1. Cores e variáveis        6. Simulador
   2. Reset                    7. Serviços
   3. Base e utilidades        8. Sobre
   4. Botões                   9. Contato e rodapé
   5. Cabeçalho e hero        10. Botão flutuante do WhatsApp
   ========================================================= */


/* 1. CORES E VARIÁVEIS ------------------------------------ */
:root {
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --sunken: #E8EFF7;
  --fg: #0B1F36;
  --muted: #4B5D72;
  --line: #D5DFEB;

  --blue: #005CA9;          /* azul corporativo */
  --blue-text: #005CA9;
  --orange: #F37021;        /* laranja de destaque */
  --orange-text: #B34608;   /* laranja legível em textos pequenos */
  --on-orange: #101B2B;

  --hero: #005CA9;
  --hero-fg: #FFFFFF;
  --hero-muted: #D3E6F7;
  --footer: #00315C;
  --focus: #F37021;
  --shadow: 0 1px 2px rgba(11,31,54,.06), 0 8px 24px rgba(11,31,54,.07);

  --font-display: Sora, ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

/* Tema escuro automático (segue o celular/computador do visitante) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08121F; --surface: #0F1D2F; --sunken: #0B1726;
    --fg: #EAF1F8; --muted: #9DB0C5; --line: #1F3249;
    --blue-text: #6DB4EE; --orange-text: #FF9A5C;
    --hero: #00386C; --footer: #050D18;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}


/* 2. RESET ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }


/* 3. BASE E UTILIDADES ------------------------------------ */
html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

/* Largura máxima + margem lateral de 16px */
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.section { padding-block: 4rem; }
.section[id] { scroll-margin-top: 5rem; }
.section-alt { background: var(--sunken); }
@media (min-width: 640px) { .section { padding-block: 5rem; } }

.section-head { max-width: 42rem; }
.section-title { margin-top: .5rem; font-size: 1.875rem; line-height: 1.2; font-weight: 700; }
.section-sub { margin-top: .75rem; color: var(--muted); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-text);
}

.ico {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 1.125rem; height: 1.125rem; }
.sprite { position: absolute; width: 0; height: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
}
.link { color: var(--blue-text); font-weight: 600; }
.optional { color: var(--muted); font-weight: 500; }


/* 4. BOTÕES ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: .75rem;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 2.5rem; padding: .45rem 1rem; font-size: .92rem; }

.btn-accent { background: var(--orange); color: var(--on-orange); box-shadow: 0 6px 18px rgba(243,112,33,.35); }
.btn-accent:hover { box-shadow: 0 10px 24px rgba(243,112,33,.45); }

.btn-ghost { background: transparent; color: var(--hero-fg); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

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

.btn-wa { background: #25D366; color: #07230F; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn-wa:hover { box-shadow: 0 10px 24px rgba(37,211,102,.45); }


/* 5. CABEÇALHO E HERO ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .75rem; }

.brand { display: flex; align-items: baseline; gap: .5rem; color: var(--fg); }
.brand-mark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--blue-text); }
.brand-mark span { display: inline-block; color: var(--orange); transform: skewX(-10deg); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }

.nav { display: none; align-items: center; gap: 1.5rem; font-size: .875rem; font-weight: 600; }
.nav a:hover { color: var(--blue-text); }
@media (min-width: 768px) { .nav { display: flex; } }

/* O corte inclinado lembra o "7" do logo; a faixa laranja fica por baixo */
.hero-wrap { position: relative; background: var(--bg); }
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3.5rem));
}
.hero {
  position: relative; overflow: hidden;
  background: var(--hero); color: var(--hero-fg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .7rem), 0 calc(100% - 4.2rem));
  padding-block: 3.5rem 7rem;
}
.hero::after {
  content: ""; position: absolute; right: -6rem; top: -4rem; width: 22rem; height: 30rem;
  background: rgba(255,255,255,.05); transform: skewX(-18deg); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

.hero-copy { min-width: 0; }
.hero .eyebrow { color: #FFB787; }
.hero-title { margin-top: .75rem; font-size: 2.25rem; line-height: 1.08; font-weight: 800; color: var(--hero-fg); }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
.lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: var(--hero-muted); }

.hero-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: .85rem; font-weight: 600; color: var(--hero-fg);
}

.hero-art { position: relative; min-width: 0; padding-bottom: 1.5rem; }
.plaque {
  max-width: 22rem; margin-inline: auto; padding: .9rem;
  background: #E9E5E5; border-radius: 1.25rem; transform: rotate(-2deg);
  box-shadow: 0 24px 48px rgba(0,20,48,.35);
}
.plaque img { width: 100%; height: auto; border-radius: .8rem; }
.stamp {
  position: absolute; right: .25rem; bottom: -1.1rem; transform: rotate(3deg);
  background: var(--orange); color: var(--on-orange); font-weight: 800; font-size: .82rem;
  padding: .5rem .9rem; border-radius: .6rem; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}


/* 6. SIMULADOR -------------------------------------------- */
.sim-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .sim-grid { grid-template-columns: 1.1fr .9fr; } }

.panel { min-width: 0; padding: 1.25rem; }
@media (min-width: 640px) { .panel { padding: 1.75rem; } }
@media (min-width: 1024px) { .panel-sticky { position: sticky; top: 6rem; } }
.panel-title { font-size: 1.25rem; font-weight: 700; }
.panel-note { margin-top: .25rem; font-size: .875rem; color: var(--muted); }

.label { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 700; }

/* Escolha do serviço (botões de rádio estilizados) */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 420px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }

.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt .face {
  display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem;
  border: 2px solid var(--line); border-radius: .8rem; background: var(--surface);
  font-weight: 600; font-size: .95rem; line-height: 1.25;
  transition: border-color .15s ease, background-color .15s ease;
}
.opt .face .ico { color: var(--blue-text); }
.opt input:checked + .face { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, var(--surface)); }
.opt input:focus-visible + .face { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Campos */
.block-value { margin-top: 1.75rem; }
.form-row { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .form-cell-wide { grid-column: span 2; }
}
.form-cell { min-width: 0; }

.field {
  width: 100%; min-height: 3rem; padding: .6rem .9rem;
  border: 2px solid var(--line); border-radius: .75rem;
  background: var(--surface); color: var(--fg); font-weight: 600;
}
.field:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-text) 25%, transparent); }

.money { display: flex; align-items: center; border: 2px solid var(--line); border-radius: .75rem; background: var(--surface); }
.money:focus-within { border-color: var(--blue-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-text) 25%, transparent); }
.money span { padding-left: .9rem; font-weight: 700; color: var(--muted); }
.money input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--fg);
  padding: .6rem .9rem .6rem .4rem; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums;
}
.money-small input { font-size: 1rem; }

input[type=range] { display: block; width: 100%; height: 2rem; margin-top: .5rem; accent-color: var(--orange); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Prévia da mensagem (balão estilo WhatsApp) */
.chat-bg { margin-top: 1rem; padding: 1rem; border-radius: 1rem; background: var(--sunken); }
.bubble {
  padding: .9rem 1rem; border-radius: .9rem .9rem .2rem .9rem;
  background: #DCF8C6; color: #0B1F36; font-size: .95rem; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word; box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
@media (prefers-color-scheme: dark) { .bubble { background: #1F4D3A; color: #EAF6EE; } }

.actions { margin-top: 1.25rem; display: grid; gap: .75rem; }
.fineprint { margin-top: 1rem; font-size: .75rem; color: var(--muted); }


/* 7. SERVIÇOS --------------------------------------------- */
.cards-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card { min-width: 0; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; }
.service-card p { color: var(--muted); }
.service-card .btn { align-self: flex-start; margin-top: auto; }

.service-ico {
  width: 3.25rem; height: 3.25rem; flex: none; display: grid; place-items: center;
  border-radius: .85rem; color: var(--blue-text);
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
}


/* 8. SOBRE ------------------------------------------------ */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
.about-text { min-width: 0; }
.about-text p { margin-top: 1rem; max-width: 36rem; color: var(--muted); }

.benefits { min-width: 0; display: grid; gap: 1rem; }
.benefit { padding: 1.25rem; display: flex; gap: 1rem; }
.benefit div { min-width: 0; }
.benefit h3 { font-size: 1.125rem; font-weight: 700; }
.benefit p { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.check {
  width: 1.6rem; height: 1.6rem; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange); color: var(--on-orange);
}


/* 9. CONTATO E RODAPÉ ------------------------------------- */
.contact-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-card { min-width: 0; padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; }
.contact-item { display: flex; gap: 1rem; }
.contact-item > div { min-width: 0; }
.contact-item h3 { font-size: 1rem; font-weight: 700; }
.contact-item p { color: var(--muted); }

.mapcard {
  min-height: 18rem; padding: 1.5rem; display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem;
  background:
    linear-gradient(135deg, transparent 47%, color-mix(in srgb, var(--orange) 70%, transparent) 47% 49%, transparent 49%),
    linear-gradient(60deg, transparent 58%, color-mix(in srgb, var(--blue) 35%, transparent) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in srgb, var(--line) 80%, transparent) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, color-mix(in srgb, var(--line) 80%, transparent) 38px 40px),
    var(--sunken);
}
.map-inner { display: grid; gap: 1rem; justify-items: center; }
.map-pin {
  width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--orange); color: var(--on-orange); box-shadow: 0 10px 24px rgba(243,112,33,.4);
}
.map-pin .ico { width: 2rem; height: 2rem; }
.map-label { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.map-label strong { display: block; font-family: var(--font-display); }
.map-label span { font-size: .875rem; color: var(--muted); }
/* Se ativar o <iframe> do Google Maps no HTML, ele ocupa o cartão todo */
.mapcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer { padding-block: 2.5rem 6rem; background: var(--footer); color: #C9D8E8; font-size: .875rem; }
.footer-inner { display: grid; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer-brand span { color: var(--orange); }
.footer-text { max-width: 48rem; }


/* 10. BOTÃO FLUTUANTE DO WHATSAPP ------------------------- */
.fab {
  position: fixed; z-index: 50;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  height: 3.75rem; min-width: 3.75rem; padding: 0 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border-radius: 999px; background: #25D366; color: #07230F; font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.fab .ico { width: 1.9rem; height: 1.9rem; }
.fab-text { display: none; }

/*Estilo footer desenvolvido por pltech_code*/

.desenvolvimento{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
}
.desenvolvimento:hover{
  color: rgb(252, 119, 11);
  transition: 2s;

}

@media (min-width: 640px) { .fab-text { display: inline; } }

/* Animação de pulso */
.fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25D366;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .6; }
  100% { transform: scale(1.55); opacity: 0;  }
}

.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  transform: translateX(-50%);
  padding: .6rem 1rem; border-radius: .7rem; background: var(--fg); color: var(--bg);
  font-weight: 600; font-size: .9rem;
}

/* Respeita quem desativa animações no sistema */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fab::before { animation: none; display: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
