/* =========================================================
   Forte Technology — folha de estilo principal
   ========================================================= */
/* Fonte Montserrat hospedada localmente (licença OFL em assets/fonts) */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/montserrat-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000;
  --white: #fff;
  --blue: #0090f3;
  --purple: #8a2be2;
  --text-dark: #111;
  --gray-line: rgba(255, 255, 255, .35);
  --container: 1140px;
  --font: 'Montserrat', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--black); padding: 8px 14px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Header ---------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 26px 0;
}
.header-inner { /* medidas do original: logo a 225px da esquerda, idioma a 200px da direita */
  display: flex;
  align-items: center;
  padding-right: clamp(24px, 20vw - 200px, 185px);
  padding-left: clamp(24px, 25vw - 250px, 225px);
}
.logo img { width: 176px; }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex;
}
.main-nav a { /* cores do menu original: normal branco, hover laranja, seção atual cinza */
  display: block;
  padding: 0 15px;
  line-height: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color .4s ease;
}
.main-nav a.active { color: rgb(112, 112, 112); }
.main-nav a:hover { color: rgb(196, 83, 8); }

.header-tools { display: flex; align-items: center; margin-left: 12px; }
.header-tools .social { margin-left: clamp(16px, 6.6vw - 42px, 85px); gap: 18px; }
.header-tools .lang { margin-left: clamp(16px, 9vw - 56px, 117px); }
.social { display: flex; gap: 12px; align-items: center; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--white); }
.social svg { width: 30px; height: 30px; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; width: 120px; padding: 0;
  background: var(--blue); color: var(--white);
  border-radius: 8px; text-decoration: none; font-size: 16px;
  white-space: nowrap; transition: filter .2s;
}
.btn-primary:hover { filter: brightness(1.12); }

/* seletor de idioma */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  height: 39px; min-width: 111px; padding: 0 14px;
  background: #eeeef4; border: 1px solid #d3d3da; border-radius: 10px;
  font: 14px var(--font); color: #000; cursor: pointer;
}
.lang-btn img, .lang-menu img { width: 17px; height: 17px; border-radius: 50%; }
.lang-btn svg { width: 12px; height: 12px; margin-left: auto; transition: transform .2s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  list-style: none; margin: 0; padding: 6px 0;
  background: #fff; border: 1px solid #d3d3da; border-radius: 10px;
  min-width: 140px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; color: #000; text-decoration: none; font-size: 14px;
}
.lang-menu a:hover { background: #eeeef4; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; cursor: pointer; padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 722px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  background: #000 url('../img/hero-bg.jpg') center top / auto max(840px, 56.1vw) no-repeat; /* igual ao original: imagem de 840px de altura cortada em 722px */
  overflow: hidden;
  padding: 160px 24px 80px;
}
.hero::after { /* degradê para o preto na base */
  content: ''; position: absolute; inset: 0 0 -1px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 72%, #000 97%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-size: 47px;
  line-height: 1.5;
  letter-spacing: .01em;
  font-weight: 400;
}
.hero h1 strong { font-weight: 700; display: block; }
.hero-icon { width: 212px; margin-top: 90px; }

/* ---------------- Elementos comuns de seção ---------------- */
.section { padding: 110px 0; }
.eyebrow {
  display: flex; align-items: center; gap: 22px;
  font-size: 14px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow img { width: 22px; }
.section-title {
  font-size: 24px; font-weight: 400;
  letter-spacing: .08em; line-height: 1.8;
  margin: 36px 0 32px;
}
.text .section-title { font-size: 24px; line-height: 1.8; } /* evita herdar o tamanho dos parágrafos */
.lined-about .section-title { margin-bottom: 77px; }
.partners { padding-top: 150px; }
/* Linha vertical fina + segmento grosso ao lado do título (medidas do original) */
.lined {
  position: relative;
  padding-left: 60px;
  --thin-h: 258px; --thin-c: rgb(112,112,112);
  --thick-top: 65px; --thick-h: 129px; --thick-c: #000;
}
.lined::before, .lined::after { content: ''; position: absolute; }
.lined::before { left: 0; top: -4px; width: 1px; height: var(--thin-h); background: var(--thin-c); }
.lined::after  { left: -1px; top: var(--thick-top); width: 3px; height: var(--thick-h); background: var(--thick-c); }
.lined-about    { --thin-h: 460px; --thin-c: rgb(180,180,180); --thick-top: 112px; --thick-h: 129px; --thick-c: #fff; }
.lined-services { --thin-h: 258px; --thin-c: rgb(112,112,112); --thick-top: 65px;  --thick-h: 129px; --thick-c: #000; }
.lined-why      { --thin-h: 531px; --thin-c: rgb(180,180,180); --thick-top: 82px;  --thick-h: 130px; --thick-c: #fff; }
.lined-partners { --thin-h: 444px; --thin-c: rgb(180,180,180); --thick-top: 62px;  --thick-h: 86px;  --thick-c: #fff; }
.lined-contact  { --thin-h: 188px; --thin-c: rgb(112,112,112); --thick-h: 0; }
.dark { background: var(--black); color: var(--white); }
.dark p { color: #fffffe; }
.text p + p { margin-top: 20px; }
.text p { font-size: 16px; line-height: 1.4; }

/* ---------------- Quem somos ---------------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 954px;
}
.about-col { padding: 141px 24px 140px clamp(24px, 25vw - 232px, 400px); }
.about-text { max-width: 413px; }
.about-img { position: relative; overflow: hidden; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------------- Serviços ---------------- */
.services { padding-top: 130px; }
.services-wrap { max-width: none; padding: 0; }
.services .lined { margin-left: max(24px, calc(50% - 683px)); }
.services .section-title { max-width: 340px; }
.services-grid {
  list-style: none; margin: 142px auto 0; padding: 0 24px; max-width: 1473px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 90px 0;
}
.service { text-align: center; }
.service img { width: 210px; height: 210px; object-fit: cover; margin: 0 auto 24px; }
.service h3 {
  font-size: 20px; font-weight: 400; line-height: 1.4;
  max-width: 280px; margin: 0 auto;
}
.services-grid .service:last-child { grid-column: 2; }

/* ---------------- Por que contratar ---------------- */
.why {
  background: #000 url('../img/banner-porque.jpg') center / cover no-repeat;
  padding: 110px 0 130px;
}
.why-card {
  background: #000; color: #fff;
  border-radius: 18px;
  padding: 60px 40px 56px 20px;
  max-width: 460px;
}
.why-card .lined { padding-left: 60px; }
.why-card .section-title { line-height: 1.47; }
.why-list { margin: 0; padding-left: 14px; }
.why-list li { font-size: 16px; line-height: 1.4; margin-bottom: 4px; }
.btn-outline {
  display: inline-flex; align-items: stretch;
  margin: 40px 0 0 60px;
  border: 1px solid #fff; border-radius: 8px;
  color: #fff; text-decoration: none; font-size: 16px;
  overflow: hidden;
  transition: background .2s, color .2s;
}
.btn-outline span { padding: 8px 10px 8px 12px; }
.btn-outline i {
  display: flex; align-items: center; padding: 0 10px;
  border-left: 1px solid #fff; font-style: normal;
}
.btn-outline svg { width: 16px; height: 16px; }
.btn-outline:hover { background: #fff; color: #000; }
.btn-outline:hover i { border-color: #000; }

/* ---------------- Parceiros ---------------- */
.partners .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.partners-text { max-width: 400px; margin-left: 30px; }
.partners-logo { display: flex; justify-content: center; }
.partners-logo img { width: 296px; }

/* ---------------- Contatos ---------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  margin-top: 60px;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; gap: 22px; align-items: flex-start;
  margin-bottom: 40px; font-size: 14px; line-height: 1.95;
}
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; align-content: start; max-width: 480px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; }
.field input, .field textarea {
  font: 14px var(--font);
  border: 1px solid #000; border-radius: 0;
  padding: 8px 10px; background: #fff; color: #000;
  width: 100%;
}
.field textarea { height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.hp { position: absolute; left: -9999px; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.form-status { font-size: 14px; }
.form-status.ok { color: #0a7a2f; }
.form-status.err { color: #c0162c; }
.btn-dark {
  background: #000; color: #fff; border: 0; border-radius: 4px;
  font: 14px var(--font); padding: 0 26px; height: 36px; min-width: 120px; cursor: pointer;
}
.btn-dark:disabled { opacity: .6; cursor: wait; }

.map { margin-top: 70px; }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------------- Rodapé ---------------- */
.site-footer { padding: 30px 0 40px; }
.site-footer .container { display: flex; align-items: center; gap: 24px; }
.site-footer .logo-footer img { width: 133px; }
.site-footer .social { margin-left: auto; }
.site-footer .social a { color: var(--blue); }
.site-footer p { font-size: 14px; margin-left: 30px; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 1200px) {
  .header-tools .social { display: none; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-inner { flex-wrap: wrap; gap: 16px; }
  .header-tools { margin-left: 0; }
  .header-tools .lang { margin-left: 0; }
  .main-nav {
    order: 5; width: 100%; margin: 0;
    display: none;
    background: rgba(0,0,0,.92); border-radius: 12px; padding: 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { line-height: 40px; }
  .header-tools { order: 4; }
  .header-tools .btn-primary { display: none; }

}

@media (max-width: 860px) {
  .hero { min-height: 560px; padding-top: 150px; }
  .hero h1 { font-size: 30px; }
  .hero-icon { width: 150px; margin-top: 60px; }

  .section { padding: 70px 0; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .lined-about .section-title { margin-bottom: 32px; }
  .about-col { padding: 70px 24px; }
  .about-img { height: 420px; }
  .services .lined { margin-left: 0; }
  .services-grid { margin-top: 60px; }
  .partners .container,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text, .partners-text { margin-left: 0; max-width: none; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .services-grid .service:last-child { grid-column: 1 / -1; }
  .service img { width: 170px; height: 170px; }
  .service h3 { font-size: 17px; }

  .why { padding: 60px 0; }
  .why-card { max-width: none; padding: 40px 24px 40px 12px; }

  .contact-form { max-width: none; }
  .site-footer .container { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-footer .social { margin-left: 0; }
  .site-footer p { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .logo img { width: 140px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; flex-direction: column-reverse; align-items: stretch; }
}

/* ---------------- Captcha do formulário ---------------- */
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-img { width: 180px; height: 60px; border: 1px solid #000; background: #f5f5fa; flex: none; }
.captcha-refresh {
  flex: none; width: 40px; height: 40px; border: 1px solid #000; background: #fff;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #000;
}
.captcha-refresh:hover { background: #000; color: #fff; }
.captcha-refresh svg { width: 18px; height: 18px; }
.captcha-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .2em; }
.captcha-row input::placeholder { text-transform: none; letter-spacing: 0; font-size: 12px; }
.form-status { flex: 1; line-height: 1.4; }
.form-status.ok, .form-status.err { padding: 10px 12px; border-radius: 4px; }
.form-status.ok  { background: #e7f6ec; border: 1px solid #0a7a2f; }
.form-status.err { background: #fdecee; border: 1px solid #c0162c; }
@media (max-width: 520px) {
  .captcha-row { flex-wrap: wrap; }
  .captcha-row input { flex-basis: 100%; }
}
