/* =========================================================
   INOVA AR ENGENHARIA | WEBSITE INSTITUCIONAL - CONCEITO 1
   CSS autoral, estruturado por componentes para fácil edição.
   ========================================================= */

/* 01. TOKENS DE DESIGN */
:root {
  --navy: #0E2958;
  --blue: #0d67c6;
  --sky: #a9cee9;
  --ink: #182a40;
  --muted: #617184;
  --offwhite: #f4f6f8;
  --line: #dbe1e8;
  --white: #fff;
  --heading: 'Montserrat', Arial, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
  --max-width: 1360px;
  --header-height: 104px;
}

/* 02. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.content-width { width: min(var(--max-width), calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 130px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); }
.skip-link { position: absolute; z-index: 1000; top: -100px; left: 8px; background: white; padding: 12px; }
.skip-link:focus { top: 8px; }

/* 03. COMPONENTES */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--blue); font-family: var(--heading); font-size: 11px; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
.eyebrow-line { display: inline-block; flex: 0 0 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: #a9d7ff; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 56px; padding: 0 24px; font-size: 13px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #deedfc; }
.button-outline { border: 1px solid #ffffffaa; color: white; width: fit-content; }
.button-outline:hover { background: white; color: var(--navy); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--navy); }
.text-link { font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 17px; }
.text-link-white { color: white; }
.underlined-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; padding-bottom: 12px; border-bottom: 1px solid var(--blue); color: var(--navy); font-size: 13px; font-weight: 700; }
.underlined-link-light { color: white; border-bottom-color: #8da9ca; }
.section-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.small-index { color: #8b98a7; font-size: 11px; letter-spacing: .1em; }
h2 { color: var(--navy); font-size: clamp(34px, 3.4vw, 56px); line-height: 1.16; letter-spacing: -.052em; font-weight: 600; }
h2 em { font-style: normal; color: var(--blue); }

/* 04. CABEÇALHO */
.site-header { position: relative; z-index: 50; background: var(--white); color: white; }
.header-shell { height: var(--header-height); width: min(1560px, calc(100% - 96px)); margin: auto; display: flex; align-items: center; gap: 38px; }
.brand {
  width: 170px;
  min-width: 170px;
  align-self: center;
  display: grid;
  place-items: center;
  background: white;
  padding: 0;
}

.brand img {
  width: 120px;
  height: 100px;
  object-fit: contain;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(17px, 2.7vw, 46px); margin-left: auto; }
.desktop-nav a { position: relative; font-size: 13px; white-space: nowrap; color: var(--navy); font-weight: 600; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.current { color: var(--navy); }
.desktop-nav a.current::after { content: ''; position: absolute; height: 2px; bottom: -15px; left: 0; right: 0; background: var(--sky); }
.header-contact { min-height: 45px; background: var(--navy); color: var(--white); border: 1px solid #6e8fb8; padding: 0 15px; margin-left: 15px; display: inline-flex; align-items: center; gap: 17px; font-size: 12px; white-space: nowrap; font-weight: 700; }
.header-contact:hover { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; appearance: none; cursor: pointer; border: 0; background: transparent; padding: 12px 0 12px 12px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }
.mobile-nav { background: var(--navy); padding: 12px 24px 26px; border-top: 1px solid #31527d; }
.mobile-nav a { padding: 14px 8px; display: block; border-bottom: 1px solid #31527d; font-size: 16px; }
.mobile-nav[hidden] { display: none !important; }

/* 05. BANNER PRINCIPAL */
.hero { position: relative; min-height: min(760px, 81vh); min-height: clamp(570px, 75vh, 790px); display: flex; align-items: stretch; background: #152c44; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,20,42,.94) 0%, rgba(8,28,53,.79) 35%, rgba(9,25,42,.32) 73%, rgba(8,21,38,.14) 100%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: inherit; padding: 70px 0 92px; }
.hero-copy { max-width: 750px; }
.hero-copy {
  max-width: 750px;
  transform: translateY(-60px);
            }
.hero h1 { max-width: 740px; color: white; font-size: clamp(44px, 4.8vw, 76px); letter-spacing: -.065em; line-height: 1.075; font-weight: 600; margin: 31px 0 28px; }
.hero-title-line {
  white-space: nowrap;
                  }
.hero-description { max-width: 540px; color: #e3ebf4; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.hero-side-note { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; writing-mode: vertical-rl; gap: 22px; font-size: 10px; letter-spacing: .18em; color: #e4eaf5; }
.hero-caption { position: absolute; right: 32px; bottom: 22px; font-size: 10px; letter-spacing: .02em; opacity: .8; text-align: right; }
.hero-scroll { position: absolute; left: max(56px, calc((100vw - var(--max-width))/2)); bottom: 26px; display: flex; align-items: center; gap: 12px; color: white; font-size: 16px; }
.hero-scroll span { font-size: 10px; letter-spacing: .18em; }

/* 06. APRESENTAÇÃO INSTITUCIONAL */
.intro-grid { display: grid; grid-template-columns: 1fr .95fr; column-gap: 13%; }
.intro .section-heading h2 { max-width: 590px; margin: 27px 0 0; }
.intro-copy { padding-top: 57px; max-width: 560px; }
.intro-copy p { color: var(--muted); line-height: 1.9; font-size: 15px; }
.intro-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.6; font-weight: 500; margin-bottom: 22px; }
.intro-copy .underlined-link { margin-top: 19px; }

/* 07. SERVIÇOS */
.services { background: var(--sky); }
.services-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 63px; }
.services-heading h2 { margin: 0; max-width: 820px; }
.services-heading p { max-width: 310px; line-height: 1.8; color: var(--muted); font-size: 14px; margin: 0 0 7px; }
.service-list { border-top: 1px solid #cad3dd; }
.service-item { display: grid; grid-template-columns: 7% 41% 1fr 32px; align-items: center; gap: 21px; border-bottom: 1px solid #cad3dd; padding: 36px 0; transition: padding .2s, background .2s; }
.service-item:hover { padding-inline: 14px; background: #e9eff5; }
.service-num { font-size: 12px; color: var(--blue); font-weight: 700; }
.service-title { font-family: var(--heading); color: var(--navy); letter-spacing: -.035em; font-size: clamp(19px, 2vw, 29px); font-weight: 600; }
.service-description { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 430px; }
.service-arrow { font-size: 28px; font-weight: 300; color: var(--blue); }

/* 08. SOLUÇÕES POR PÚBLICO */
.solutions { padding-top: 120px; }
.solutions-intro { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 50px; }
.solutions-intro h2 { max-width: 600px; margin-bottom: 0; }
.solutions-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.solution-panel { position: relative; height: 600px; overflow: hidden; color: white; }
.solution-panel img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.solution-panel:first-child img { object-position: center 45%; }
.solution-panel:hover img { transform: scale(1.035); }
.solution-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,19,39,.89), rgba(5,24,42,.16) 70%); }
.solution-content { position: absolute; bottom: 60px; left: clamp(34px, 6vw, 110px); right: 40px; }
.solution-content > span { font-weight: 700; font-size: 11px; letter-spacing: .17em; color: #a9d7ff; }
.solution-content h3 { max-width: 500px; font-size: clamp(31px, 3vw, 47px); letter-spacing: -.05em; line-height: 1.2; font-weight: 600; margin: 20px 0; }
.solution-content p { max-width: 360px; font-size: 15px; line-height: 1.6; color: #e5edf6; margin-bottom: 30px; }

/* 09. PORTFÓLIO */
.projects-header { display: flex; justify-content: space-between; align-items: end; gap: 55px; margin-bottom: 54px; }
.projects-header h2 { margin: 0; }
.projects-header p { color: var(--muted); line-height: 1.7; max-width: 250px; margin-bottom: 7px; }
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.project-card { min-width: 0; }
.project-photo { width: 100%; height: 460px; overflow: hidden; background: var(--offwhite); }
.project-card-large .project-photo { height: 570px; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover img { transform: scale(1.025); }
.project-card-large img { object-position: center 44%; }
.project-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--blue); letter-spacing: .12em; font-weight: 700; margin-top: 24px; }
.project-card h3 { font-size: 29px; color: var(--navy); font-weight: 600; margin: 13px 0 8px; letter-spacing: -.04em; }
.project-card p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 560px; }
.project-note { color: #8693a2; font-size: 11px; line-height: 1.7; margin-top: 27px; }

/* 10. ENGENHARIA */
.technical-strip { background: var(--blue); color: white; padding: 112px 0; }
.technical-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12%; align-items: end; }
.technical-grid h2 { color: white; margin: 21px 0 0; }
.technical-grid p:not(.eyebrow) { font-size: 16px; color: #cbd9e9; line-height: 1.8; max-width: 490px; margin-bottom: 30px; }

/* 11. CONTATO */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; align-items: center; }
.contact-grid h2 { margin: 23px 0 25px; }
.contact-grid p:not(.eyebrow) { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 470px; }
.contact-panel { background: var(--offwhite); padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.panel-label { color: var(--muted); font-size: 10px; letter-spacing: .16em; font-weight: 700; }
.contact-phone { color: var(--navy); font-family: var(--heading); font-size: clamp(22px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.04em; display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.contact-phone span { font-size: 22px; color: var(--blue); }
.contact-divider { height: 1px; width: 100%; background: var(--line); margin: 30px 0; }
.contact-panel .button { width: 100%; margin-bottom: 28px; }

/* 12. RODAPÉ */
.footer { background: var(--navy); color: white; }
.footer-top { padding-block: 74px 85px; display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 70px; }
.footer-brand { background: var(--navy); width: 340px; height: 140px; display: grid; place-items: center; padding: 8px; }
.footer-brand img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  transform: scale(1.9);
  transform-origin: center;
}
.footer-top > div { display: flex; flex-direction: column; gap: 14px; }
.footer-top > div a, .footer-top > div > span:not(.footer-label) { font-size: 13px; color: #d7e4f0; }
.footer-top > div a:hover { color: var(--sky); }
.footer-label { font-size: 10px; font-weight: 700; color: #85aad7; letter-spacing: .2em; margin-bottom: 17px; }
.footer-bottom { border-top: 1px solid #2a4262; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #9eb2cc; font-size: 11px; }
.footer-bottom a:hover { color: white; }

/* 13. RESPONSIVIDADE: TABLET */
@media (max-width: 1200px) {
  .content-width { width: min(var(--max-width), calc(100% - 72px)); }
  .header-shell { width: calc(100% - 48px); gap: 24px; }
  .desktop-nav { gap: 20px; }
  .header-contact { margin-left: 0; }
  .hero-scroll { left: 36px; }
  .service-item { grid-template-columns: 5% 40% 1fr 25px; gap: 14px; }
}
@media (max-width: 980px) {
  :root { --header-height: 84px; }
  .desktop-nav, .header-contact { display: none; }
  .header-shell { width: calc(100% - 40px); justify-content: space-between; }
  .brand { min-width: 132px; width: 132px; padding: 5px 18px; }
  .brand img { height: 74px; width: 74px; }
  .menu-toggle { display: block; }
  .intro-grid, .technical-grid { gap: 6%; }
  .services-heading { display: block; }
  .services-heading p { margin-top: 22px; max-width: 550px; }
  .solutions-intro { display: block; }
  .solution-panel { height: 530px; }
  .solution-content { left: 36px; right: 24px; }
}

/* 14. RESPONSIVIDADE: CELULAR */
@media (max-width: 720px) {
  :root { --header-height: 74px; }
  .content-width { width: calc(100% - 40px); }
  .section-space { padding-block: 82px; }
  .header-shell { width: calc(100% - 30px); }
@media (max-width: 720px) {
  .brand {
    width: 135px;
    min-width: 135px;
    align-self: center;
    padding: 0;
  }

  .brand img {
    width: 115px;
    height: 70px;
    object-fit: contain;
  }
}
  .hero { min-height: 690px; }
  .hero-image { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,19,40,.94), rgba(4,19,40,.54)), linear-gradient(0deg, rgba(4,19,40,.75), transparent 60%); }
  .hero-inner { padding: 75px 0 100px; align-items: center; }
 .hero h1 {
  font-size: clamp(27px, 7.5vw, 40px);
  line-height: 1.12;
  margin: 25px 0;
          }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 23px; }
  .hero-side-note { display: none; }
  .hero-caption { left: 20px; right: 20px; bottom: 15px; text-align: left; font-size: 9px; }
  .hero-scroll { display: none; }
  .intro-grid, .technical-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy { padding-top: 0; }
  .intro-copy .lead { font-size: 17px; }
  h2 { font-size: clamp(32px, 8vw, 46px); }
  .section-topline { margin-bottom: 20px; }
  .small-index { display: none; }
  .services-heading { margin-bottom: 32px; }
  .service-item { grid-template-columns: 25px 1fr 24px; padding: 28px 0; gap: 12px; }
  .service-title { font-size: 19px; }
  .service-description { grid-column: 2; grid-row: 2; font-size: 13px; }
  .service-arrow { grid-column: 3; grid-row: 1; font-size: 20px; }
  .solutions { padding-top: 82px; }
  .solutions-intro { padding-bottom: 30px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-panel { height: 520px; }
  .solution-content { bottom: 38px; }
  .solution-content h3 { font-size: 36px; }
  .projects-header { display: block; margin-bottom: 36px; }
  .projects-header p { margin-top: 23px; }
  .project-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-photo, .project-card-large .project-photo { height: 360px; }
  .project-card h3 { font-size: 25px; }
  .technical-strip { padding: 82px 0; }
  .contact-panel { padding: 28px 23px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 50px 22px; padding-block: 62px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* ==========================================
   FORMULÁRIO DE CONTATO — INOVA AR
   ========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: start;
}

.contact-intro {
  padding-top: 16px;
}

.contact-extra {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid #d9e1e8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-extra-label,
.form-topline {
  color: #0D67C6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-extra a {
  color: #0D2B5C;
  font-size: 17px;
  font-weight: 700;
}

.contact-extra > span:last-child {
  color: #667482;
  font-size: 13px;
}

.contact-panel {
  display: block;
  background: #f4f6f8;
  padding: 44px;
}

.form-topline {
  margin: 0 0 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 21px;
}

.form-field label {
  color: #0D2B5C;
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #cdd6df;
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  color: #15202c;
  font: inherit;
  font-size: 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 135px;
}

.form-field select {
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #0D67C6;
  box-shadow: 0 0 0 3px rgba(13,103,198,.12);
}

.form-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: #667482;
  margin-bottom: 22px;
}

.contact-submit {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin-top: 16px;
  font-size: 13px;
}

.form-status:empty {
  display: none;
}

.form-status.error {
  color: #aa2931;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Formulário adaptado ao celular */

@media (max-width: 720px) {

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

  .contact-extra {
    margin-top: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Reduz o espaço interno do formulário */
  .contact-panel {
    padding: 18px 22px;
  }

  /* Reduz a distância entre os campos */
  .form-field {
    gap: 6px;
    margin-bottom: 12px;
  }

  /* Reduz a altura dos campos */
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 10px 16px;
  }

  /* Reduz a altura da caixa de mensagem */
  .form-field textarea {
    min-height: 90px;
  }

  /* Reduz a distância abaixo do título do formulário */
  .form-topline {
    margin-bottom: 18px;
  }

  /* Reduz o espaço antes do botão */
  .form-privacy {
    margin-bottom: 14px;
  }
}
/* Redes sociais no rodapé */

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social .social-icon {
  width: 27px;
  height: 27px;
  display: block;
}
/* CORREÇÃO DO CONTATO NA VERSÃO MOBILE */

@media (max-width: 720px) {

  /* Garante espaço abaixo do formulário */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  /* Mantém o formulário na altura do conteúdo */
  .contact-panel {
    height: auto;
    min-height: 0;
    margin-bottom: 50px;
  }

}
@media (max-width: 720px) {

  .project-photo,
  .project-card-large .project-photo {
    display: block;
    width: 100%;
    height: 320px;
    overflow: hidden;
  }

  .project-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    visibility: visible;
  }

}
@media (max-width: 720px) {

  /* Reduz o espaço acima da logo */
  .footer-top {
    padding-top: 20px;
    padding-bottom: 45px;
    gap: 30px 22px;
  }

  /* Área da logomarca */
  .footer-brand {
    width: 240px;
    height: 120px;
    padding: 0;
    align-self: start;
  }

  /* Mantém a logo ampliada */
  .footer-brand img {
    width: 230px;
    height: 110px;
    object-fit: contain;
    transform: scale(1.2);
    transform-origin: center;
  }

}
/* TEXTO JUSTIFICADO — NOSSA HISTÓRIA */

.historia-texto {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
/* NOSSA HISTÓRIA — TEXTO DA COLUNA ESQUERDA */

@media (min-width: 721px) {
  .intro .section-heading .historia-texto {
    font-size: 22px;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
  }
}