/* =============================================
   OG ENGENHARIA — main.css
   Versão: 1.0.0
   Todos os estilos do tema. Carregado via wp_enqueue_style() em functions.php.
   Caminhos de imagem usam get_template_directory_uri() injetado via JS em main.js
   ou são referenciados como variáveis CSS quando necessário.
============================================= */

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  background: #040D2A;
  color: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ---- TYPOGRAPHY: Plus Jakarta Sans para títulos ---- */
.hero-title-orange,
.hero-title-white,
.section-title,
.servico-title,
.sobre-company,
.cert-label,
.cert-badge,
.solucao-client-name,
.cta-final-title,
.footer-logo-main,
nav a,
.btn-outline,
.btn-cta,
.btn-cta-outline {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   HEADER
============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s;
}
#header.scrolled {
  background: rgba(4, 13, 42, 0.95);
  backdrop-filter: blur(8px);
}

/* LOGO */
.logo-wrap {
  display: flex;
  align-items: center;
}
.logo-img,
.logo-wrap img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Reset do custom-logo do WordPress */
.custom-logo-link { display: flex; align-items: center; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 44px;
}
nav ul { list-style: none; display: flex; align-items: center; gap: 44px; margin: 0; padding: 0; }
nav ul li { margin: 0; padding: 0; }
nav a {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: #C94A1A;
  box-shadow: 0 0 6px rgba(201,74,26,0.7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
nav a:hover { color: #C94A1A; }
nav a:hover::after { transform: scaleX(1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  border-radius: 24px;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
  background: transparent;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: #C94A1A;
  color: #C94A1A;
  box-shadow: 0 0 10px rgba(201,74,26,0.4), 0 0 24px rgba(201,74,26,0.18);
}

/* =============================================
   HERO
   Imagem de fundo injetada via JS (ogTheme.bgImage) para usar URL do WordPress
============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  overflow: hidden;
  background: #040D2A;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-titles-wrap {
  display: inline-block;
  text-align: left;
}

/* Keyframes de entrada */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; transform: translateX(0);     clip-path: inset(0 0% 0 0); }
}
@keyframes dividerGrow {
  from { width: 0%;   opacity: 0; }
  to   { width: 100%; opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title-orange {
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 800;
  font-style: italic;
  color: #C94A1A;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero-title-white {
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  white-space: nowrap;
  opacity: 0;
  animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.hero-divider {
  height: 3px;
  background: #C94A1A;
  margin: 0 0 24px 0;
  box-shadow: 0 0 8px rgba(201,74,26,0.9), 0 0 20px rgba(201,74,26,0.5), 0 0 40px rgba(201,74,26,0.2);
  border-radius: 2px;
  width: 0%;
  opacity: 0;
  animation: dividerGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 36px;
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.35s forwards;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  border-radius: 24px;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.65s forwards;
}
.btn-cta:hover {
  border-color: #C94A1A;
  color: #C94A1A;
  box-shadow: 0 0 10px rgba(201,74,26,0.4), 0 0 28px rgba(201,74,26,0.18);
}

/* =============================================
   SECTION BASE
============================================= */
section {
  position: relative;
  width: 100%;
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 52px;
}

/* =============================================
   PARCEIROS DE SUCESSO
============================================= */
#parceiros { background: #040D2A; }
.parceiros-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.carousel-btn {
  font-size: 22px;
  color: #C94A1A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: text-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
}
.carousel-btn:hover {
  text-shadow: 0 0 10px rgba(201,74,26,0.8), 0 0 24px rgba(201,74,26,0.4);
  transform: scale(1.2);
}
.parceiros-track-outer { flex: 1; overflow: hidden; }
.parceiros-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}
.parceiro-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 24px 20px;
  min-height: 90px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.parceiro-slide:hover {
  border-color: rgba(201,74,26,0.55);
  box-shadow: 0 0 14px rgba(201,74,26,0.2), 0 0 30px rgba(201,74,26,0.08);
}
.parceiro-slide img {
  max-height: 55px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.parceiro-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  text-align: center;
}
.parceiro-placeholder svg { opacity: 0.3; }

/* =============================================
   SERVIÇOS
============================================= */
#servicos { background: #071540; }
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.servico-card {
  background: #0D1F5C;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  border: 1.5px solid transparent;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.3s ease;
}
.servico-card:hover {
  border-color: #C94A1A;
  box-shadow: 0 0 18px rgba(201,74,26,0.25), 0 0 40px rgba(201,74,26,0.1), inset 0 0 20px rgba(201,74,26,0.04);
  transform: translateY(-3px);
}
.servico-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.servico-icon svg {
  width: 48px;
  height: 48px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.4;
}
.servico-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.servico-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.servicos-cta { text-align: center; }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  border-radius: 24px;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta-outline:hover {
  border-color: #C94A1A;
  color: #C94A1A;
  box-shadow: 0 0 10px rgba(201,74,26,0.4), 0 0 28px rgba(201,74,26,0.18);
}

/* =============================================
   SOBRE NÓS
============================================= */
#sobre { background: #061035; }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}
.sobre-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}
.sobre-img-placeholder svg { opacity: 0.3; }
.sobre-img-real {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  object-fit: cover;
}
.sobre-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 6px;
  line-height: 1.1;
}
.sobre-company {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
  line-height: 1.2;
}
.sobre-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Certificações */
.cert-section {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
}
.cert-row-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.cert-label-col {
  flex: 0 0 calc(50% - 32px);
  padding-right: 32px;
}
.cert-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.cert-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 200px;
  line-height: 1.5;
}
.cert-track-outer { overflow: hidden; flex: 1; min-width: 0; }
.cert-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.cert-badge {
  flex: 0 0 calc(50% - 6px);
  background: #0D2080;
  border-radius: 10px;
  padding: 14px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  cursor: default;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.cert-badge:hover {
  background: #122899;
  box-shadow: 0 0 14px rgba(201,74,26,0.2);
}

/* =============================================
   SOLUÇÕES E RESULTADOS
============================================= */
#solucoes { background: #08153E; }
.solucoes-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.solucoes-track-outer { flex: 1; overflow: hidden; }
.solucoes-track {
  display: flex;
  transition: transform 0.4s ease;
}
.solucao-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solucao-client {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.solucao-client-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.solucao-client-logo img { width: 100%; height: 100%; object-fit: contain; }
.solucao-client-logo-placeholder {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px dashed rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
  font-size: 9px;
}
.solucao-client-name {
  font-size: 17px; font-weight: 700; letter-spacing: 0;
  color: #fff; line-height: 1.2;
}
.solucao-client-type {
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.solucao-desc {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.7; margin-bottom: 22px;
}
.solucao-checks { display: flex; flex-direction: column; gap: 12px; }
.solucao-check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.88); line-height: 1.4;
}
.check-icon { flex-shrink: 0; margin-top: 1px; color: #C94A1A; }
.solucao-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.3); font-size: 12px;
}
.solucao-img img { width: 100%; height: 100%; object-fit: cover; }

/* Dots */
.carousel-dots {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 32px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.carousel-dot.active { background: #C94A1A; transform: scale(1.25); }

/* =============================================
   CTA FINAL
   Imagem de fundo injetada via JS (ogTheme.bgImage)
============================================= */
#cta-final { position: relative; overflow: hidden; background: #040D2A; }
.cta-final-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.45;
  transform: scaleX(-1);
  z-index: 0;
}
.cta-final-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 680px;
  margin: 0 auto; padding: 100px 40px;
}
.cta-final-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: 0;
  color: #fff; line-height: 1.15; margin-bottom: 18px;
}
.cta-final-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6; margin-bottom: 36px;
}

/* =============================================
   FOOTER
============================================= */
#footer { background: #020817; padding: 56px 60px 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-logo-row {
  display: flex; align-items: center;
  gap: 10px; margin-bottom: 16px;
}
.footer-logo-o {
  font-size: 28px; font-weight: 800; color: #ffffff;
  border: 2.5px solid #ffffff; border-radius: 6px;
  padding: 1px 5px 1px 6px; line-height: 1;
}
.footer-logo-g {
  font-size: 28px; font-weight: 800; color: #ffffff;
  background: #C94A1A; border-radius: 6px;
  padding: 1px 6px 1px 5px; line-height: 1; margin-left: -3px;
}
.footer-logo-text .footer-logo-main { font-size: 13px; font-weight: 700; color: #fff; }
.footer-logo-text .footer-logo-sub {
  font-size: 10px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-brand-desc {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 240px; margin-bottom: 20px;
}
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-contact a:hover { color: #C94A1A; }
.footer-col-title {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: #C94A1A; text-shadow: 0 0 8px rgba(201,74,26,0.5); }
.footer-social-title {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 16px;
}
.footer-social-icons { display: grid; grid-template-columns: repeat(2, 40px); gap: 12px; }
.social-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.social-icon-btn:hover {
  border-color: #C94A1A; color: #fff;
  background: rgba(201,74,26,0.15);
  box-shadow: 0 0 10px rgba(201,74,26,0.45), 0 0 22px rgba(201,74,26,0.18);
}
.social-icon-btn svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 300; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   MODAL OVERLAY — FORMULÁRIO
============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-card {
  position: relative; width: 100%; max-width: 640px;
  border-radius: 18px; overflow: hidden;
  background: #061248;
  box-shadow: 0 32px 80px rgba(0,0,20,0.7);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  opacity: 0;
}
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); opacity: 1; }
.modal-bg {
  position: absolute; inset: 0;
  /* URL injetada via JS a partir de ogTheme.modalBg */
  background-size: cover; background-position: left center;
  z-index: 0; border-radius: 18px;
}
.modal-body { position: relative; z-index: 1; padding: 36px 40px 40px; }
.modal-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px; gap: 16px;
}
.modal-titles { flex: 1; }
.modal-title-orange {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800; font-style: italic;
  color: #C94A1A; line-height: 1.15;
}
.modal-title-white {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800; font-style: italic;
  color: #fff; line-height: 1.15;
}
.modal-logo { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.modal-logo img { height: 52px; width: auto; object-fit: contain; }
.modal-divider {
  height: 2.5px; background: #C94A1A; border-radius: 2px;
  margin: 12px 0 24px;
  box-shadow: 0 0 8px rgba(201,74,26,0.8), 0 0 20px rgba(201,74,26,0.4);
}
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-input,
.modal-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; padding: 13px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 400; font-style: italic;
  color: #fff; outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.modal-input::placeholder, .modal-textarea::placeholder {
  color: rgba(255,255,255,0.55); font-style: italic;
}
.modal-input:focus, .modal-textarea:focus {
  border-color: #C94A1A;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(201,74,26,0.15);
}
.modal-textarea { resize: none; height: 110px; font-style: italic; }
.modal-close {
  position: absolute; top: 14px; right: 18px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.modal-close:hover { background: rgba(201,74,26,0.2); border-color: #C94A1A; color: #fff; }
.modal-submit {
  width: 100%; padding: 15px; margin-top: 4px;
  background: #C94A1A; border: none; border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.modal-submit:hover {
  background: #b03d12;
  box-shadow: 0 0 14px rgba(201,74,26,0.5), 0 0 32px rgba(201,74,26,0.2);
  transform: translateY(-1px);
}
.modal-submit:active { transform: translateY(0); }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Feedback do formulário */
.modal-feedback {
  padding: 12px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; margin-bottom: 12px;
}
.modal-feedback.success {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #86efac;
}
.modal-feedback.error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  #header { padding: 16px 24px; }
  nav { gap: 24px; }
  nav ul { gap: 24px; }
  .section-inner { padding: 60px 24px; }
  .servicos-grid { grid-template-columns: 1fr 1fr; }
  .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
  .solucao-slide { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  #footer { padding: 48px 32px 24px; }
  .parceiro-slide { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  nav { display: none; }
  .servicos-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  #footer { padding: 40px 24px 20px; }
  .parceiro-slide { flex: 0 0 100%; }
  .cert-row-inner { flex-wrap: wrap; }
  .cert-label-col { flex: 0 0 100%; padding-right: 0; margin-bottom: 16px; }
}
