﻿@font-face {
  font-family: michroma;
  src: url(/Fonts/Michroma-Regular.ttf);
}
html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

h1:focus {
  outline: none;
}

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

#hero {
  width: 100%;
  height: 100vh;
  background-image: url("../img/bg-home.webp");
  background-size: cover;
}

#hero .hero-container {
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  text-align: center;
}

#hero h1 {
  margin: 0 0 10px;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #ffffff;
}

#hero .hero-role {
  color: #ffffff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
}

.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.about .content ul strong {
  margin-right: 4px;
}

.company-card {
  background: #ffffff;
  border: 1px solid #d9e5f4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(12, 33, 66, 0.08);
}

.company-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.company-card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #173b6c;
}

.company-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f6ee;
  color: #117a43;
  font-weight: 600;
  font-size: 0.85rem;
}

.company-summary {
  margin: 0 0 18px;
  color: #394d68;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
}

.company-grid div {
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e0ebf7;
}

.company-grid dt {
  font-size: 0.82rem;
  color: #5d7392;
  margin: 0 0 4px;
}

.company-grid dd {
  margin: 0;
  color: #1f344d;
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #d9e5f4;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(12, 33, 66, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.project-header h3 {
  margin: 0;
  color: #173b6c;
  font-size: 1.25rem;
}

.project-type {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.type-web {
  background: #e8f1ff;
  color: #1f5ec5;
}

.type-mobile {
  background: #f1ecff;
  color: #5e39c9;
}

.project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-category,
.project-status {
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f2f6fb;
  color: #3f5878;
  font-weight: 600;
}

.project-card p {
  margin: 0;
  color: #3c4f68;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  background: #eaf4ff;
  color: #245487;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 8px;
}

.project-link {
  align-self: start;
}

.mobile-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-gallery-wrapper {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
}

.mobile-gallery-wrapper.expanded .mobile-gallery {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.mobile-gallery-wrapper.expanded.type-web .mobile-shot {
  aspect-ratio: 16/10;
  max-height: 130px;
}

.mobile-gallery-wrapper.expanded.type-mobile .mobile-shot {
  aspect-ratio: 9/16;
  max-height: 190px;
}

.project-gallery-toggle {
  align-self: center;
  border: 1px solid #c8dbf4;
  border-radius: 999px;
  background: #f4f9ff;
  color: #1f5ec5;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  transition: all 0.2s ease;
}

.project-gallery-toggle:hover,
.project-gallery-toggle:focus-visible {
  background: #e7f1ff;
  color: #184d9f;
  border-color: #a9c8ee;
  outline: none;
}

.mobile-shot {
  margin: 0;
  border: 1px solid #d5e4f5;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 9/18;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-shot-trigger {
  all: unset;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  display: block;
}

.mobile-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 1.2;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -9px;
  top: 0;
  background: #ffffff;
  border: 2px solid #1f5297;
}

.perfil-navbar img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

.perfil-navbar h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

.perfil-navbar h1 a,
.perfil-navbar h1 a:hover {
  color: #ffffff;
  text-decoration: none;
}

.perfil-navbar .social-links a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #212431;
  color: #ffffff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.perfil-navbar .social-links a:hover,
.perfil-navbar .social-links a:focus-visible {
  background: #149ddd;
  color: #ffffff;
  text-decoration: none;
  outline: none;
}

.skill-icon {
  width: 60px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.skill-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lang-btn {
  background-color: transparent;
  transition: all 0.2s ease;
  color: #ffffff;
  font-size: 13px;
  border: 0;
  border-radius: 8px;
}

.lang-btn img {
  width: 36px;
  object-fit: cover;
  margin: 0;
  border: 0;
}

/*.lang-btn.active,
.lang-btn:focus-visible {
    outline: 2px solid #149ddd;
}*/
.lang-btn:hover {
  transform: translateY(-2px);
}

.tools-workflow-panel {
  background: #f8fbff;
  border: 1px solid #d9e5f4;
  border-radius: 16px;
  padding: 20px;
}

.tools-workflow-panel h5 {
  color: #173b6c;
}

.tools-workflow-intro {
  margin: 0 0 14px;
  color: #3f5878;
  text-align: left;
  font-size: 0.95rem;
}

.workflow-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.workflow-tool-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c8dbf4;
  border-radius: 999px;
  background: #ffffff;
  color: #1f4f86;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
}

.container-progresso {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #040b14;
}

.footer-premium {
  padding: 30px 0;
  background-color: #040b14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-premium strong {
  color: #ffffff;
}

.footer-right span {
  color: #0d6efd;
  font-weight: 500;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}
@media (max-width: 992px) {
  .projects-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero .hero-role {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  .mobile-gallery {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  #hero {
    display: none !important;
  }
  .skill-icon {
    width: 48px;
  }
  .descricao-rapida {
    text-align: justify;
  }
}
.image-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 24, 0.76);
  backdrop-filter: blur(3px);
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.image-modal-content {
  position: relative;
  max-width: min(1800px, 92vw);
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  background: #0b1524;
}

.image-modal-content img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #10253f;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
  background: #ffffff;
  outline: none;
}
