/* =========================================================
   VÉRTICE ENGENHARIA
   CSS3 — Clean / Mobile First
========================================================= */


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

  --white: #ffffff;
  --off-white: #f7f8f9;
  --light: #eef1f3;

  --navy: #142536;
  --graphite: #27333f;

  --text: #26323d;
  --text-muted: #687581;
  --text-light: #8b969f;

  --orange: #c6613d;
  --orange-dark: #a94e2e;

  --border: #dfe4e7;
  --border-dark: #cbd3d9;

  --container: 1180px;

  --radius: 10px;

  --transition: 220ms ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;

  font-family: "Inter", sans-serif;
  color: var(--text);

  background: var(--white);

  line-height: 1.65;

  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1,
h2 {
  letter-spacing: -0.045em;
}


/* =========================================================
   CONTAINER / SEÇÕES
========================================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}

.section {
  padding: 82px 0;
}


/* =========================================================
   TIPOGRAFIA DE SEÇÃO
========================================================= */

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  color: var(--orange);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;

  text-transform: uppercase;
}

.section-kicker::before {
  content: "";

  width: 25px;
  height: 1.5px;

  background: currentColor;
}

.section-kicker.dark {
  color: var(--orange);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;

  margin-bottom: 55px;
}

.section-number {
  color: var(--text-light);

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-header h2 {
  max-width: 800px;

  margin-bottom: 0;

  color: var(--navy);

  font-size: clamp(
    2.25rem,
    8vw,
    4.7rem
  );
}

.section-header h2 span {
  color: var(--orange);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

  position: fixed;
  z-index: 1000;

  top: 0;
  left: 0;
  right: 0;

  height: 76px;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(14px);

  transition:
    height var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  height: 68px;

  box-shadow:
    0 8px 30px rgba(20, 37, 54, 0.07);
}

.header-inner {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* =========================================================
   LOGO PLACEHOLDER
========================================================= */

.brand {
  display: block;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-placeholder-symbol {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  color: var(--navy);

  font-size: 0.9rem;
  font-weight: 800;

  position: relative;
}

.logo-placeholder-symbol::after {
  content: "";

  position: absolute;

  right: -5px;
  bottom: -5px;

  width: 9px;
  height: 9px;

  background: var(--orange);
}

.logo-placeholder-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.logo-placeholder-text strong {
  color: var(--navy);

  font-size: 0.95rem;
  font-weight: 800;

  letter-spacing: 0.09em;
}

.logo-placeholder-text small {
  margin-top: 5px;

  color: var(--text-light);

  font-size: 0.43rem;
  font-weight: 700;

  letter-spacing: 0.2em;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.main-nav {

  position: fixed;

  top: 76px;
  left: 0;
  right: 0;

  padding: 18px 20px 22px;

  display: flex;
  flex-direction: column;

  background: var(--white);

  border-bottom: 1px solid var(--border);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-10px);

  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

.main-nav a {

  min-height: 50px;

  display: flex;
  align-items: center;

  color: var(--text-muted);

  font-size: 0.8rem;
  font-weight: 600;

  border-bottom: 1px solid var(--light);

  transition: color var(--transition);
}

.main-nav a:last-child {
  border-bottom: 0;
}

.main-nav a:hover {
  color: var(--orange);
}


/* =========================================================
   HAMBURGUER
========================================================= */

.menu-toggle {

  width: 46px;
  height: 46px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 5px;

  padding: 0;

  border: 1px solid var(--border);

  background: var(--white);

  cursor: pointer;
}

.menu-toggle span {

  display: block;

  width: 20px;
  height: 1.5px;

  background: var(--navy);

  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {

  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: 76px;

  color: var(--white);

  /*
    IMAGEM PRINCIPAL DO HERO

    Você pode trocar esta URL por:
    url("images/hero-engenharia.jpg")
  */

  background-image:
    url(
      "https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2400&q=85"
    );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {

  position: absolute;

  inset: 0;

  /*
    Overlay propositalmente suave:
    preserva a fotografia sem deixar o texto perder contraste.
  */

  background:
    linear-gradient(
      90deg,
      rgba(10, 22, 34, 0.78) 0%,
      rgba(10, 22, 34, 0.52) 53%,
      rgba(10, 22, 34, 0.18) 100%
    );
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {

  max-width: 850px;

  padding-top: 80px;
  padding-bottom: 115px;
}

.hero h1 {

  max-width: 850px;

  margin-bottom: 25px;

  color: var(--white);

  font-size: clamp(
    2.8rem,
    11vw,
    6.3rem
  );

  font-weight: 700;
}

.hero h1 span {
  color: #e58662;
}

.hero-description {

  max-width: 620px;

  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.84);

  font-size: clamp(
    0.95rem,
    2vw,
    1.08rem
  );
}

.hero-slogan {

  margin-bottom: 35px;

  color: var(--white);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.hero-slogan span {

  margin: 0 7px;

  color: #e58662;
}

.hero-scroll-button {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 16px;

  min-height: 52px;

  padding: 0 21px;

  color: var(--white);

  background: var(--orange);

  border: 1px solid var(--orange);

  font-size: 0.75rem;
  font-weight: 700;

  transition:
    background var(--transition),
    transform var(--transition);
}

.hero-scroll-button:hover {

  background: var(--orange-dark);

  transform: translateY(-2px);
}

.hero-scroll-button span {

  font-size: 1rem;

  transition: transform var(--transition);
}

.hero-scroll-button:hover span {
  transform: translateY(3px);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {

  position: absolute;

  z-index: 3;

  bottom: 0;
  left: 0;
  right: 0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.17);
}

.hero-bottom-inner {

  min-height: 56px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  align-items: center;
}

.hero-bottom-inner span {

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.62rem;
  font-weight: 700;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.hero-bottom-inner span:not(:first-child) {
  padding-left: 20px;

  border-left:
    1px solid
    rgba(255, 255, 255, 0.14);
}


/* =========================================================
   SOBRE
========================================================= */

.about {
  background: var(--white);
}

.about-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 32px;
}

.about-intro {

  padding-left: 20px;

  border-left:
    2px solid
    var(--orange);
}

.about-lead {

  margin-bottom: 0;

  color: var(--navy);

  font-size: clamp(
    1.25rem,
    4vw,
    1.75rem
  );

  line-height: 1.5;
}

.about-text {

  display: grid;

  gap: 16px;

  color: var(--text-muted);

  font-size: 0.92rem;
}

.about-text p {
  margin-bottom: 0;
}

.about-highlights {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  margin-top: 65px;

  border-top:
    1px solid
    var(--border);

  border-bottom:
    1px solid
    var(--border);
}

.highlight-item {

  min-height: 105px;

  display: flex;
  flex-direction: column;

  justify-content: center;

  gap: 5px;

  padding: 15px 12px;

  border-right:
    1px solid
    var(--border);
}

.highlight-item:nth-child(2n) {
  border-right: 0;
}

.highlight-item:nth-child(n + 3) {
  border-top:
    1px solid
    var(--border);
}

.highlight-item strong {

  color: var(--orange);

  font-size: 0.72rem;
}

.highlight-item span {

  color: var(--navy);

  font-size: 0.73rem;
  font-weight: 700;
}


/* =========================================================
   SERVIÇOS
========================================================= */

.services {
  background: var(--off-white);
}

.services-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;
}

.service-card {

  min-height: 390px;

  display: flex;
  flex-direction: column;

  padding: 30px;

  background: var(--white);

  border:
    1px solid
    var(--border);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {

  transform: translateY(-4px);

  box-shadow:
    0 18px 45px
    rgba(20, 37, 54, 0.08);

  border-color:
    var(--border-dark);
}

.service-top {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  margin-bottom: 60px;
}

.service-number {

  color: var(--text-light);

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.service-icon {

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  color: var(--orange);

  background:
    rgba(198, 97, 61, 0.08);

  border-radius: 50%;
}

.service-icon svg {

  width: 22px;
  height: 22px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-content h3 {

  margin-bottom: 14px;

  color: var(--navy);

  font-size: 1.55rem;
}

.service-content p {

  margin-bottom: 0;

  color: var(--text-muted);

  font-size: 0.86rem;
}

.service-link {

  margin-top: auto;

  padding-top: 35px;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--navy);

  font-size: 0.73rem;
  font-weight: 800;
}

.service-link span {

  color: var(--orange);

  font-size: 1rem;

  transition:
    transform var(--transition);
}

.service-link:hover span {
  transform: translateX(4px);
}


/* =========================================================
   STATEMENT
========================================================= */

.statement {

  padding: 20px 0;

  background: var(--white);
}

.statement-box {

  position: relative;

  padding: 65px 30px;

  overflow: hidden;

  background:
    linear-gradient(
      120deg,
      var(--off-white),
      #f4f6f7
    );

  border-left:
    3px solid
    var(--orange);
}

.statement-box::after {

  content: "V";

  position: absolute;

  right: -20px;
  bottom: -70px;

  color: rgba(20, 37, 54, 0.035);

  font-size: 260px;
  font-weight: 800;

  line-height: 0.8;
}

.statement-box > * {
  position: relative;
  z-index: 2;
}

.statement-box h2 {

  max-width: 850px;

  margin-bottom: 22px;

  color: var(--navy);

  font-size: clamp(
    2.3rem,
    8vw,
    4.8rem
  );
}

.statement-box h2 span {
  color: var(--orange);
}

.statement-box p {

  max-width: 650px;

  margin-bottom: 0;

  color: var(--text-muted);

  font-size: 0.92rem;
}


/* =========================================================
   CONTATO
========================================================= */

.contact {
  background: var(--white);
}

.contact-layout {

  display: grid;

  grid-template-columns: 1fr;

  gap: 45px;
}

.contact-intro p {

  max-width: 380px;

  color: var(--text-muted);

  font-size: 1rem;
}

.contact-list {

  border-top:
    1px solid
    var(--border);
}

.contact-item {

  min-height: 92px;

  display: flex;

  align-items: center;

  gap: 15px;

  border-bottom:
    1px solid
    var(--border);

  transition:
    padding-left var(--transition);
}

.contact-item:hover {
  padding-left: 6px;
}

.contact-icon {

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: var(--orange);

  background:
    rgba(198, 97, 61, 0.08);

  border-radius: 50%;
}

.contact-icon svg {

  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-data {

  display: flex;
  flex-direction: column;

  min-width: 0;
}

.contact-data small {

  margin-bottom: 3px;

  color: var(--text-light);

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.contact-data strong {

  color: var(--navy);

  font-size: 0.8rem;
  font-weight: 600;

  overflow-wrap: anywhere;
}

.contact-arrow {

  margin-left: auto;

  color: var(--orange);

  font-size: 1.15rem;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

  color: var(--white);

  background: var(--navy);
}

.footer-main {

  display: grid;

  grid-template-columns: 1fr;

  gap: 45px;

  padding-top: 58px;
  padding-bottom: 55px;
}

.footer-logo {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 18px;
}

.footer-logo-mark {

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  color: var(--white);

  border:
    2px solid
    rgba(255, 255, 255, 0.8);

  font-size: 0.86rem;
  font-weight: 800;
}

.footer-logo > span:last-child {

  display: flex;
  flex-direction: column;

  line-height: 1;
}

.footer-logo strong {

  font-size: 0.9rem;

  letter-spacing: 0.09em;
}

.footer-logo small {

  margin-top: 5px;

  color: #84919e;

  font-size: 0.4rem;

  letter-spacing: 0.2em;
}

.footer-brand p {

  max-width: 330px;

  margin-bottom: 0;

  color: #84919e;

  font-size: 0.75rem;
}

.footer-nav {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 9px;
}

.footer-nav span {

  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 0.66rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.footer-nav a {

  color: #8b98a4;

  font-size: 0.75rem;

  transition:
    color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {

  min-height: 72px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 10px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.09);

  color: #697783;

  font-size: 0.62rem;
}

.footer-bottom a {

  color: #a3adb5;

  transition:
    color var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 700px) {

  .container {
    width:
      min(
        calc(100% - 64px),
        var(--container)
      );
  }

  .section {
    padding: 105px 0;
  }

  .about-grid {

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1.2fr);

    gap: 60px;
  }

  .about-highlights {

    grid-template-columns:
      repeat(4, 1fr);
  }

  .highlight-item {

    border-right:
      1px solid
      var(--border) !important;

    border-top: 0 !important;
  }

  .highlight-item:last-child {
    border-right: 0 !important;
  }

  .services-grid {

    grid-template-columns:
      repeat(3, 1fr);
  }

  .service-card {
    min-height: 435px;
  }

  .statement-box {
    padding: 80px 60px;
  }

  .contact-layout {

    grid-template-columns:
      minmax(0, 0.7fr)
      minmax(0, 1.3fr);

    gap: 80px;
  }

  .footer-main {

    grid-template-columns:
      2fr 1fr;
  }

  .footer-bottom {

    flex-direction: row;

    align-items: center;

    justify-content: space-between;
  }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1024px) {

  .site-header {
    height: 84px;
  }

  .site-header.scrolled {
    height: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {

    position: static;

    padding: 0;

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 32px;

    background: transparent;

    border: 0;

    opacity: 1;
    visibility: visible;

    transform: none;
  }

  .main-nav a {

    min-height: auto;

    color: var(--text-muted);

    border: 0;

    font-size: 0.75rem;

    position: relative;
  }

  .main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -6px;

    height: 1px;

    background: var(--orange);

    transform: scaleX(0);

    transform-origin: center;

    transition:
      transform var(--transition);
  }

  .main-nav a:hover::after {
    transform: scaleX(1);
  }

  .hero {
    padding-top: 84px;
  }

  .hero-content {

    padding-top: 130px;
    padding-bottom: 155px;
  }

  .hero-bottom-inner {

    grid-template-columns:
      repeat(3, 170px);

    gap: 22px;
  }

  .section-header {

    grid-template-columns:
      100px
      minmax(0, 1fr);

    gap: 50px;

    align-items: start;
  }

  .section-number {
    padding-top: 8px;
  }

  .statement {
    padding: 35px 0;
  }

  .statement-box {
    padding: 95px 90px;
  }
}


/* =========================================================
   DESKTOP GRANDE
========================================================= */

@media (min-width: 1280px) {

  .container {
    width:
      min(
        calc(100% - 80px),
        var(--container)
      );
  }

  .hero h1 {
    font-size: 6.2rem;
  }

  .service-card {
    padding: 38px;
  }
}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;
  }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

a:focus-visible,
button:focus-visible {

  outline:
    3px solid
    rgba(198, 97, 61, 0.45);

  outline-offset: 4px;
}