:root{
  --bg:#f3f7fc;
  --text:#102033;
  --muted:#64748b;
  --blue:#0a4f9c;
  --blue-dark:#07386f;
  --blue-light:#1479d4;
  --green:#059669;
  --white:#ffffff;
  --line:#d9e6f5;
  --soft:#eef7ff;
  --shadow:0 24px 70px rgba(8,47,99,.16);
  --shadow-soft:0 12px 35px rgba(15,23,42,.08);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(20,121,212,.20), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(5,150,105,.14), transparent 26rem),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

/* HERO DA PÁGINA INICIAL */

.hero{
  padding:42px 0 34px;
}

.hero-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:34px;
  align-items:center;
  min-height:430px;
  padding:46px;
  border-radius:36px;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(7,56,111,.97),rgba(10,79,156,.96) 50%,rgba(20,121,212,.92)),
    radial-gradient(circle at top right,rgba(255,255,255,.20),transparent 24rem);
  box-shadow:var(--shadow);
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  pointer-events:none;
}

.hero-card::after{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  right:-120px;
  top:-120px;
  border-radius:50%;
  background:rgba(255,255,255,.13);
}

.hero-left{
  position:relative;
  z-index:2;
}

.kicker,
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.30);
  color:#eaf4ff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}

.kicker::before{
  content:"●";
  color:#7dd3fc;
  font-size:12px;
}

.hero h1{
  max-width:760px;
  margin:20px 0 8px;
  font-size:clamp(38px,5vw,64px);
  line-height:.98;
  letter-spacing:-.04em;
}

.hero h2{
  margin:0 0 18px;
  color:#dceeff;
  font-size:clamp(21px,3vw,34px);
  font-weight:700;
  letter-spacing:-.02em;
}

.hero p{
  max-width:760px;
  margin:0;
  color:#eef7ff;
  font-size:18px;
  line-height:1.7;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:13px 19px;
  border-radius:16px;
  font-weight:850;
  transition:.22s ease;
}

.btn.primary{
  background:#fff;
  color:var(--blue);
  box-shadow:0 12px 25px rgba(255,255,255,.14);
}

.btn.secondary{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.34);
  color:#fff;
}

.btn:hover,
.btn-card:hover{
  transform:translateY(-3px);
}

.hero-panel{
  position:relative;
  z-index:2;
  display:grid;
  gap:16px;
}

.panel-item{
  padding:24px;
  border-radius:26px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 18px 45px rgba(0,0,0,.10);
  backdrop-filter:blur(12px);
}

.panel-item strong{
  display:block;
  font-size:38px;
  line-height:1;
  letter-spacing:-.04em;
}

.panel-item span{
  display:block;
  margin-top:9px;
  color:#eaf3ff;
  font-weight:700;
}

.panel-item.wide strong{
  font-size:25px;
}

/* SEÇÕES */

.section{
  padding:24px 0 52px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:20px;
}

.section-tag{
  background:#e1f1ff;
  color:var(--blue);
  border:1px solid #cde5ff;
}

.section h2{
  margin:13px 0 6px;
  color:#0f2744;
  font-size:38px;
  letter-spacing:-.035em;
}

.section p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* BUSCA */

.search{
  width:100%;
  margin:2px 0 24px;
  padding:18px 22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.95);
  color:var(--text);
  font-size:16px;
  outline:none;
  box-shadow:var(--shadow-soft);
}

.search::placeholder{
  color:#94a3b8;
}

.search:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 5px rgba(20,121,212,.13), var(--shadow-soft);
}

/* CARDS DA PÁGINA INICIAL */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  position:relative;
  overflow:hidden;
  min-height:310px;
  display:flex;
  flex-direction:column;
  padding:26px;
  border-radius:30px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.96));
  border:1px solid rgba(216,230,245,.95);
  box-shadow:var(--shadow-soft);
  transition:.25s ease;
}

.card::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-65px;
  top:-65px;
  border-radius:50%;
  background:rgba(20,121,212,.10);
}

.card:hover{
  transform:translateY(-6px);
  border-color:#9dccff;
  box-shadow:0 26px 60px rgba(8,47,99,.16);
}

.card.destaque{
  background:
    linear-gradient(180deg,#ffffff 0%,#edf7ff 100%);
  border-color:#9dccff;
}

.icon{
  position:relative;
  z-index:2;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--blue-dark),var(--blue-light));
  color:#fff;
  font-weight:900;
  box-shadow:0 14px 26px rgba(10,79,156,.24);
}

.card small{
  position:relative;
  z-index:2;
  color:var(--green);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.card h3{
  position:relative;
  z-index:2;
  margin:11px 0 10px;
  color:var(--blue);
  font-size:23px;
  line-height:1.18;
  letter-spacing:-.025em;
}

.card p{
  position:relative;
  z-index:2;
  flex:1;
  margin:0;
  color:#64748b;
  font-size:15px;
  line-height:1.65;
}

.btn-card{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin-top:22px;
  padding:13px 17px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--blue),var(--blue-light));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 26px rgba(10,79,156,.22);
  transition:.22s ease;
}

.btn-card::after{
  content:" →";
}

/* PÁGINAS DAS CATEGORIAS */

.breadcrumb{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:38px 0 18px;
  padding:10px 14px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
  font-weight:800;
  box-shadow:var(--shadow-soft);
}

.breadcrumb a{
  color:var(--blue);
}

.page-title{
  margin:0 0 12px;
  color:#0f2744;
  font-size:clamp(34px,5vw,56px);
  line-height:1.04;
  letter-spacing:-.04em;
}

.page-desc{
  max-width:900px;
  margin:0 0 28px;
  color:#475569;
  font-size:19px;
  line-height:1.65;
}

.topic-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:8px;
}

.topic{
  position:relative;
  overflow:hidden;
  min-height:150px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:22px;
  border-radius:26px;
  background:
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:.24s ease;
}

.topic::before{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-50px;
  top:-50px;
  border-radius:50%;
  background:rgba(20,121,212,.10);
}

.topic:hover{
  transform:translateY(-5px);
  border-color:#9dccff;
  box-shadow:0 22px 55px rgba(8,47,99,.14);
}

.topic strong{
  position:relative;
  z-index:2;
  display:block;
  margin-bottom:8px;
  color:#082f63;
  font-size:18px;
  line-height:1.35;
}

.topic span{
  position:relative;
  z-index:2;
  display:block;
  color:#64748b;
  font-size:15px;
  line-height:1.55;
}

.topic b{
  position:relative;
  z-index:2;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:#e8f3ff;
  color:var(--blue);
  font-size:14px;
  white-space:nowrap;
}

/* PÁGINAS INDIVIDUAIS DOS TÓPICOS */

.article{
  margin-top:24px;
  padding:34px;
  border-radius:32px;
  background:#ffffff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-size:17px;
  line-height:1.78;
}

.article h2{
  margin:0 0 12px;
  color:var(--blue);
  font-size:26px;
  letter-spacing:-.02em;
}

.article p{
  color:#334155;
}

.note{
  margin:22px 0;
  padding:20px;
  border-radius:22px;
  background:#eef7ff;
  border:1px solid #cde5ff;
  border-left:7px solid var(--blue-light);
  color:#334155;
}

.check{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}

.check div{
  padding:16px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid var(--line);
  color:#334155;
}

/* BOTÕES DE NAVEGAÇÃO */

.navlinks{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin:26px 0 18px;
}

.navlinks .btn{
  background:#ffffff;
  border:1px solid var(--line);
  color:var(--blue);
  box-shadow:var(--shadow-soft);
}

.navlinks .btn.dark{
  background:linear-gradient(135deg,var(--blue),var(--blue-light));
  color:#fff;
  border-color:transparent;
}

.navlinks .btn.green{
  background:linear-gradient(135deg,#047857,#059669);
  color:#fff;
  border-color:transparent;
}

/* RODAPÉ */

.footer{
  margin-top:10px;
  padding:28px 0;
  background:linear-gradient(135deg,#082f63,#0a4f9c);
  color:#dbeafe;
  text-align:center;
  font-size:15px;
}

.footer strong{
  color:#fff;
}

/* RESPONSIVO */

@media(max-width:980px){
  .hero-card{
    grid-template-columns:1fr;
    padding:34px;
  }

  .hero-panel{
    grid-template-columns:repeat(3,1fr);
  }

  .grid,
  .topic-list{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:720px){
  .container{
    width:min(94%,1180px);
  }

  .hero{
    padding-top:24px;
  }

  .hero-card{
    padding:26px;
    border-radius:28px;
  }

  .hero-card::before{
    inset:10px;
    border-radius:22px;
  }

  .hero-panel{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:38px;
  }

  .hero h2{
    font-size:23px;
  }

  .hero p{
    font-size:16px;
  }

  .section h2{
    font-size:31px;
  }

  .grid,
  .topic-list,
  .check{
    grid-template-columns:1fr;
  }

  .card,
  .topic{
    min-height:auto;
  }

  .topic{
    flex-direction:column;
  }

  .topic b{
    width:100%;
  }

  .btn,
  .btn-card{
    width:100%;
  }

  .article{
    padding:24px;
    border-radius:26px;
  }
}