:root {
  --primary: #003366;
  --secondary: #2776ee;
  --accent: #ff6600;
  --light: #f5f7fa;
  --dark: #353532;
  --gray: #666666;
  --blue: #0165cc;
  --red: rgb(231, 52, 52);
  --green: rgb(7, 179, 7);
  --yellow: rgb(251, 255, 0);
  --yellow2: rgb(255, 196, 0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "AktivGroteskLight", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background-color: #dce0e6;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0;
}

/* Header */
header {
  background-color: rgba(63, 63, 63, 0.678);
  color: white;
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "AktivGroteskLight", sans-serif;
  font-weight: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-self: center;
  padding: 0 20px;
  font-family: "AktivGroteskLight", sans-serif;
}
.flags {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.flags :hover {
  transform: scale(1.1);
}

.logo {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
#logo {
  width: 130px; /* Tamanho inicial maior */
  height: auto;
  transition: width 0.3s ease, transform 0.3s ease; /* Transição suave */
}

#logo.scrolled {
  width: 100px; /* Tamanho padrão após scroll */
}

nav ul {
  display: flex;
  list-style: none;
  margin-top: 8px;
}

@media (max-width: 769px) {
  nav ul {
    background-color: rgba(63, 63, 63, 0.877);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

#nav-menu {
  gap: 15px;
  text-align: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 100;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: rgb(165, 165, 165);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
span {
  color: var(--secondary);
  font-family: "AktivGroteskLight", sans-serif;
}

@font-face {
  font-family: "AktivGroteskLight";
  src: url("fonts/AktivGrotesk-Light.woff2") format("woff2"),
    url("fonts/AktivGrotesk-Light.woff") format("woff"),
    url("fonts/AktivGrotesk-Light.ttf") format("truetype");
  font-style: normal;
}

.hero {
  background: linear-gradient(rgba(65, 31, 9, 0), rgba(0, 0, 0, 0)),
    url("./assets/images/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 200px 0 70px;
  text-align: center;
  justify-items: center;
}

.hero .container h3 {
  font-family: "AktivGroteskLight", sans-serif;
  text-align: start;
  max-height: 1400px;
  padding: 0 30px 80px;
  font-weight: 510;
  line-height: 1;
}

.hero .container .btn {
  color: var(--light);
  border-radius: 2rem;
  background-color: rgba(65, 43, 35, 0);
  border: 3px var(--light) solid;
  padding: 6px 12px;
  margin: auto 20px;
  transition: 0.3s;
  text-decoration: none;
}

.hero .container .btn:hover {
  font-size: 18px;
  border: 3px rgb(207, 207, 207) solid;
  color: rgb(207, 207, 207);
}

/* Sections */
section {
  padding: 20px 0;
  justify-items: center;
}

.section-title {
  text-align: center;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  margin-bottom: 40px;
}

/* Services */
.container h3 {
  font-size: 25px;
  margin-bottom: 20px;
  text-align: center;
  font-family: "AktivGroteskLight", sans-serif;
  font-weight: 100;
}

.container-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-grid:hover > :not(:hover) {
  opacity: 0.75;
}

.services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  gap: 15px !important;
  transition: 0.35s;
}

@media (max-width: 900px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
    margin-bottom: 50px;
  }
}

@media (max-width: 500px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 20px;
    margin-bottom: 50px;
  }
  .service-image {
    margin-bottom: -10px;
    width: 100% !important;
  }
  .service-content {
    height: 23vh !important;
  }
}

.service-image {
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  margin-bottom: -5px;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary);
  font-family: "AktivGroteskLight", sans-serif;
  font-weight: 500;
}

.service-content p {
  font-size: 12px;
  line-height: 15px;
  font-family: "AktivGroteskLight", sans-serif;
  font-weight: 500;
  color: var(--dark);
}

.new-more img {
  width: 1.2rem;
}
/* sobre */
.content-td p {
  font-family: Calibri, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5rem;
  color: rgba(0, 0, 0, 0.5);
  margin: 1rem 2.3rem 1.5rem 2.3rem;
}
/* saiba mais */
.container-saiba-mais {
  display: none;
  background-color: rgb(255, 255, 255);
  width: 1120px;
  margin-top: 8px;
}

.container-saiba-mais.show {
  display: flex;
  flex-direction: column;
  animation-name: mover;
  animation-duration: 0.8s;
}

@keyframes mover {
  0% {
    transform: translateY(-1500px);
    opacity: 0;
  }
  20% {
    transform: translateY(-10px);
    opacity: 0.001;
    border-radius: 0 0 50% 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
    color: #3a3a3a;
  }
}

.saiba-mais-blue {
  display: flex;
  margin: 30px;
  gap: 30px;
}

.btn-soluções {
  border: none;
  color: inherit;
  font-size: 15px;
  background: none;
  font-family: sans-serif;
  text-align: start;
  color: #505050;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: 80ms;
}

.service-header {
  border: none;
  color: inherit;
  font-size: 15px;
  background: none;
  font-family: sans-serif;
  text-align: start;
  color: #505050;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: 80ms;
  padding-bottom: 10px;
}

.show,
.service-card {
  background-color: #faf9f6 !important;
}

@media (max-width: 900px) {
  .show {
    background-color: #555555b7 !important;
  }
}
.service-card.hover {
  transform: translateY(10px);
}

/* Atuação */
.experience {
  background-color: #535353;
  background-image: url("./assets/globo.svg ");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 60px 0;
  background-position: center;
  color: white;
  justify-items: center;
}

@font-face {
  font-family: "Aptos";
  src: url("fonts/Aptos-Regular.woff2") format("woff2"),
    url("fonts/Aptos-Regular.woff") format("woff"),
    url("fonts/Aptos-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("fonts/Aptos-Bold.woff2") format("woff2"),
    url("fonts/Aptos-Bold.woff") format("woff"),
    url("fonts/Aptos-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

.experience .container h3 {
  font-family: "avtikgrotesklight", sans-serif;
  font-weight: 100;
  letter-spacing: 2px;
}
.experience .container strong {
  font-family: "aptos", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8rem;
  letter-spacing: 1px;
}

.experience .container {
  width: 100%;
}

.flex-atuação {
  display: flex;
  max-width: 1400px;
  width: 1100px;
  gap: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.flex-atuação p {
  font-size: 18px;
  color: var(--light);
  text-align: start;
  font-family: "aptos", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.str-txt-align {
  display: flex;
  justify-content: start;
  font-size: 20px;
}

.experience .btn {
  border-radius: 2rem;
  background-color: rgba(65, 43, 35, 0);
  border: 3px var(--light) solid;
  padding: 6px 12px;
  margin: auto 20px;
  text-decoration: none;
  color: var(--light);
  transition: 0.3s;
  font-family: "avtikgrotesklight", sans-serif;
}

.experience .btn:hover {
  font-size: 17px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 20px 0;
  margin: 0;
}

.retangle {
  display: flex;
  padding: 0;
  margin: 0;
}

footer .container {
  margin: 20px;
}

.container-footer {
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
  max-width: 1400px;
}

.footer-list {
  display: flex;
  flex-direction: column;

  align-items: start;
  gap: 10px;
}

@media (max-width: 950px) {
  .footer-list {
    flex-direction: column;
    align-items: start;
    gap: 5px;
  }
}

.footer-logo h1 {
  padding-bottom: 1rem;
}

.footer-flex-itens {
  display: flex;
  gap: 10px;
}

.footer-flex-column {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-column h3 {
  font-size: 18px;
  color: var(--light);
  text-align: start;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  font-size: 14px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 14px;
}

/* Responsive */

/* ipads */
@media (min-width: 768px) and (max-width: 992px) {
  .header-container {
    font-size: 15px;
    justify-self: center;
  }
  header .container {
    justify-self: center;
    display: flex;
    width: 100%;
  }
  .flags {
    transform: scale(0.8);
  }

  .btn {
    font-size: 20px;
  }

  .hero h3 {
    font-size: 30px;
  }

  .experience-stats {
    flex-wrap: wrap;
  }

  .section-title h3 {
    margin: 0 20px 20px 20px;

    max-width: 720px;
    justify-self: center;
  }
  .experience .btn {
    font-size: 14px;
  }

  .flex-atuação {
    justify-self: center;
  }
}
/* tablet */
@media (min-width: 660px) and (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    animation-duration: 0.8s;
    animation-name: mover;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  nav ul {
    animation-name: mover;
    animation-duration: 0.8s;
  }

  @keyframes mover {
    0% {
      transform: translateY(-1500px);
      opacity: 0;
    }
    20% {
      transform: translateY(-10px);
      opacity: 0.001;
      border-radius: 0 0 50% 0;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
      color: #3a3a3a;
    }
  }
  .logo {
    display: none;
  }

  nav ul.show {
    display: flex;
  }
  .services-grid nav ul li {
    margin: 0;
    text-align: center;
    padding: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title h3 {
    margin: 0 20px 20px 20px;
    max-width: 550px;
    justify-self: center;
    font-size: 20px;
  }

  .flex-atuação {
    justify-self: center;
  }
  .flex-atuação p {
    font-size: small;
  }
  .flex-atuação strong {
    font-size: small;
  }

  .footer-flex-column h3 {
    font-size: small;
  }
}

@media (min-width: 450px) and (max-width: 660px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    animation-duration: 0.8s;
    animation-name: mover;
  }

  nav ul {
    animation-name: mover;
    animation-duration: 0.8s;
  }

  @keyframes mover {
    0% {
      transform: translateY(-1500px);
      opacity: 0;
    }
    20% {
      transform: translateY(-10px);
      opacity: 0.001;
      border-radius: 0 0 50% 0;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
      color: #3a3a3a;
    }
  }

  .logo {
    display: none;
  }

  nav ul.show {
    display: flex;
  }
  .services-grid nav ul li {
    margin: 0;
    text-align: center;
    padding: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 10px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .section-title h3 {
     margin: 0 20px 20px 20px;

    max-width: 550px;
    justify-self: center;
    font-size: 20px;
  }

  .flex-atuação {
    justify-self: center;
  }
  .flex-atuação p {
    font-size: small;
  }
  .flex-atuação strong {
    font-size: small;
  }

  .footer-content {
    font-size: small;
    gap: 90px;
    margin: 0 40px;
  }
}

@media (min-width: 300px) and (max-width: 450px) {
  nav ul {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    animation-duration: 0.8s;
    animation-name: mover;
  }

  nav ul {
    animation-name: mover;
    animation-duration: 0.8s;
  }

  @keyframes mover {
    0% {
      transform: translateY(-1500px);
      opacity: 0;
    }
    20% {
      transform: translateY(-10px);
      opacity: 0.001;
      border-radius: 0 0 50% 0;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
      color: #3a3a3a;
    }
  }

  .logo {
    display: none;
  }

  nav ul.show {
    display: flex;
  }
  .hero {
    padding-top: 100px;
  }
  .hero h3 {
    font-size: 19px;
  }
  .services-grid nav ul li {
    margin: 0;
    text-align: center;
    padding: 20px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .service-image {
    height: 150px;
    width: 300px;
  }
  .services-grid p {
    font-size: small;
  }
  .solutions h3 {
    margin: 10px 0px;
    max-width: 300px;
    font-size: 15px;
  }

  .container h3 {
    font-size: 19px;
    max-width: 270px;
    justify-self: center;
  }

  .flex-atuação {
    justify-self: center;
  }
  .flex-atuação p {
    font-size: 12px;
  }
  .flex-atuação strong {
    font-size: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    justify-self: center;
    text-align: center;
    gap: 30px;
  }
  .footer-flex-column {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .footer-flex-column h3 {
    text-align: center;
    margin: 5px;
  }
}

/* Responsive grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  position: relative;
}
.service-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.service-content {
  padding: 1rem;
  flex: 1;
  height: 30vh;
}

@media (max-width: 1180px) {
  .service-content {
    height: 35vh;
  }
}
@media (max-width: 1080px) {
  .service-content {
    height: 40vh;
  }
}

@media (max-width: 900px) {
  .service-content {
    height: 25vh;
  }
}

@media (max-width: 700px) {
  .service-content {
    height: 30vh;
  }
}
@media (max-width: 600px) {
  .service-content {
    height: 39vh;
  }
}

@media (max-width: 400px) {
  .service-content {
    height: 28vh !important;
  }
}

/* Modal styles */
.solution-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.solution-modal.show {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 95vw;
  width: 400px;
  padding: 2rem 1rem 1rem 1rem;
  position: relative;
  overflow-y: auto;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}
/* Inline details for desktop */
.solution-details-inline {
  display: none;
  background: #fff;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 1rem;
  grid-column: 1/-1;
  animation: fadeIn 0.3s;
  margin-bottom: 40px;
}
.solution-details-inline.show {
  display: block;
}

.footer-flex-responsive {
  display: flex;
  flex-direction: row;
  justify-content: start;
  width: 100%;
  max-width: 1400px;
}
.footer-logo {
  margin-right: 60px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .solution-details-inline {
    display: none !important;
  }
}
@media (max-width: 650px) {
.footer-logo {
  margin-right: 0px;
  align-items: center;
  display: flex;
  flex-direction: column;
}
  .footer-flex-responsive {
    flex-direction: column;
    gap: 20px;
  }



}




