:root {
  --ink: #102a43;
  --blue: #2f6bff;
  --coral: #e05a3f;
  --ice: #f7f4ec;
  --slate: #56616b;
  --charcoal: #182028;
  --white: #fff;
  --line: #d9e0e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--ice); font: 17px/1.7 'Source Sans 3', system-ui, sans-serif; }
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.skip-link { position: fixed; top: 0; left: 20px; z-index: 100; transform: translateY(-140%); padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(22px, 5vw, 78px); background: var(--ink); color: var(--white); border-bottom: 1px solid #ffffff26; }
.brand { display: inline-flex; align-items: center; background: var(--white); border-radius: 8px; padding: 7px 10px; }
.brand img { display: block; width: 122px; height: auto; }
.back-link { font-size: .9rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid #ffffff75; padding: 6px 0; }
.back-link:hover { color: #ff9b83; border-color: var(--coral); }

.hero { background: var(--ink); color: var(--white); padding: clamp(70px, 11vw, 150px) clamp(22px, 8vw, 130px) clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: min(55vw, 720px); aspect-ratio: 1; border: 1px solid #2f6bff66; border-radius: 50%; right: -12%; top: -40%; box-shadow: 0 0 0 85px #2f6bff10, 0 0 0 185px #2f6bff09; pointer-events: none; }
.eyebrow { margin: 0 0 18px; color: #8dabff; font: 700 .78rem/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: .14em; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .98; letter-spacing: -.06em; font-weight: 600; position: relative; z-index: 1; }
.lead { max-width: 760px; margin: 32px 0 0; color: #d6e2ea; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.65; position: relative; z-index: 1; }
.updated { margin: 30px 0 0; color: #a8bbc9; font-size: .9rem; position: relative; z-index: 1; }

.policy-layout { width: min(1240px, calc(100% - 44px)); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(50px, 8vw, 110px); padding: 90px 0 120px; align-items: start; }
.policy-index { position: sticky; top: 32px; padding: 24px 0; border-top: 4px solid var(--coral); }
.policy-index > p { margin: 0 0 18px; font: 700 .8rem/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.policy-index ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.policy-index a { display: block; color: var(--slate); padding: 4px 0; text-decoration: none; font-size: .95rem; }
.policy-index a:hover { color: var(--blue); }

.policy-content { min-width: 0; }
.policy-content > section { position: relative; border-top: 1px solid var(--line); padding: 42px 0 54px; }
.policy-content > section:first-child { border-top: 0; padding-top: 0; }
.section-number { display: inline-block; color: var(--coral); font: 700 .78rem/1.2 'Space Grotesk', system-ui, sans-serif; letter-spacing: .1em; margin-bottom: 13px; }
.policy-content h2 { margin: 0 0 23px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.07; letter-spacing: -.045em; font-weight: 600; }
.policy-content h3 { margin: 30px 0 8px; font-size: 1.2rem; }
.policy-content p { max-width: 790px; margin: 0 0 18px; color: var(--slate); }
.policy-content ul { max-width: 820px; padding-left: 1.35em; margin: 18px 0 0; }
.policy-content li { margin-bottom: 14px; padding-left: .35em; }
.policy-content li::marker { color: var(--coral); }
.policy-content a:not(.primary-action) { color: #1d50cb; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.policy-content a:not(.primary-action):hover { color: var(--coral); }

.contact-card { max-width: 640px; background: var(--white); border-left: 5px solid var(--coral); padding: 25px 28px; margin: 26px 0; box-shadow: 0 15px 45px #102a4312; }
.contact-card p { margin: 0 0 8px; color: var(--ink); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card address { color: var(--slate); font-style: normal; margin-bottom: 8px; }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }

.status-box { max-width: 800px; background: #eaf0ff; border: 1px solid #cad7ff; padding: 24px 28px; margin: 0 0 25px; }
.status-box strong { color: var(--blue); font-family: 'Space Grotesk', system-ui, sans-serif; }
.status-box p { margin: 8px 0 0; color: var(--ink); }

.closing-card { background: var(--charcoal); color: var(--white); margin-top: 38px; padding: clamp(34px, 6vw, 64px); border-top: 6px solid var(--coral); }
.closing-card h2 { margin-bottom: 17px; }
.closing-card p:not(.eyebrow) { color: #c7d3dc; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 28px; }
.closing-actions a { color: var(--white) !important; font-weight: 700; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; background: var(--coral); color: #111f29 !important; padding: 12px 18px; text-decoration: none; }
.primary-action:hover { background: #f1795e; transform: translateY(-2px); }

footer { background: var(--ink); color: #c8d5df; padding: 35px clamp(22px, 5vw, 78px); display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 22px; align-items: center; font-size: .9rem; }
footer a { width: max-content; background: var(--white); border-radius: 8px; padding: 7px 10px; }
footer img { display: block; width: 128px; height: auto; }
footer p { margin: 0; }
footer span { text-align: right; }

@media (max-width: 820px) {
  html { scroll-padding-top: 24px; }
  .site-header { min-height: 72px; padding: 14px 22px; }
  .brand img { width: 108px; }
  .hero::after { width: 85vw; right: -42%; top: -10%; }
  .policy-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 54px; }
  .policy-index { position: static; padding: 20px 0 8px; }
  .policy-index ol { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .rights-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 12px; }
  footer span { text-align: left; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .back-link { font-size: .8rem; }
  .hero { padding-top: 65px; }
  .policy-layout { width: min(100% - 36px, 1240px); }
  .policy-index ol { grid-template-columns: 1fr; }
  .contact-card, .status-box { padding: 22px 20px; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .closing-actions a { width: 100%; }
}

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

/* Acentos em laranja e logo inversa nos fundos azuis. */
.brand, footer a { background: transparent; border-radius: 0; padding: 0; }
.brand-wordmark-inverse { display: block; width: 138px; aspect-ratio: 3 / 1; background: linear-gradient(90deg,#fff 0 31.2%,var(--coral) 31.2% 46.3%,#fff 46.3% 100%); -webkit-mask: url('./r3ofe-logo.png') center/contain no-repeat; mask: url('./r3ofe-logo.png') center/contain no-repeat; }
.eyebrow { color: #f2785b; }
.hero::after { border-color: #e05a3f55; box-shadow: 0 0 0 85px #e05a3f0c,0 0 0 185px #e05a3f08; }
.policy-index a:hover, .policy-content a:not(.primary-action), .status-box strong, .section-number { color: #c4472e; }
.policy-content a:not(.primary-action):hover { color: #9b2f1f; }
.status-box { background: #fff5ef; border-color: #edc1b4; }
footer a:hover .brand-wordmark-inverse { opacity: .86; }
@media (max-width: 820px) { .brand-wordmark-inverse { width: 116px; } }
@media (max-width: 820px) {
  footer { justify-items: center; text-align: center; gap: 18px; padding: 48px 22px; }
  footer span { text-align: center; }
}
