body {
    background-image: url('../img/fundopc.png');
    background-color: #1c3d6a;
    background-size: cover;
    font-family: "Roboto", sans-serif;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#topo {
  text-align: center;
  width: auto;
  height: auto;
  padding-top: 20px;
}

.navbar {
    display: flex;
    gap: 10px;
    background-color: #165868;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.container-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.nav-item {
    text-decoration: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s, transform 0.25s;
    align-items: center;
    cursor: pointer;
}

.nav-item.active {
    background-color: #60a9cf !important;
    color: #ffffff !important;
}

.nav-item.active:hover,
.nav-item.active:focus,
.nav-item.active:active {
    background-color: #60a9cf !important;
    color: #ffffff !important;
}

.nav-item:focus,
.nav-item:focus-visible {
    outline: none;
}

.nav-item:hover {
    background-color: #165868;
    transform: translateY(-1px);
}

.tabcontent {
    display: none;
}

.conteudo-sobre-mim {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

@media (min-width: 768px) {
  .conteudo-sobre-mim {
    flex-direction: row;
    gap: 34px;
    align-items: stretch;
  }

  .texto-sobre-mim p,
  .texto-sobre-mim h2 {
      text-align: left !important;
  }

  .texto-sobre-mim h1 {
      text-align: left !important;
  }
}

.imagem-sobre-mim {
    width: 300px;
    border-radius: 18px;
    overflow: hidden;
    height: 350px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(7, 35, 51, 0.45);
}

.imagem-sobre-mim::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.imagem-sobre-mim img {
    border-radius: 17px;
    filter: saturate(1.05) contrast(1.04);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.imagem-sobre-mim:hover img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.08);
}

.texto-sobre-mim {
    flex: 1;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: #f5fcff;
    border-radius: 18px;
    padding: 30px 28px;
    position: relative;
    background: linear-gradient(160deg, rgba(22, 88, 104, 0.82) 0%, rgba(96, 169, 207, 0.22) 95%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(4, 26, 40, 0.42);
    border: 1px solid rgba(229, 245, 255, 0.22);
}

.texto-sobre-mim::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.texto-sobre-mim .sobre-titulo {
    margin: 0 0 10px 0;
    text-align: center;
    color: #f6fbff !important;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: 0.2px;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(6, 20, 29, 0.28);
}

.texto-sobre-mim .sobre-titulo::after {
    content: "";
    display: block;
    width: 78px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(222, 245, 255, 0.98), rgba(96, 169, 207, 0.15));
}

.texto-sobre-mim .sobre-slogan {
    margin: 0 0 14px;
    color: #d8efff !important;
    font-size: 1.1rem;
    font-weight: 500;
}

.texto-sobre-mim p {
    color: #ecf7ff !important;
    margin: 4px 0;
    font-size: 1rem;
    line-height: 1.72;
    letter-spacing: 0.1px;
}

.texto-sobre-mim p strong {
    color: #f8fcff;
}

.texto-sobre-mim .sobre-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 247, 255, 0.18);
    border: 1px solid rgba(234, 247, 255, 0.35);
    border-radius: 999px;
    padding: 6px 12px;
    color: #f4fbff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
}

.texto-sobre-mim .sobre-badge::before {
    content: "✦";
    font-size: 10px;
}

.empresa-wrapper {
    width: min(1080px, calc(100% - 32px));
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.empresa-content {
    width: 100%;
}

.portfolio-wrapper {
    width: 100%;
    margin-top: 6px;
    border: 1px solid rgba(221, 245, 255, 0.25);
    border-radius: 18px;
    padding: 26px 24px;
    background: linear-gradient(160deg, rgba(22, 88, 104, 0.62), rgba(27, 94, 119, 0.35));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 40px rgba(4, 26, 40, 0.32);
}

.empresa-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: center;
    text-decoration: none;
    color: #ffffff !important;
    background: #25d366;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 12px 18px;
    width: auto;
    min-width: 240px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(2, 36, 22, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.empresa-whatsapp-btn i {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1;
}

.empresa-whatsapp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 28px rgba(2, 36, 22, 0.45);
}

.empresa-whatsapp-btn:link,
.empresa-whatsapp-btn:visited,
.empresa-whatsapp-btn:hover,
.empresa-whatsapp-btn:focus,
.empresa-whatsapp-btn:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

.empresa-whatsapp-btn span,
.empresa-whatsapp-btn i {
    color: #ffffff !important;
}

.empresa-whatsapp-btn .sr-only {
    display: none;
}

.portfolio-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.portfolio-lead {
    color: #d6ecfa;
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.55;
    max-width: 70ch;
}

.portfolio-kicker {
    align-self: flex-start;
    color: #dff3ff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.portfolio-title {
    margin: 0;
    color: #f7fcff;
    font-size: 1.45rem;
    letter-spacing: 0.2px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    margin-top: 2px;
}

.produto-setor {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.01));
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.produto-setor::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    pointer-events: none;
}

.produto-setor-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #f3fcff;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.produto-setor-title strong {
    color: #ffffff;
    font-weight: 800;
}

.produto-setor-title small {
    display: block;
    color: #c8e6fa;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.produto-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(230, 246, 255, 0.24);
    background: linear-gradient(135deg, rgba(96, 169, 207, 0.7), rgba(22, 88, 104, 0.55));
    box-shadow: 0 6px 16px rgba(4, 26, 40, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.produto-setor-title i {
    color: #f6fcff;
    font-size: 1rem;
    line-height: 1;
}

.produto-item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.produto-tag {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 7px 12px;
    color: #f5fcff;
    font-size: 0.88rem;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 500;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    text-wrap: balance;
}

.produto-tag::before {
    content: "";
    margin-right: 0;
}

.produto-tag:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.texto-sobre-mim h1 {
    text-align: center;
}

.texto-sobre-mim h2 {
    text-align: center;
}

@media (min-width: 768px) {
    .produtos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .texto-sobre-mim {
        padding-right: 34px;
        padding-left: 34px;
    }

    .empresa-wrapper {
        width: min(1120px, calc(100% - 56px));
    }

    .conteudo-sobre-mim {
        gap: 38px;
    }

    .imagem-sobre-mim {
        width: 360px;
        height: 410px;
    }
}

@media (min-width: 1180px) {
    .produtos-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .empresa-whatsapp-btn {
        width: 100%;
        min-width: 0;
    }

    .texto-sobre-mim {
        padding: 24px 20px 26px;
        text-align: left;
        margin: 0 auto;
    }

    .texto-sobre-mim .sobre-titulo,
    .texto-sobre-mim .sobre-slogan,
    .texto-sobre-mim p,
    .texto-sobre-mim strong {
        text-align: left;
    }

    .sobre-titulo {
        font-size: 1.7rem;
        margin-bottom: 8px;
    }

    .sobre-slogan {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .sobre-badge {
        align-self: flex-start;
        margin-bottom: 8px;
    }

    #conteudo,
    #conteudo_sobre_mim,
    .empresa-wrapper,
    .empresa-content,
    .portfolio-wrapper,
    .conteudo-sobre-mim,
    .texto-sobre-mim,
    .produtos-grid,
    .produto-setor,
    .social-links-row,
    .social-banner-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #conteudo {
        padding: 0 16px;
    }

    #conteudo_sobre_mim {
        padding: 0 16px;
    }

    .produto-tag {
        word-break: break-word;
    }

    .portfolio-head,
    .portfolio-title,
    .portfolio-lead,
    .portfolio-kicker,
    .produto-setor-title {
        text-align: left;
    }

    h3 {
        text-align: left;
    }

    #conteudo {
        align-items: stretch;
        text-align: left;
        padding: 0 16px;
        gap: 14px;
    }

    #conteudo_sobre_mim {
        padding: 0 16px;
    }

    .empresa-wrapper {
        gap: 18px;
    }

    .portfolio-wrapper {
        padding: 22px 18px;
    }
}

#topo img {
  width: 200px;
}

img {
    max-width: 100%;
    height: auto;
}

h3 {
    text-align:center;
    color: white;
}

.flex-column {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#conteudo {
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
}

#conteudo img {
  border-radius: 15px;
  width: 100%;
  max-width: 665px;
}

#conteudo a:hover {
  scale: 105%;
  transition: all 0.2s ease-in-out;
}

#footer {
  text-align:center;
  color: white;
  font-size: small;
  margin-top: 40px;
}

.logoalvoz img {
  width: 30px;
  height: 30px;
  color: white;
  opacity: 10%;
}

.logoalvoz img:hover {
  opacity: 100%;
  transition: all 0.2s ease-in-out;
}

.logoalvoz {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.conteudo-dropdown {
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.conteudo-dropdown a:hover {
  scale: 100% !important;
  transition: all 0.2s ease-in-out;
}

/* ******************************************** */

/* Dropdown Button */
.dropbtn {
  cursor: pointer;
  z-index: 1;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  scale: 105%;
  transition: all 0.2s ease-in-out;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
}

/* Dropdown Content */
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  max-width: 600px;
  height: 0;
  overflow: hidden;
  position: relative;
  min-width: 160px;
  transition: all 0.4s ease-in-out;
  background-color: #003024;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* Quando ativo */
.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  height: auto;
  padding: 10px;
}

.show {
  display:block;
}

* {
        /*Reset's every elements apperance*/
        box-sizing: border-box;
        background: none repeat scroll 0 0 transparent;
        border: medium none;
        border-spacing: 0;
        color: #26589F;
        font-family: 'PT Sans Narrow',sans-serif;
        font-size: 16px;
        font-weight: normal;
        line-height: 1.42rem;
        list-style: none outside none;
        margin: 0;
        padding: 0;
        text-align: left;
        text-decoration: none;
        text-indent: 0;
}
