/* ==========================================================
   MFK Soluções — style.css
   Paleta: preto #141413 · amarelo #F5C518 · WhatsApp #25D366
   Tipografia: Inter (Google Fonts), fallback system-ui
   ========================================================== */

:root {
  --ink: #141413;
  --ink-2: #3A3A36;
  --muted: #5B5B57;
  --muted-2: #8A8A85;
  --line: #E6E6E2;
  --bg: #FFFFFF;
  --bg-tint: #F7F7F4;
  --yellow: #F5C518;
  --wa: #25D366;
  --wa-ink: #0B2E18;
  --radius: 6px;
  --container: 1160px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.04em; max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -0.035em; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; line-height: 1.7; }
.lead { font-size: 1.15rem; line-height: 1.55; color: #C9C9C4; max-width: 46ch; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Kicker (rótulo com traço amarelo) */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 20px; height: 3px; background: var(--yellow); }
.kicker--light { color: var(--yellow); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 0;
  font: 600 0.95rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--whatsapp { background: var(--wa); color: var(--wa-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }

/* Header */
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.brand__text small { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 32px; align-items: center; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__phone { font-weight: 600; padding-left: 16px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 50%, #35352F 0%, #1C1C1A 45%, #141413 100%); }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.hero__video.is-ready { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,19,0.92) 0%, rgba(20,20,19,0.65) 50%, rgba(20,20,19,0.3) 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; padding-block: 96px 104px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { margin: 12px 0 0; display: flex; gap: 40px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.proof div { display: flex; flex-direction: column; gap: 4px; }
.proof dt { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.proof dd { margin: 0; font-size: 0.8rem; color: #9A9A95; }

/* Formulário de orçamento */
.quote {
  background: #fff; color: var(--ink); border-radius: 10px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px; max-width: 440px; width: 100%; justify-self: end;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.quote__head { display: flex; flex-direction: column; gap: 6px; }
.quote__head strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.quote__head span { font-size: 0.9rem; color: var(--muted); }
.quote__note { font-size: 0.75rem; color: var(--muted-2); text-align: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.field select, .field input {
  min-height: 48px; padding: 0 14px; border: 1px solid #D6D6D1; border-radius: var(--radius);
  background: #fff; font: 400 0.95rem var(--font); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.field input:user-invalid { border-color: #C0392B; }

/* Seções */
.section { padding-block: 96px; }
.section--tint { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.section__head > div { max-width: 560px; }
.section__head > p { max-width: 36ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.grid-3 > *, .grid-2 > *, .split > *, .hero__grid > * { min-width: 0; }
.split__intro { max-width: 420px; }
.split__intro h2 { margin-bottom: 14px; }

/* Sintomas */
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.symptoms a {
  display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 4px;
  border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500;
  transition: background .15s, padding-left .15s;
}
.symptoms a:hover { background: #FAFAF8; padding-left: 10px; }
.symptoms .n { font-size: 0.75rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0.06em; width: 28px; }
.symptoms .arrow { margin-left: auto; color: var(--muted-2); }
.symptoms .is-muted { color: var(--muted); }

/* Serviços */
.service { display: flex; flex-direction: column; gap: 18px; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: linear-gradient(160deg, #2A2A28, #141413); }
.photo--wide { aspect-ratio: 16 / 10; margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.ticks li { padding-left: 14px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--yellow); }

/* Passos */
.steps { list-style: none; margin: 0 0 48px; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.step__n { font-size: 0.8rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.step p { font-size: 0.95rem; color: var(--muted); }
.band { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 28px 32px; background: var(--ink); color: #fff; border-radius: 10px; }
.band p { flex: 1; min-width: 260px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; }

/* Área */
.cities { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-weight: 500; }
.cities li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.cities small { font-size: 0.75rem; color: var(--muted-2); }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
#area h2, #faq h2 { margin-bottom: 16px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.4rem; font-weight: 500; color: var(--muted-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; font-size: 0.95rem; color: var(--muted); max-width: 60ch; }

/* CTA final */
.cta { background: var(--yellow); color: var(--ink); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding-block: 80px; }
.cta h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.cta p { color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__phone { font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }

/* Footer */
.footer { background: var(--ink); color: #9A9A95; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer__grid img { height: 36px; width: auto; margin-bottom: 6px; }
.footer__grid strong { color: #fff; font-weight: 600; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: #6E6E69; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }

/* Botão flutuante */
.fab {
  position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--wa-ink); display: flex; align-items: center; justify-content: center;
  z-index: 30; animation: pulse 2.6s ease-out infinite;
}

/* Animações */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 16px rgba(37,211,102,0); }
}
.rise { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.rise-1 { animation-delay: .1s } .rise-2 { animation-delay: .22s } .rise-3 { animation-delay: .34s }
.rise-4 { animation-delay: .46s } .rise-5 { animation-delay: .6s } .rise-6 { animation-delay: .5s }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .fab { animation: none; } .rise { opacity: 1; }
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-block: 64px 72px; }
  .quote { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { gap: 40px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .grid-3, .grid-2, .symptoms, .cities { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__phone { border-left: 0; padding-left: 0; }
  .proof { gap: 24px; }
  .quote { padding: 22px; }
  .band { padding: 24px; }
  .fab { right: 16px; bottom: 16px; }
}

/* Vídeo do hero no celular: a sobreposição original clareia até 0.3 à direita,
   pensada para o desktop, onde o texto ocupa só a esquerda. No celular o texto
   cobre a largura toda, então a camada escura fica uniforme para manter a leitura. */
@media (max-width: 719px) {
  .hero__overlay { background: linear-gradient(180deg, rgba(20,20,19,0.86) 0%, rgba(20,20,19,0.74) 100%); }
}
