:root {
  --background: 0 0% 100%;
  --foreground: 20 14.3% 4.1%;
  --muted: 60 4.8% 95.9%;
  --muted-foreground: 25 5.3% 44.7%;
  --popover: 0 0% 100%;
  --popover-foreground: 20 14.3% 4.1%;
  --card: 0 0% 100%;
  --card-foreground: 20 14.3% 4.1%;
  --border: 20 5.9% 90%;
  --input: 20 5.9% 90%;
  --primary: 222 47% 11%;
  --primary-foreground: 221 8% 97%;
  --secondary: 60 4.8% 95.9%;
  --secondary-foreground: 24 9.8% 10%;
  --accent: 60 4.8% 95.9%;
  --accent-foreground: 24 9.8% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 60 9.1% 97.8%;
  --ring: 20 14.3% 4.1%;
  --radius: 0.5rem;
  --primary-blue: #1351B4;
  --primary-blue-dark: #0D3C8C;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-muted: #666666;
  --border-color: #cccccc;
  --footer-bg: #071D41;
}

.dark {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --popover: 240 10% 3.9%;
  --popover-foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --border: 240 3.7% 15.9%;
  --input: 240 3.7% 15.9%;
  --primary: 222 47% 11%;
  --primary-foreground: 221 8% 97%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --accent: 240 3.7% 15.9%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --ring: 240 4.9% 83.9%;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.header-main {
  background-color: white;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-color);
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left img {
  margin-right: 32px;
  display: block;
  height: auto;
}

.header-btn {
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  min-width: 40px;
  min-height: 40px;
  transition: all 0.2s ease;
  margin-left: 24px;
}

.header-btn:hover {
  background-color: rgba(19, 81, 180, 0.08);
  color: var(--primary-blue-dark);
}

.header-btn:active {
  background-color: rgba(19, 81, 180, 0.12);
  transform: scale(0.98);
}

.header-btn svg {
  display: block;
  height: 16px;
  width: 16px;
  fill: currentColor;
}

.header-left .header-btn svg {
  width: 6px;
  height: 16px;
}

.header-separator {
  border-left: 1px solid #cccccc;
  height: 24px;
  margin: 0 16px;
}

.login-btn {
  background-color: var(--primary-blue);
  color: white;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(19, 81, 180, 0.2);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: var(--primary-blue-dark);
  box-shadow: 0 4px 12px rgba(19, 81, 180, 0.3);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(19, 81, 180, 0.2);
}

.login-btn svg {
  width: 0.875em;
  height: 1em;
  fill: white;
  margin-right: 4px;
}

.nav-main {
  background-color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.nav-brand,
.nav-search {
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  min-height: 40px;
  transition: all 0.2s ease;
}

.nav-brand:hover,
.nav-search:hover {
  background-color: rgba(19, 81, 180, 0.08);
  color: var(--primary-blue-dark);
}

.nav-brand:active,
.nav-search:active {
  background-color: rgba(19, 81, 180, 0.12);
  transform: scale(0.98);
}

.nav-brand svg,
.nav-search svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-right: 10px;
}

.nav-search svg {
  margin-right: 0;
}

.nav-brand span {
  font-size: 1rem;
  font-weight: 300;
  line-height: 20px;
  padding-top: 2px;
  color: #666666;
}

.nav-brand:hover span {
  font-weight: 400;
  color: var(--primary-blue-dark);
}

.breadcrumb {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #666666;
}

.breadcrumb nav span {
  color: var(--primary-blue);
}

.breadcrumb nav svg {
  color: #cccccc;
  margin: 0 0.25rem;
}

main {
  padding: 1.5rem 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

main .category {
  font-weight: bold;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555555;
  margin-bottom: 1rem;
}

main h1 {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #0C326F;
}

@media (min-width: 768px) {
  main h1 {
    font-size: 2rem;
  }
}

main p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #555555;
}

main p strong {
  color: #333333;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.meta-info .meta-label {
  color: #999999;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.share-buttons span {
  cursor: pointer;
  color: #276FE8;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  min-width: 40px;
  min-height: 40px;
}

.share-buttons span:hover {
  opacity: 0.7;
  background-color: rgba(39, 111, 232, 0.1);
  transform: translateY(-2px);
}

.share-buttons span:active {
  transform: translateY(0);
  opacity: 0.8;
}

.share-buttons svg {
  width: 18px;
  height: 18px;
  display: block;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

article {
  line-height: 1.75;
}

article h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333333;
}

article ul,
article ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

article li {
  margin-bottom: 0.75rem;
  color: #555555;
}

article li strong {
  color: #333333;
}

.drop-cap {
  float: left;
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1;
}

.cta-section {
  text-align: center;
  margin: 2rem 0;
}

button.bg-\\[\\#1351B4\\],
.bg-\\[\\#1351B4\\],
.text-center button {
  background-color: var(--primary-blue);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(19, 81, 180, 0.25);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

button.bg-\\[\\#1351B4\\]:hover,
.bg-\\[\\#1351B4\\]:hover,
.text-center button:hover {
  background-color: var(--primary-blue-dark);
  box-shadow: 0 8px 25px rgba(19, 81, 180, 0.35);
  transform: translateY(-4px);
}

button.bg-\\[\\#1351B4\\]:active,
.bg-\\[\\#1351B4\\]:active,
.text-center button:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 81, 180, 0.25);
}

button.bg-\\[\\#1351B4\\]:focus,
.bg-\\[\\#1351B4\\]:focus,
.text-center button:focus {
  outline: 2px solid rgba(19, 81, 180, 0.3);
  outline-offset: 2px;
}

button.bg-\\[\\#1351B4\\]:disabled,
.bg-\\[\\#1351B4\\]:disabled,
.text-center button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 6px rgba(19, 81, 180, 0.15);
}

.underline {
  text-decoration: underline;
}

.cta-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  color: #555555;
  opacity: 0.6;
}

.cta-button {
  display: inline-block;
  background-color: #1351B4;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.cta-button:hover {
  background-color: #0D3C8C;
  transform: scale(1.05);
  color: #fff;
}

.cta-button:active {
  transform: scale(1.02);
}

.cta-button:focus {
  outline: 2px solid rgba(19, 81, 180, 0.3);
  outline-offset: 2px;
}

.cta-button .underline {
  text-decoration: underline;
  color: inherit;
}

.highlight-box {
  background-color: #F3F3F4;
  border-radius: 6px;
  padding: 1rem;
  margin: 1.5rem auto;
  max-width: 95%;
}

.highlight-box p {
  font-size: 1rem;
}

.highlight-box p:first-child {
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
  color: #555555;
  margin-bottom: 0;
}

.highlight-box strong {
  color: #333333;
}

article img {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

footer {
  background-color: var(--footer-bg);
  color: white;
  margin-top: 3rem;
  width: 100%;
  display: block;
  padding: 2rem 1.5rem;
}

footer .footer-content {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

footer h3 {
  font-size: 3rem;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.footer-item svg {
  color: rgba(255, 255, 255, 0.7);
}

.footer-cookies {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-social h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links svg {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.social-links svg:hover {
  opacity: 0.8;
}

.vlibras-btn {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  display: block;
}

.vlibras-btn img {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}

.vlibras-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background-color: var(--primary-blue);
  padding: 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(19, 81, 180, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.back-to-top:hover {
  background-color: var(--primary-blue-dark);
  box-shadow: 0 6px 20px rgba(19, 81, 180, 0.35);
  transform: translateY(-4px);
}

.back-to-top:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(19, 81, 180, 0.25);
}

.back-to-top svg {
  color: white;
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
  display: block;
}

.notifications {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  max-height: 100vh;
  width: 100%;
  flex-direction: column-reverse;
  padding: 1rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .notifications {
    bottom: 0;
    right: 0;
    top: auto;
    flex-direction: column;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 12px 16px;
  }

  header img {
    margin-right: 16px;
  }

  nav {
    padding: 16px 16px;
  }

  main {
    padding: 1rem;
  }

  main h1 {
    font-size: 1.5rem;
  }

  article h2 {
    font-size: 1.125rem;
  }

  footer {
    padding: 1.5rem;
  }
}

.bg-white {
  background-color: white;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.w-full {
  width: 100%;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.transition-opacity {
  transition: opacity 0.2s;
}

.transition-all {
  transition: all 0.3s;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}
