/* 01. Variáveis */
:root {
  --navy: #062b50;
  --navy-deep: #031e38;
  --blue: #075bc0;
  --blue-light: #2f80d0;
  --gold: #f1b900;
  --green: #11751e;
  --ink: #10233b;
  --muted: #657586;
  --line: #d7e0e8;
  --bg: #f3f6f8;
  --white: #fff;
}

/* 02. Reset e base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

/* 03. Estrutura da página */
.page { min-height: 100vh; max-width: 1500px; margin: 0 auto; overflow: hidden; background: var(--white); }
main { padding: 68px 44px 48px; background: #fff; }
.eyebrow { margin: 0 0 9px; color: #a67500; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }

/* 04. Header */
.topbar { border-bottom: 3px solid var(--gold); background: linear-gradient(105deg, var(--navy-deep), #073e6e); color: #fff; }
.topbar-inner { display: flex; min-height: 116px; align-items: center; justify-content: space-between; gap: 35px; padding: 13px 45px; }
.brand { display: block; flex: 0 0 305px; }
.brand img { display: block; width: 285px; max-height: 78px; object-fit: contain; object-position: left center; }
.features { display: flex; flex: 1; align-items: stretch; justify-content: flex-end; }
.feature { display: flex; min-width: 205px; align-items: center; gap: 10px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.38); }
.feature:first-child { border-left: 0; }
.feature i { color: var(--gold); font-size: 28px; font-style: normal; line-height: 1; }
.feature b, .feature span { display: block; white-space: nowrap; }
.feature b { font-size: 13px; letter-spacing: .3px; }
.feature span { margin-top: 3px; color: #e6edf4; font-size: 11px; }

/* 05. Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .98fr);
  min-height: 430px;
  align-items: center;
  gap: 26px;
  padding: 54px 52px 46px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(112deg, #041b33 0%, #062b50 54%, #074a82 100%);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .28;
  background-image: linear-gradient(rgba(167,190,211,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(167,190,211,.18) 1px, transparent 1px), radial-gradient(circle at 78% 35%, rgba(47,128,208,.45), transparent 30%), radial-gradient(circle at 56% 90%, rgba(241,185,0,.14), transparent 22%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.hero::after { position: absolute; z-index: -1; right: 9%; bottom: -50px; width: 320px; height: 145px; border-radius: 50%; background: rgba(7,91,192,.42); content: ""; filter: blur(35px); }
.hero-copy { position: relative; z-index: 1; max-width: 710px; }
.hero .eyebrow { margin-bottom: 12px; color: var(--gold); letter-spacing: 2.2px; }
.hero .eyebrow::before { display: inline-block; width: 25px; height: 2px; margin: 0 9px 3px 0; background: var(--gold); content: ""; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 3.15vw, 46px); line-height: 1.06; letter-spacing: -.5px; text-shadow: 0 2px 17px rgba(0,0,0,.16); }
.hero h1 span { background: linear-gradient(90deg, #fff, #b8ddfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 640px; margin: 17px 0 25px; color: #d7e5f2; font-size: 18px; line-height: 1.56; }
.hero-action { display: inline-flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 7px; background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(241,185,0,.2); font-size: 12px; font-weight: 800; letter-spacing: .5px; text-decoration: none; transition: transform .25s, background .25s, box-shadow .25s; }
.hero-action:hover { transform: translateY(-3px); background: #ffd54c; box-shadow: 0 12px 26px rgba(241,185,0,.33); }
.hero-action span { font-size: 18px; transition: transform .25s; }
.hero-action:hover span { transform: translateY(2px); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tags span { padding: 7px 10px; border: 1px solid rgba(184,221,250,.42); border-radius: 4px; background: rgba(255,255,255,.08); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.hero-tags span::before { display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; border-radius: 50%; background: var(--gold); content: ""; }
.hero-graphic { width: 100%; max-width: 590px; justify-self: end; padding: 10px; filter: drop-shadow(0 12px 22px rgba(0,12,31,.3)); }
.hero-graphic img { display: block; width: 100%; height: auto; object-fit: contain; }

/* 06. Benefícios */
.benefits { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(90deg, #041f3c, #062b50, #07375f); }
.benefits::before { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); content: ""; opacity: .85; }
.benefits article { display: flex; min-height: 122px; align-items: center; gap: 13px; padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.15); transition: background .22s; }
.benefits article:last-child { border-right: 0; }
.benefits article:hover { background: rgba(255,255,255,.045); }
.benefits article > span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); color: var(--gold); font-size: 22px; font-weight: 800; transition: transform .22s, box-shadow .22s; }
.benefits article:hover > span { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(7,91,192,.35); }
.benefits h2 { margin: 0 0 5px; color: #fff; font-size: 12px; }
.benefits p { margin: 0; color: #c8dced; font-size: 11px; line-height: 1.45; }

/* 07. Central de ferramentas */
.tools { position: relative; scroll-margin-top: 20px; padding: 34px 28px 55px; overflow: hidden; border: 1px solid rgba(7,91,192,.15); border-radius: 18px; background: linear-gradient(180deg, #eaf4fc 0%, #f3f8fc 45%, #e8f2f9 100%); box-shadow: 0 12px 30px rgba(6,43,80,.06); }
.tools::before { position: absolute; z-index: 0; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(7,91,192,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7,91,192,.035) 1px, transparent 1px); background-size: 46px 46px; content: ""; }
.tools::after { position: absolute; z-index: 0; top: 0; right: 40px; width: 90px; height: 3px; background: var(--gold); content: ""; }
.tools > * { position: relative; z-index: 1; }
.section-intro { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 4px; padding: 28px 30px; overflow: hidden; border: 1px solid rgba(6,43,80,.20); border-left: 5px solid var(--navy); border-radius: 14px; background: linear-gradient(110deg, #e5ae00 0%, #f1b900 48%, #f5cc42 100%); box-shadow: 0 10px 26px rgba(6,43,80,.14); }
.section-intro::before { position: absolute; top: 0; right: 34px; width: 78px; height: 3px; background: var(--navy); content: ""; }
.section-intro::after { position: absolute; right: -22px; bottom: -32px; width: 150px; height: 150px; border: 1px solid rgba(6,43,80,.15); border-radius: 50%; box-shadow: 0 0 0 23px rgba(6,43,80,.055), 0 0 0 47px rgba(6,43,80,.035); content: ""; }
.section-intro > div, .availability { position: relative; z-index: 1; }
.section-intro h2, .authority h2, .institutional-cta h2 { margin: 0; color: #092f55; font-size: 29px; line-height: 1.12; }
.section-intro > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.section-intro .eyebrow, .section-intro h2 { color: var(--navy); }
.section-intro > div > p:last-child { color: #142b3d; }
.availability { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid rgba(6,43,80,.18); border-radius: 6px; background: rgba(255,255,255,.72); color: #11651d; font-size: 10px; font-weight: 800; letter-spacing: .6px; white-space: nowrap; }
.availability::before { content: "9"; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; }
.availability i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(17,117,30,.13), 0 0 10px rgba(17,117,30,.35); }

/* 08. Categorias */
.category { margin-top: 50px; }
.category + .category { padding-top: 45px; border-top: 1px solid rgba(7,91,192,.08); }
.category-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.category-icon { position: relative; display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; overflow: hidden; border: 1px solid #bbd8eb; border-radius: 12px; background: linear-gradient(145deg, #edf7fe, #dcecf8); }
.category-icon::after { position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
.category-icon img { display: block; width: 72%; height: 72%; object-fit: contain; }
.category-heading h2 { margin: 2px 0 4px; color: #0a3157; font-size: 18px; }
.category-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

/* 09. Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; min-height: 214px; gap: 15px; padding: 22px 18px 43px; overflow: hidden; border: 1px solid #cbdde9; border-radius: 12px; background: linear-gradient(145deg, #fff 0%, #f4f9fd 100%); color: inherit; box-shadow: 0 7px 18px rgba(6,43,80,.09); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tool-card::before { position: absolute; top: -28px; right: -28px; width: 78px; height: 78px; border-radius: 50%; background: rgba(47,128,208,.065); content: ""; }
.tool-card > div { min-width: 0; }
.tool-card--available { border-top: 3px solid var(--blue); }
.tool-card--available { border-color: rgba(47,128,208,.38); background: linear-gradient(145deg, #0a3a63 0%, #062b50 55%, #041f3b 100%); box-shadow: 0 8px 22px rgba(3,30,56,.18); }
.category:nth-of-type(2) .tool-card--available { border-top-color: #0b4777; }
.category:nth-of-type(3) .tool-card--available { border-top-color: #168aa1; }
.category:nth-of-type(4) .tool-card--available { border-top-color: #7a91a2; }
.tool-card--available:hover { transform: translateY(-4px); border-color: rgba(241,185,0,.55); border-top-color: var(--gold); background: linear-gradient(145deg, #0d4676, #06335e 55%, #041f3b); box-shadow: 0 16px 30px rgba(3,30,56,.28), 0 0 20px rgba(47,128,208,.14); }
.tool-card--available:focus-visible, .hero-action:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, footer a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tool-icon, .tool-image { display: block; width: 74px; height: 64px; flex: 0 0 74px; padding: 5px; border: 1px solid #c9dfef; border-radius: 12px; background: linear-gradient(145deg, #eaf5fc, #dcecf8); object-fit: contain; }
.tool-image { padding: 4px; }
.tool-card--available:hover .tool-icon, .tool-card--available:hover .tool-image { transform: translateY(-2px); }
.tool-card--available .tool-icon { border-color: rgba(126,197,245,.28); background: rgba(255,255,255,.07); box-shadow: inset 0 0 16px rgba(47,128,208,.08); }
.tool-card--available .tool-category { color: #7fc5f5; }
.tool-card--available .tool-category::before { display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; border-radius: 50%; background: var(--gold); content: ""; }
.tool-card--available h3 { color: #fff; }
.tool-card--available h3 + p { color: #d8e6f1; }
.tool-card--available .tool-action, .tool-card--available .tool-action b { color: var(--gold); }
.tool-card--available:hover .tool-action, .tool-card--available:hover .tool-action b { color: #ffd54c; }
.tool-category { margin: 1px 0 0; color: #71869a; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.tool-card h3 { margin: 7px 0; color: #092f55; font-size: 15px; line-height: 1.25; }
.tool-card h3 + p { margin: 0; color: #647586; font-size: 11.5px; line-height: 1.48; }
.tool-action { position: absolute; bottom: 16px; left: 18px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .25px; }
.tool-action b { display: inline-block; margin-left: 4px; color: var(--gold); font-size: 16px; transition: transform .2s; }
.tool-card.tool-card--available h3 { color: #fff; }
.tool-card.tool-card--available h3 + p { color: #dce9f3; }
.tool-card--available:hover .tool-action b { transform: translateX(3px); }

/* 10. Estados dos cards */
.tool-card--coming-soon { border-style: dashed; border-color: rgba(145,168,186,.58); background: linear-gradient(145deg, #29445c 0%, #1e3549 100%); box-shadow: 0 8px 20px rgba(3,30,56,.13); }
.tool-card--coming-soon .tool-action { color: #afc0ce; }
.tool-card--coming-soon .tool-image, .tool-card--coming-soon .tool-icon { border-color: rgba(145,168,186,.32); background: rgba(255,255,255,.06); }
.tool-card--coming-soon .tool-category { color: #91a8ba; }
.tool-card--coming-soon h3 { color: #e2eaf0; }
.tool-card--coming-soon h3 + p { color: #afc0ce; }
.badge { display: inline-block; margin-bottom: 7px; padding: 3px 6px; border: 1px solid rgba(241,185,0,.4); border-radius: 4px; background: rgba(241,185,0,.14); color: #ffd34a; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.tool-card--premium { position: relative; }

/* 11. Autoridade */
.authority { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 44px; margin-top: 64px; padding: 43px; overflow: hidden; isolation: isolate; border: 1px solid rgba(47,128,208,.35); border-radius: 13px; background: linear-gradient(120deg, #041b33 0%, #062b50 55%, #073e6e 100%); box-shadow: 0 14px 32px rgba(3,30,56,.16); }
.authority::before { position: absolute; z-index: -1; top: 0; left: 43px; width: 90px; height: 3px; background: var(--gold); content: ""; }
.authority::after { position: absolute; z-index: -1; inset: 0; opacity: .6; background-image: linear-gradient(rgba(47,128,208,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(47,128,208,.05) 1px, transparent 1px), radial-gradient(circle at 86% 18%, rgba(47,128,208,.17), transparent 25%); background-size: 42px 42px, 42px 42px, auto; content: ""; }
.authority .eyebrow { color: var(--gold); letter-spacing: 2px; }
.authority h2 { position: relative; color: #fff; font-size: 28px; }
.authority h2::after { display: block; width: 48px; height: 3px; margin-top: 12px; background: var(--gold); content: ""; }
.authority > div > p:last-child { margin: 15px 0 0; color: #d5e3ef; font-size: 14px; line-height: 1.65; }
.authority-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.authority-points article { padding: 14px 13px; border: 1px solid rgba(47,128,208,.42); border-top: 3px solid var(--gold); border-radius: 10px; background: linear-gradient(145deg, rgba(7,62,110,.92), rgba(4,36,68,.92)); box-shadow: 0 8px 18px rgba(0,0,0,.12); transition: transform .2s, border-color .2s, box-shadow .2s; }
.authority-points article:hover { transform: translateY(-3px); border-color: rgba(241,185,0,.55); box-shadow: 0 12px 24px rgba(0,0,0,.17); }
.authority-points span { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 15px; font-weight: 800; }
.authority-points span::after { width: 16px; height: 2px; background: rgba(241,185,0,.72); content: ""; }
.authority-points h3 { margin: 10px 0 7px; color: #fff; font-size: 14px; }
.authority-points p { margin: 0; color: #c9dbe9; font-size: 11px; line-height: 1.5; }

/* 12. Aviso técnico */
.notice { position: relative; display: flex; align-items: center; gap: 16px; margin: 26px 0; padding: 21px 22px; overflow: hidden; border: 1px solid rgba(47,128,208,.22); border-left: 5px solid var(--gold); border-top-color: rgba(241,185,0,.18); border-radius: 10px; background: linear-gradient(105deg, #062b50 0%, #083b67 100%); box-shadow: 0 10px 24px rgba(3,30,56,.13); color: #e1ebf3; }
.notice::after { position: absolute; right: -30px; bottom: -42px; width: 150px; height: 150px; border: 1px solid rgba(47,128,208,.18); border-radius: 50%; box-shadow: 0 0 0 22px rgba(47,128,208,.045), 0 0 0 45px rgba(47,128,208,.03); content: ""; }
.notice img, .notice div { position: relative; z-index: 1; }
.notice img { display: block; width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.notice strong { color: var(--gold); font-size: 14px; font-weight: 800; }
.notice p { max-width: 1050px; margin: 8px 0 0; color: #e1ebf3; font-size: 12px; line-height: 1.64; }

/* 13. CTA institucional */
.institutional-cta { margin-top: 38px; padding: 48px 25px; border-radius: 13px; background: linear-gradient(120deg, #041e3a, #063d69); color: #fff; text-align: center; }
.institutional-cta .eyebrow { color: var(--gold); }
.institutional-cta h2 { color: #fff; font-size: 30px; }
.institutional-cta > p:not(.eyebrow) { max-width: 680px; margin: 13px auto 23px; color: #d7e5f2; font-size: 14px; line-height: 1.55; }
.institutional-cta > div { display: flex; justify-content: center; gap: 14px; }
.cta-primary, .cta-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 13px 17px; border-radius: 7px; font-size: 11px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.cta-primary { gap: 10px; background: var(--gold); color: var(--navy); }
.cta-primary:hover { transform: translateY(-2px); background: #ffd54c; }
.cta-primary span { font-size: 16px; }
.cta-secondary { border: 1px solid rgba(255,255,255,.66); color: #fff; }
.cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* 14. Footer */
footer { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 44px; border-top: 2px solid var(--gold); background: var(--navy-deep); color: #fff; }
footer img { width: 150px; max-height: 40px; object-fit: contain; }
footer span { color: #d5e3ec; font-size: 11px; }
footer a { color: var(--gold); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }

/* 15. Responsividade */
@media (max-width: 1280px) {
  .topbar-inner { gap: 18px; }
  .feature { min-width: 160px; padding: 0 12px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1.14fr) minmax(290px, .86fr); padding-right: 40px; padding-left: 40px; }
}
@media (max-width: 1000px) {
  .topbar-inner { padding-right: 28px; padding-left: 28px; }
  .feature { min-width: 135px; padding: 0 8px; }
  .feature b { font-size: 11px; }
  .feature span { font-size: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); min-height: 475px; padding: 48px 30px; gap: 12px; }
  .hero-description { font-size: 16px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits article:nth-child(2) { border-right: 0; }
  .benefits article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .authority { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .topbar-inner { min-height: 80px; padding: 12px 18px; }
  .brand { flex-basis: auto; }
  .brand img { width: 215px; }
  .features { display: none; }
  .hero { display: block; min-height: 0; padding: 39px 18px 28px; }
  .hero h1 { font-size: 31px; }
  .hero-description { font-size: 15px; }
  .hero-graphic { width: min(100%, 430px); margin: 22px auto 0; padding: 0; }
  .hero-tags { margin-top: 20px; }
  .benefits { grid-template-columns: 1fr; }
  .benefits article { min-height: 0; padding: 18px; border-right: 0; }
  .benefits article:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.15); }
  main { padding: 62px 12px 32px; }
  .tools { padding: 24px 12px 38px; border-radius: 12px; }
  .tools::after { right: 24px; }
  .section-intro { display: block; }
  .section-intro h2 { font-size: 25px; }
  .availability { display: inline-flex; margin-top: 14px; }
  .category { margin-top: 48px; }
  .category-heading h2 { font-size: 16px; }
  .cards, .authority-points { grid-template-columns: 1fr; }
  .tool-card { min-height: 190px; }
  .authority { margin-top: 50px; padding: 28px 20px; }
  .authority h2, .institutional-cta h2 { font-size: 24px; }
  .institutional-cta { margin-top: 30px; padding: 35px 18px; }
  .institutional-cta > div { flex-direction: column; align-items: stretch; }
  footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 18px; }
}

/* 16. Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
