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

:root {
  --dark: #141e34;
  --text: #0d141a;
  --muted: #56585e;
  --light-muted: #b8c0cc;
  --white: #ffffff;
  --blue: #4A90E2;
  --max-width: 1224px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 16px;
  gap: 32px;
}

.header-logo img { height: 65px; width: auto; }

.header-nav ul {
  display: flex;
  column-gap: 32px;
  row-gap: 16px;
  flex-flow: row wrap;
  justify-content: center;
  list-style: none;
}

.header-nav a {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #0d141a;
  cursor: pointer;
  white-space: pre-wrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: rgb(20, 30, 52);
  text-decoration: underline;
  text-underline-offset: 7px;
}

.hamburger {
  display: none;
  position: absolute;
  top: 24px; right: 16px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0d141a;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 8px 16px 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #0d141a;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 1024px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #1d1e20;
  opacity: 0.84;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 83%;
  max-width: 1018px;
}

/* ── SECTION BASE ── */
section { padding: 80px 0; }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── PROJETOS ── */
.projetos { background: #fff; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.card-arrow {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* ── CONSULTORIA ── */
.consultoria { background: #fff; padding-top: 0; }

.consultoria-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
}

.consultoria h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  margin-bottom: 16px;
}

.consultoria .subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--light-muted);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 32px;
}

.timeline-title {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  margin-bottom: 24px;
}

.timeline-item {
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.timeline-item h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company { font-size: 14px; color: var(--muted); }
.timeline-period { font-size: 12px; color: var(--light-muted); margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--muted); }

.consultoria-fullimg {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* ── SOBRE ── */
.sobre { background: #fff; padding-top: 0; }

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 20px;
}

.sobre p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  transition: background .2s, color .2s;
}

.btn:hover { background: var(--text); color: #fff; }

.sobre-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sobre-imgs img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* ── SERVIÇOS ── */
.servicos { background: #fff; }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.servico-card {
  background: rgb(20, 30, 52);
  border-radius: 4px;
  overflow: hidden;
}

.servico-card-body { padding: 28px; }

.servico-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.servico-card p {
  font-size: 14px;
  color: var(--light-muted);
  margin-bottom: 20px;
}

.servico-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col p {
  font-size: 13px;
  color: var(--light-muted);
  line-height: 1.7;
}

.footer-social { margin-top: 20px; }

.footer-social a {
  display: inline-flex;
  color: #fff;
  opacity: .7;
  transition: opacity .2s;
}

.footer-social a:hover { opacity: 1; }

.footer-form label {
  display: block;
  font-size: 13px;
  color: var(--light-muted);
  margin-bottom: 8px;
}

.footer-form input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--light-muted);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 50px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-primary:hover { opacity: .85; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 13px;
  color: var(--light-muted);
}

.footer-bottom a {
  color: var(--light-muted);
  text-decoration: none;
}

.footer-bottom a:hover { color: #fff; }

/* ── HERO TEXT (inner pages) ── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ── TESTIMONIALS ── */
.depoimentos { background: #f7f8fa; }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.depoimento-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.depoimento-stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 16px;
}

.depoimento-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.depoimento-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.depoimento-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.depoimento-author-city {
  font-size: 13px;
  color: var(--muted);
}

/* ── CONTATO ── */
.contato { background: #fff; }

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  margin-bottom: 16px;
}

.contato .subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.contato-form input,
.contato-form textarea,
.contato-form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--light-muted);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}

.contato-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contato-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.contato-info-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 24px 16px; gap: 0; }

  .cards-grid,
  .consultoria-inner,
  .sobre-inner,
  .sobre-imgs,
  .servicos-grid,
  .depoimentos-grid,
  .contato-inner,
  .footer-grid { grid-template-columns: 1fr; }

  .sobre-imgs { grid-template-columns: 1fr 1fr; }

  .hero { height: 60vh; }

  section { padding: 56px 0; }
}
