/* =========================================================
   MEU ESCRITÓRIO — www.meuescritorio.digital
   Identidade: Laranja #FF6A00 · Preto #171717 · Cinza #A7A7A7 · Off-white #F5F3EF
   Tipografia: Plus Jakarta Sans
   ========================================================= */

:root {
  --orange: #FF6A00;
  --orange-hover: #FF7B1C;
  --orange-soft: rgba(255, 106, 0, 0.16);
  --black: #171717;
  --gray: #A7A7A7;
  --offwhite: #F5F3EF;

  --bg-a: #1B1B1B;        /* seções escuras */
  --bg-b: #222222;        /* seções carvão */
  --bg-header: #111111;
  --card: #262626;
  --card-on-a: #232323;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 16px;
  --radius-btn: 10px;
  --container: 1216px;
  --header-h: 80px;
  --section-y: clamp(72px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.container--narrow { max-width: 752px; }

/* ---------- Ícones ---------- */
.ico { width: 18px; height: 18px; flex-shrink: 0; }
.ico--lg { width: 22px; height: 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-btn);
  border: 0;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 18px; }

.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-hover); }
.btn--glow { box-shadow: 0 0 0 12px rgba(255, 106, 0, 0.08), 0 14px 40px rgba(255, 106, 0, 0.25); }
.btn--glow:hover { box-shadow: 0 0 0 14px rgba(255, 106, 0, 0.1), 0 16px 44px rgba(255, 106, 0, 0.32); }

.btn--dark { background: #2E2E2E; color: var(--offwhite); }
.btn--dark:hover { background: #383838; }

.btn--black { background: var(--black); color: #fff; }
.btn--black:hover { background: #000; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo img { height: 38px; width: auto; }

.nav__list { display: flex; gap: 32px; }
.nav__link {
  font-size: 15px; font-weight: 500; color: rgba(245, 243, 239, 0.85);
  padding: 8px 0; transition: color .2s ease;
}
.nav__link:hover { color: var(--orange); }
.nav__cta-mobile { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px;
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--offwhite); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.section__head { text-align: center; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 900px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 110px;
  overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: #1f2226 url("../assets/img/hero.webp") 58% 60% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,.62) 0%, rgba(17,17,17,.58) 50%, rgba(34,34,34,.97) 100%);
}
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { font-size: 15px; margin-bottom: 18px; }
.hero__title {
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.04em;
  color: #fff;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__subtitle {
  margin: 22px auto 40px;
  max-width: 680px;
  font-size: clamp(16px, 1.7vw, 21px); line-height: 1.5;
  color: rgba(245, 243, 239, 0.88);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  color: rgba(245, 243, 239, 0.7);
  animation: nudge 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section--a { background: var(--bg-a); }
.section--b { background: var(--bg-b); }
.section--flush { padding-top: 0; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 36px) clamp(24px, 2.6vw, 32px);
}
.section--a .card { background: var(--card-on-a); }

.card__title {
  font-size: clamp(19px, 1.7vw, 21px);
  font-weight: 700; line-height: 1.3; letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.card__text { font-size: 15px; line-height: 1.6; color: var(--gray); }

/* Como funciona */
.step__num {
  display: block;
  font-size: clamp(42px, 4vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  color: rgba(255, 106, 0, 0.38);
  margin: 6px 0 22px;
}

/* Serviços */
.service__icon {
  width: 28px; height: 28px; margin-bottom: 26px;
  fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Caixa de ícone laranja translúcida */
.icon-box {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
}
.icon-box svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon-box--lg { width: 64px; height: 64px; border-radius: 14px; }
.icon-box--lg svg { width: 30px; height: 30px; }

/* Para quem é */
.audience { position: relative; }
.audience::before {
  content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.22) 15%, rgba(255,106,0,.22) 85%, transparent);
  pointer-events: none;
}
.audience__card { text-align: center; position: relative; background: rgba(38, 38, 38, 0.82); }
.audience__card .icon-box { margin: 0 auto 28px; position: relative; z-index: 1; }
.audience__card .card__title { font-size: clamp(20px, 1.8vw, 22px); }

/* ---------- Por que ---------- */
.why {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.why__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 106, 0, 0.35);
  background: var(--card);
}
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.why__content .eyebrow { margin-bottom: 8px; }
.why__content .section__title { margin-bottom: 40px; text-wrap: initial; }
.why__list { display: grid; gap: 30px; }
.why__item { display: flex; gap: 20px; align-items: flex-start; }
.why__title {
  font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; letter-spacing: -0.02em; color: #fff;
  margin: 0 0 6px;
}

/* ---------- Planos ---------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 40px 32px 32px; }
.plan--featured {
  border: 1.5px solid var(--orange);
  transform: translateY(-6px);
}
.plan__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.plan__desc { font-size: 15.5px; line-height: 1.55; color: var(--gray); min-height: 3.1em; }
.plan__price { display: flex; flex-direction: column; margin: 34px 0 28px; }
.plan__from { font-size: 13px; color: var(--gray); }
.plan__value {
  font-size: clamp(38px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff;
}
.plan__period { font-size: 13px; color: var(--gray); }
.plan__list { display: grid; gap: 14px; margin-bottom: 40px; flex-grow: 1; }
.plan__list li {
  position: relative; padding-left: 24px;
  font-size: 15.5px; line-height: 1.45; color: rgba(245, 243, 239, 0.9);
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A00' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__btn { width: 100%; }
.plans__note {
  margin: 40px auto 0; max-width: 640px; text-align: center;
  font-size: 14px; color: var(--gray);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--card-on-a);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: rgba(255, 106, 0, 0.35); }
.faq__q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; min-height: 64px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; color: #fff;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex-shrink: 0; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 26px 24px; }
.faq__a p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--orange);
  padding: clamp(72px, 8vw, 96px) 0;
}
.cta::before, .cta::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; z-index: -1;
  transform: skewX(-12deg);
  background: rgba(255, 255, 255, 0.1);
}
.cta::before { right: 6%; width: 120px; }
.cta::after  { right: -4%; width: 140px; background: rgba(255, 255, 255, 0.14); }
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; }
.cta__title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.035em;
  color: #fff;
  max-width: 16ch;
}
.cta__text { margin: 14px 0 44px; font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.9); }

/* ---------- Rodapé ---------- */
.footer { background: var(--bg-header); padding: 64px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  padding-bottom: 52px;
}
.footer__brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--gray); font-size: 15px; line-height: 1.6; max-width: 34ch; }
.footer__heading {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--gray); margin-bottom: 20px;
}
.footer__links { display: grid; gap: 14px; }
.footer__links a { color: rgba(245, 243, 239, 0.9); font-size: 15.5px; transition: color .2s ease; }
.footer__links a:hover { color: var(--orange); }
.footer__contact { display: grid; gap: 12px; margin-top: 22px; }
.footer__contact li { display: flex; flex-direction: column; }
.footer__contact span { font-size: 12px; color: rgba(167, 167, 167, 0.7); }
.footer__contact a { font-size: 14.5px; color: rgba(245, 243, 239, 0.9); word-break: break-word; transition: color .2s ease; }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-strong);
  padding-top: 24px; padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.footer__bottom p { font-size: 13.5px; color: var(--gray); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .grid-3 { gap: 20px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .plan__desc { min-height: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__logo img { height: 32px; }
  .menu-toggle { display: block; }
  .header__cta { display: none; }

  .nav {
    position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top));
    background: rgba(17, 17, 17, 0.98);
    border-bottom: 1px solid var(--line-strong);
    padding: 8px 24px 28px;
    display: flex; flex-direction: column; gap: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 16px 2px; font-size: 17px; border-bottom: 1px solid var(--line-strong); }
  .nav__cta-mobile { display: inline-flex; width: 100%; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .audience::before { display: none; }
  .why { grid-template-columns: 1fr; }
  .section--flush { padding-top: var(--section-y); }
  .why__media { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero__bg { background-image: url("../assets/img/hero-mobile.webp"); background-position: 62% 60%; }
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-bottom: 96px; }
  .hero .eyebrow { font-size: 13px; }
  .btn--lg { font-size: 16px; width: 100%; max-width: 400px; }
  .btn--glow { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0.08), 0 10px 30px rgba(255, 106, 0, 0.25); }
  .step__num { margin-bottom: 16px; }
  .service__icon { margin-bottom: 18px; }
  .why__content .section__title { margin-bottom: 32px; }
  .why__item { gap: 16px; }
  .plan { padding: 32px 24px 24px; }
  .faq__q { padding: 18px 20px; font-size: 15.5px; }
  .faq__a { padding: 0 20px 20px; }
  .cta::before { right: -10%; }
  .cta::after { right: -24%; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
