/* ==============================
   RESET
================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #F7F8FA;
  color: #172033;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ==============================
   ESTRUTURA
================================= */

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}


/* ==============================
   HEADER
================================= */

.site-header {
  background: #16324F;
}

.header-content {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.logo {
  color: #FFFFFF;

  font-size: 1.05rem;
  font-weight: 700;

  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #DCE5EE;

  font-size: 0.92rem;
  font-weight: 500;

  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #FFFFFF;
}


/* ==============================
   HERO
================================= */

.hero {
  min-height: calc(100vh - 76px);

  display: flex;
  align-items: center;

  padding: 100px 0 120px;
}

.hero-content {
  max-width: 1120px;
}

.hero-label {
  margin-bottom: 22px;

  color: #2563A6;

  font-size: 0.9rem;
  font-weight: 600;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;

  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 700;

  line-height: 1.04;
  letter-spacing: -0.055em;

  color: #172033;
}

.hero h1 span {
  display: block;
  color: #16324F;
}

.hero-text {
  max-width: 680px;

  margin-top: 30px;

  color: #5D6878;

  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 38px;
}


/* ==============================
   BOTÕES
================================= */

.button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border: 1px solid transparent;
  border-radius: 7px;

  font-size: 0.95rem;
  font-weight: 600;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button-primary {
  background: #2563A6;
  color: #FFFFFF;
}

.button-primary:hover {
  background: #16324F;
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: #16324F;

  border-color: #C9D2DC;
}

.button-secondary:hover {
  background: #EEF2F6;
  border-color: #AAB6C3;

  transform: translateY(-1px);
}

/* ==============================
   PROJETOS
================================= */

.projects {
  padding: 110px 0 120px;
  background: #EEF2F6;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 55px;
}

.section-label {
  margin-bottom: 14px;

  color: #2563A6;

  font-size: 0.85rem;
  font-weight: 600;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading h2 {
  color: #172033;

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;

  line-height: 1.15;
  letter-spacing: -0.04em;
}



.section-description {
  margin-top: 18px;

  color: #5D6878;

  font-size: 1.05rem;
  line-height: 1.7;
}

.projects-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
 
.projects-illustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* GRID */

.projects-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;
}


/* CARD */

.project-card {
  background: #FFFFFF;

  border: 1px solid #DDE3EA;
  border-radius: 10px;
}

.project-card-content {
  min-height: 100%;

  display: flex;
  flex-direction: column;

  padding: 38px;
}

.project-status {
  align-self: flex-start;

  margin-bottom: 22px;

  color: #2563A6;

  font-size: 0.78rem;
  font-weight: 600;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 16px;

  color: #172033;

  font-size: 1.6rem;
  font-weight: 700;

  letter-spacing: -0.025em;
}

.project-description {
  color: #5D6878;

  line-height: 1.7;
}

.project-problem {
  margin-top: 28px;
  padding-top: 24px;

  border-top: 1px solid #E4E8ED;
}

.project-problem strong {
  display: block;

  margin-bottom: 8px;

  color: #172033;

  font-size: 0.88rem;
  font-weight: 600;
}

.project-problem p {
  color: #5D6878;

  font-size: 0.94rem;
  line-height: 1.65;
}

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

  margin-top: 30px;

  color: #2563A6;

  font-size: 0.92rem;
  font-weight: 600;
}

.project-link:hover {
  color: #16324F;
}
.demo-projects-heading {
  margin-top: 56px;
  margin-bottom: 38px;
  max-width: 760px;
}

.about {
  padding: 110px 0;
  background: #F7F8FA;
}

.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-text p {
  margin-bottom: 22px;

  color: #5D6878;

  font-size: 1.05rem;
  line-height: 1.8;
}

.about-highlight {
  padding: 32px;

  background: #FFFFFF;

  border: 1px solid #D8E0E8;
  border-radius: 8px;
}

.about-highlight strong {
  display: block;
  margin-bottom: 14px;

  color: #172033;

  font-size: 1rem; 
}

.about-highlight p {
  color: #5D6878;

  font-size: 1rem;
  line-height: 1.7;
}

.contact {
  padding: 90px 0;

  background: #EEF2F6;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.contact-content > div {
  max-width: 700px;
}

.contact h2 {
  margin-top: 12px;

  color: #172033;

  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact p {
  margin-top: 18px;

  color: #5D6878;

  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-button {
  flex-shrink: 0;

  padding: 15px 24px;

  background: #2563A6;
  color: #FFFFFF;

  border-radius: 6px;

  font-size: 0.95rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-button:hover {
  background: #16324F;
  transform: translateY(-2px);
}


/* ==============================
   RESPONSIVO
================================= */

@media (max-width: 640px) {

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-content {
    min-height: auto;

    padding: 20px 0;

    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
  }

  .main-nav {
    width: 100%;

    gap: 22px;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;

    padding: 90px 0 100px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .hero-text {
    margin-top: 26px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .button {
    width: 100%;
  }

}

@media (max-width: 560px) {

  .projects {
    padding: 80px 0 90px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card-content {
    padding: 28px;
  }

  .about {
  padding: 80px 0;
}

.about-content {
  grid-template-columns: 1fr;
  gap: 36px;
}

.contact {
  padding: 75px 0;
}

.contact-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

}
.site-footer {
  padding: 42px 0;
  background: #16324F;
  color: #FFFFFF;
}

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

.footer-brand strong {
  display: block;

  font-size: 1.05rem;
  font-weight: 600;
}

.footer-brand p {
  margin-top: 6px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.85rem;
  text-align: right;
}
