/* ==========================================================================
   Oxton — Termos de Uso (pública, institucional)
   Container alinhado ao header/footer (1200px), sem 100vw/scroll horizontal.
   ========================================================================== */
:root{
  --tm-primary:#3335d8; --tm-primary-soft:#eef0ff; --tm-dark:#101223;
  --tm-text:#1f2937; --tm-muted:#6b7280; --tm-border:#e5e7eb; --tm-bg:#f6f8fc;
}
.terms-page{color:var(--tm-text)}
.oe-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
@media (max-width:768px){.oe-container{padding:0 16px}}

/* HERO */
.terms-hero{background:linear-gradient(135deg,#0f1530,#1e1f6b 55%,#3335d8);color:#fff;padding:60px 0 56px}
.terms-eyebrow{display:inline-block;background:rgba(255,255,255,.14);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#dbe1ff;padding:6px 14px;border-radius:999px;margin-bottom:16px}
.terms-hero h1{font-size:clamp(28px,3.6vw,44px);font-weight:700;letter-spacing:-.02em;margin:0 0 14px;color:#fff}
.terms-hero p{font-size:16px;line-height:1.65;color:#dbe1ff;max-width:760px;margin:0 0 12px}
.terms-hero-note{font-size:14px !important;color:#c7cbe0 !important}
.terms-updated{display:inline-block;margin-top:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:7px 16px;font-size:13px;font-weight:600;color:#fff}
.terms-accept-note{margin-top:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:14px 18px;font-size:14px;line-height:1.6;color:#eef0ff;max-width:760px}

/* LAYOUT */
.terms-section-wrap{padding:48px 0 72px;background:var(--tm-bg)}
.terms-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:32px;align-items:start}
@media (max-width:1024px){.terms-layout{grid-template-columns:1fr}}

/* SUMÁRIO */
.terms-summary{position:sticky;top:90px}
@media (max-width:1024px){.terms-summary{position:static}}
.terms-summary-mobile{background:#fff;border:1px solid var(--tm-border);border-radius:18px;padding:18px 20px}
.terms-summary-mobile summary{list-style:none;cursor:pointer;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#475569;padding-bottom:10px}
.terms-summary-mobile summary::-webkit-details-marker{display:none}
.terms-summary nav ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.terms-anchor-link{display:block;padding:5px 0;font-size:13.5px;color:#374151;text-decoration:none;line-height:1.4}
.terms-anchor-link:hover{color:var(--tm-primary)}

/* CONTEÚDO */
.terms-content{background:#fff;border:1px solid var(--tm-border);border-radius:22px;padding:40px}
@media (max-width:768px){.terms-content{padding:24px}}
.terms-section{padding:22px 0;border-bottom:1px solid #f1f3f9;scroll-margin-top:90px}
.terms-section:first-child{padding-top:0}
.terms-section:last-child{border-bottom:0}
.terms-section h2{font-size:clamp(19px,2vw,24px);font-weight:700;letter-spacing:-.01em;color:#111827;margin:0 0 14px}
.terms-section p{font-size:15px;line-height:1.7;color:#374151;margin:0 0 12px}
.terms-section ul{margin:0 0 14px;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.terms-section li{font-size:14.5px;line-height:1.6;color:#374151}
.terms-section a{color:var(--tm-primary);font-weight:600;text-decoration:none}
.terms-section a:hover{text-decoration:underline}

.terms-cols{display:grid !important;grid-template-columns:1fr 1fr;gap:6px 22px}
@media (max-width:600px){.terms-cols{grid-template-columns:1fr}}

.terms-defs{margin:0;display:flex;flex-direction:column;gap:10px}
.terms-defs dt{font-weight:700;color:#111827;font-size:14.5px}
.terms-defs dd{margin:2px 0 0;font-size:14.5px;line-height:1.6;color:var(--tm-muted)}

.terms-highlight{background:var(--tm-primary-soft);border:1px solid #dfe3ff;border-radius:14px;padding:14px 18px;font-size:14.5px;line-height:1.6;color:#1e2a78;margin:14px 0}
.terms-warning-box{background:#fff7ed;border:1px solid #fed7aa;border-left:4px solid #f59e0b;border-radius:0 12px 12px 0;padding:14px 18px;font-size:14.5px;line-height:1.6;color:#92400e;margin:14px 0}

.terms-contact-box{background:var(--tm-bg);border:1px solid var(--tm-border);border-radius:14px;padding:18px 20px;margin:14px 0}
.terms-contact-box p{margin:0 0 6px;font-size:14.5px}
.terms-contact-box p:last-child{margin-bottom:0}

/* CTA */
.terms-cta{background:linear-gradient(135deg,#3335d8,#1f25b3);color:#fff;padding:60px 0;text-align:center}
.terms-cta h2{font-size:clamp(22px,2.6vw,32px);font-weight:700;margin:0 0 12px;color:#fff}
.terms-cta p{font-size:16px;color:#dbe1ff;max-width:560px;margin:0 auto 24px;line-height:1.6}
.terms-cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.terms-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:12px;font-weight:700;font-size:15px;text-decoration:none;cursor:pointer;border:0}
.terms-btn-light{background:#fff;color:var(--tm-primary)}
.terms-btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3)}
.terms-btn-ghost:hover{background:rgba(255,255,255,.2);color:#fff}

/* Voltar ao topo */
.terms-top{position:fixed;left:22px;bottom:22px;width:46px;height:46px;border-radius:50%;border:0;background:var(--tm-primary);color:#fff;font-size:20px;cursor:pointer;opacity:0;visibility:hidden;transition:all .2s;z-index:60;box-shadow:0 8px 24px -8px rgba(51,53,216,.6)}
.terms-top.show{opacity:1;visibility:visible}
.terms-top:hover{background:#262aa8}

html{scroll-behavior:smooth}
