/* ==========================================================
   PRESELL · Orosteel · Líbano (árabe, da direita para a esquerda)
   As cores ficam no :root abaixo
   ========================================================== */
:root {
  --primaria: #7a1d52;
  --primaria-escura: #2d0f26;
  --botao: #b8195a;
  --botao-hover: #9a1449;
  --texto: #1f1a2e;
  --suave: #5a5368;
  --card: rgba(255, 255, 255, 0.95);
  --raio: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; font-size: 16.5px; line-height: 1.75; color: var(--texto); background: var(--primaria-escura); }
img { max-width: 100%; height: auto; display: block; }
.bg, .bg img { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.bg img { object-fit: cover; object-position: center top; filter: blur(3px); transform: scale(1.06); }
.bg-tint { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 8, 22, 0.12), rgba(25, 8, 22, 0.34)); }
body.is-locked { overflow: hidden; }
body.is-locked .page { filter: blur(1.5px); }
.cookie { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(25, 8, 22, 0.32); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; }
.cookie.is-open { opacity: 1; visibility: visible; }
.cookie__box { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; outline: none; background: #fff; border-radius: 20px; padding: 32px 24px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(24px) scale(0.96); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.35s ease; }
.cookie.is-open .cookie__box { opacity: 1; transform: none; transition-delay: 0.1s; }
.cookie__close { position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f3f0f4; color: #4d4458; cursor: pointer; }
.cookie__close:hover { background: #e8e2ea; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Página ---------- */
.page { width: 100%; max-width: 920px; margin: 0 auto; padding: 16px 16px 32px; transition: filter 0.4s ease; }
.topbar { padding: 4px 0 14px; }
.brand {
  display: inline-block;
  padding: 2px 16px;
  border-radius: 999px;
  background: rgba(20, 6, 18, 0.58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.brand small { font-size: 0.65em; font-weight: 600; opacity: 0.85; margin-inline-start: 6px; }

.card { background: var(--card); border-radius: var(--raio); padding: 24px 20px; margin-bottom: 16px; box-shadow: 0 10px 30px rgba(25, 8, 22, 0.2); }
h1, h2 { margin: 0 0 12px; font-weight: 800; line-height: 1.35; color: var(--primaria-escura); }
h1 { font-size: clamp(26px, 5.4vw, 38px); }
h2 { font-size: clamp(22px, 4.2vw, 28px); }
p { margin: 0 0 12px; }

/* No árabe, sem espaçamento entre letras: ele quebra a ligação das letras */
.eyebrow { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--primaria); }
.lead { font-size: 17.5px; color: var(--suave); }

.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-inline-start: 32px; margin-bottom: 8px; font-weight: 600; }
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--primaria) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero { display: grid; gap: 20px; align-items: center; }
.hero__img { margin: 0; display: flex; justify-content: center; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, #f4eef6, #e8f0f7); }
.hero__img img { width: auto; max-height: 330px; }

.steps { margin: 0; padding-inline-start: 24px; }
.steps li { margin-bottom: 10px; }

.info p:last-child { margin-bottom: 0; }

.faq details { border-top: 1px solid #ebe4ee; padding: 12px 0; }
.faq details:last-of-type { border-bottom: 1px solid #ebe4ee; margin-bottom: 20px; }
.faq summary { position: relative; cursor: pointer; list-style: none; padding-inline-end: 30px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: -2px; font-size: 24px; color: var(--primaria); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 8px 0 0; color: var(--suave); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--botao);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(184, 25, 90, 0.32);
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--botao-hover); transform: translateY(-1px); }
.btn--cta, .btn--accept { width: 100%; }
.btn:focus-visible, .cookie__close:focus-visible, .cookie__decline:focus-visible, .faq summary:focus-visible { outline: 3px solid #f2b51d; outline-offset: 3px; }

/* ---------- Rodapé ---------- */
.footer { padding: 8px 4px 0; text-align: center; color: #fff; font-size: 13.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0; }
.footer a { color: #fff; }
.copy { opacity: 0.85; }

/* ---------- Popup ---------- */
.cookie__icon { display: flex; justify-content: center; margin-bottom: 8px; }
.cookie__title { margin-bottom: 10px; font-size: 21px; line-height: 1.45; color: var(--texto); }
.cookie__text { font-size: 15px; color: var(--suave); }
.cookie__text a { color: var(--primaria); }
.cookie__note { margin-bottom: 18px; font-size: 13.5px; color: var(--suave); }
.cookie__decline { margin-top: 10px; padding: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--suave); text-decoration: underline; cursor: pointer; }

/* ---------- Páginas legais ---------- */
.legal h1 { font-size: clamp(26px, 5vw, 34px); }
.legal h2 { margin-top: 18px; font-size: 21px; }
.legal a { color: var(--primaria); }

/* ---------- PC ---------- */
@media (min-width: 768px) {
  .page { padding: 28px 24px 48px; }
  .card { padding: 34px 40px; margin-bottom: 20px; }
  .hero { grid-template-columns: 1.3fr 1fr; gap: 32px; }
  .btn--cta { width: auto; }
  .faq .btn--cta { display: flex; width: fit-content; margin: 0 auto; }
  .cookie__box { padding: 40px 36px 26px; }
}
