/* ============================================================
   TRAJETOS ENGENHARIA — estilos
   Tokens baseados no arquivo Figma (fonte SUSE, fundo #1E1E1E).
   Cores afinadas visualmente contra o design.
   ============================================================ */

:root {
  /* Cores — PALETA OFICIAL da marca */
  --bg:            #262a2d;   /* escuro principal (oficial 262A2D) */
  --section:       #262a2d;   /* faixas de seção escuras */
  --card:          #424a4f;   /* slate elevado (oficial 424A4F) */
  --light:         #ededed;   /* seção clara (portfólio) */
  --orange:        #cf913e;   /* laranja oficial CF913E */
  --orange-dark:   #b57e33;
  --text:          #ffffff;   /* branco oficial */
  --text-muted:    #878787;   /* cinza oficial 878787 */
  --text-dark:     #262a2d;
  --slate:         #424a4f;   /* slate médio oficial 424A4F */
  --slate-light:   #7d8488;   /* cinza-azul claro oficial 7D8488 */
  --line:          rgba(255,255,255,.10);

  /* ===== Fundos da seção SERVIÇOS — troque os HEX aqui ===== */
  --serv1-bg:      #2D3438;   /* Bloco 1 (Estudos Preliminares) — fundo da faixa (slate)   */
  --serv1-card:    #262a2d;   /* Bloco 1 — caixa fechada do acordeão (escuro)              */
  --serv2-bg:      #262a2d;   /* Bloco 2 (Projetos de Engenharia) — fundo da faixa (escuro)*/
  --serv2-card:    #424a4f;   /* Bloco 2 — caixa fechada do acordeão (slate)               */

  /* Layout */
  --container: 1440px;
  --radius: 4px;

  --font: 'SUSE', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; } /* offset p/ header fixo */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 15px;
}

@media (min-width: 1600px) {
  .container { max-width: 1680px; }
}

.text-orange { color: var(--orange); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30,30,30,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 46px; width: auto; }

/* nav dentro de cápsula branca (pill), como no protótipo Figma */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  background: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.main-nav a {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-dark);
  background: transparent;
  padding: 4px 18px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.main-nav:not(.is-open) a:hover {
  background: #2a2a2a;
  color: var(--orange);
  font-weight: 700;
}

.main-nav__close { display: none; }

.header__cta { padding: 10px 26px; font-size: .78rem; border-radius: 999px; color: var(--text-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,20,22,.88) 0%, rgba(18,20,22,.55) 55%, rgba(18,20,22,.30) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__content .btn { border-radius: 999px; color: var(--text-dark); text-transform: uppercase; }
.hero__title {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .005em;
  margin-bottom: 30px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  background: var(--bg);   /* escuro oficial */
  padding: 72px 0 0;
}
.sobre__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 56px;
  padding-bottom: 64px;
}
.sobre__logo { display: flex; justify-content: center; }
.sobre__logo-img { width: 256.596px; height: 175px; object-fit: contain; }
.sobre__text {
  font-size: clamp(1rem, 1.05rem, 1.15rem);
  line-height: 1.85;
  color: #e9e9e9;
  max-width: 100%;
}

/* ---- 3 diferenciais ---- */
.diferenciais {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: translateY(40px);
  margin-top: -16px;
}
.dif-card {
  position: relative;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 104px 28px 34px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.dif-card__num {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 3.6rem;
  font-weight: 800;
  color: #d5d5d5;
  line-height: 1;
}
.dif-card__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  z-index: 1;
}
.dif-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 82px; height: 82px;
  background: var(--orange);
  border-radius: 6px 0 6px 0;
}
.dif-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.dif-card__text {
  font-size: .86rem;
  line-height: 1.7;
  color: #5b5b5b;
}

/* ============================================================
   ESCALA FLUIDA EM TELAS MAIORES (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  .sobre__text {
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    max-width: 1050px;
  }
  .sobre__logo-img { width: clamp(256px, 20vw, 340px); }
  .dif-card__title { font-size: 1.15rem; }
  .dif-card__text { font-size: clamp(.9rem, 1vw, 1rem); }
}

/* ---- watermark (texto grande de fundo) ---- */
.watermark {
  display: block;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.05);
  line-height: .9;
  margin-bottom: -18px;
  user-select: none;
  pointer-events: none;
}
.watermark--dark { color: rgba(255,255,255,.045); }

/* ============================================================
   PORTFÓLIO  (faixa clara)
   ============================================================ */
.portfolio {
  background: var(--light);
  color: var(--text-dark);
  padding: 64px 0 80px;
}
.portfolio .watermark { color: rgba(0,0,0,.05); }
.portfolio__title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 32px;
}
/* ===== NOVA SEÇÃO PORTFÓLIO (CTA banner) ===== */

/* Elementos ocultos (mantidos no HTML, não exibidos) */
.portfolio .watermark,
.portfolio__title,
.cta__kicker--light,
.cta__split-note {
  display: none;
}
.is-hidden { display: none !important; }

.cta__stage .cta { position: relative; display: block; }

.cta__banner {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  background: var(--bg);
}
.cta__banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(66, 74, 79, 0.72) 0%,
    rgba(66, 74, 79, 0.80) 50%,
    rgba(66, 74, 79, 0.88) 75%,
    rgba(60, 66, 70, 0.95) 100%
  );
}
.cta__banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 70px 48px;
}
.br--m { display: none; }
.br--d { display: inline; }
.cta__title--light { color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5); }
.cta__title {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
}
.cta__banner-actions { display: flex; gap: 14px; margin-top: 8px; }
.cta__banner-actions .btn--orange { color: var(--text-dark); border-radius: 999px; }
.btn--ghost { background: transparent; border: 2px solid #fff; color: #fff; border-radius: 999px; }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.btn--download { background: #fff; border: 2px solid #fff; color: var(--text-dark); border-radius: 999px; }
.btn--download:hover { background: #f0f0f0; transform: translateY(-1px); }

.cta__banner-inner--split { flex-direction: row; align-items: stretch; gap: 40px; }
.cta__split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1; }
.cta__split-stat {
  flex: none;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}
.cta__split-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.cta__split-label { font-size: .9rem; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.cta__split-rule { width: 48px; height: 2px; background: var(--orange); margin: 6px 0; }

/* ===== Responsivo (≤768px) ===== */
@media (max-width: 768px) {
  .cta__banner-inner { padding: 40px 24px; }
  .cta__banner-inner--split { flex-direction: column; }
  .cta__title { font-size: clamp(1.8rem, 6.5vw, 2.4rem); line-height: 1.2; }
  .br--m { display: inline; }
  .br--d { display: none; }
  .cta__banner-actions { flex-wrap: wrap; }
  .cta__split-stat {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 18px 20px;
    text-align: center;
  }
  .cta__split-num { width: 100%; font-size: clamp(2.5rem, 16vw, 3.4rem); }
  .cta__split-label { font-size: .8rem; }
  .cta__split-rule { width: 36px; margin: 2px 0; }
}
/* ---- carrossel genérico (legado oculto) ---- */
.carousel { position: relative; display: flex; align-items: center; gap: 15px; padding: 0 60px; }
.carousel__viewport { overflow: hidden; flex: 1; }
.carousel__track {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; color: var(--orange); }   /* seta "próximo" laranja, como no Figma */
.carousel__arrow:hover { background: var(--orange); color: #fff; transform: translateY(-50%) scale(1.05); }

/* ---- card de projeto ---- */
.proj-card {
  flex: 0 0 calc((100% - 24px) / 2);   /* 2 por vez */
  box-sizing: border-box;
  background: #e6e6e6;                  /* rodapé cinza claro p/ as caixas brancas se destacarem */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,.10);
}
.proj-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* selo "Ver projeto" — removido, usa-se apenas "Ver mais" abaixo do card */
.proj-card__view { display: none !important; }
.proj-card__media::before {
  /* degradê escuro no topo p/ o título branco ficar legível (como no Figma) */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,.12) 34%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.proj-card__name {
  position: absolute;
  top: 20px; left: 22px;
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.proj-card__illus {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  font-family: var(--font);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  pointer-events: none;
}
.proj-card__meta {
  display: flex;
  gap: 14px;
  padding: 16px;
}
.proj-card__meta > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fff;
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.proj-card__meta small { font-size: .68rem; color: #9a9a9a; text-transform: uppercase; letter-spacing: .06em; }
.proj-card__meta strong { font-size: .9rem; color: var(--text-dark); font-weight: 700; }

/* ---- botão "Ver mais" ---- */
.proj-card__more {
  padding: 0 16px 16px;
}
.proj-card__btn-more {
  width: 100%;
  padding: 10px 0;
  border: 2px solid var(--orange);
  border-radius: 6px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.proj-card__btn-more:hover {
  background: var(--orange);
  color: #fff;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos { background: var(--bg); }
.servicos__block { position: relative; }                /* full-width: a cor de fundo preenche a faixa toda */
.servicos__block--a { background: var(--serv1-bg); }   /* bloco 1: fundo slate */
.servicos__block--b { background: var(--serv2-bg); }   /* bloco 2: fundo escuro */
.servicos__block > .container { position: relative; padding-top: 100px; padding-bottom: 92px; }
.servicos__block .watermark { position: absolute; top: 56px; left: 15px; }
.servicos__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding-top: 28px;
}
.servicos__intro h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.servicos__intro p { font-size: .95rem; color: #cfcfcf; line-height: 1.7; max-width: 380px; }

/* ---- acordeão ---- */
.accordion { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  border-radius: 12px;
  overflow: hidden;
  transition: background .25s;
}
/* cor base da caixa fechada contrasta com o fundo de cada bloco */
.servicos__block--a .acc-item { background: var(--serv1-card); }   /* caixa sobre o fundo do bloco 1 */
.servicos__block--b .acc-item { background: var(--serv2-card); }   /* caixa sobre o fundo do bloco 2 */
.acc-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
}
.acc-item__icon {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--orange);   /* quadrado laranja com "+" escuro (fechado) */
  color: #2b2b2b;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.acc-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.acc-item__body > p {
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  padding: 0 22px;
}
/* aberto = card laranja, texto escuro, quadrado escuro no "−" */
.acc-item.is-open { background: var(--orange); }
.acc-item.is-open .acc-item__head { color: #2b2b2b; }
.acc-item.is-open .acc-item__icon { background: #2b2b2b; color: #fff; }
.acc-item.is-open .acc-item__body { grid-template-rows: 1fr; }
.acc-item.is-open .acc-item__body > p { color: rgba(0,0,0,.82); padding: 0 22px 20px; }

/* ============================================================
   CLIENTES  (logos — faixa laranja com loop infinito)
   ============================================================ */
.clientes { background: #cf923d; color: var(--text-dark); padding: 76px 0 84px; }
.clientes .watermark { color: rgba(0,0,0,.05); }
.clientes__title { font-size: 1.9rem; font-weight: 700; margin-bottom: 40px; }

/* ---- marquee ---- */
.marquee {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  width: 100%;
  padding-inline: 10px;
}
.marquee__viewport { overflow: hidden; flex: 1; }
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

/* ---- setas ---- */
.marquee__arrow {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  transition: background .2s, color .2s, transform .15s;
  z-index: 2;
}
.marquee__arrow--next { color: var(--orange); }
.marquee__arrow:hover { background: var(--orange); color: #fff; transform: scale(1.05); }

/* ---- cards ---- */
.cliente-card {
  flex: 0 0 200px;
  min-width: 200px;
  aspect-ratio: 16 / 10;
  height: auto;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.cliente-card__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   FOOTER (CTA + Stats + Copyright unificados)
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 30px 60px;
}

.footer__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  pointer-events: none;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 52, 56, 0.85) 0%,
    rgba(45, 52, 56, 0.95) 50%,
    rgba(45, 52, 56, 0.98) 75%,
    #222729 100%
  );
  pointer-events: none;
}

.footer__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- TOP: CTA esquerda + Botões direita ---------- */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer__cta-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer__kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 27px;
}

.footer__title {
  font-size: 40px;
  font-weight: 600;
  color: #F2F2F2;
  line-height: normal;
}

.footer__actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}

.footer__btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__actions .btn--orange {
  color: var(--text-dark);
  border-radius: 999px;
}

/* ---------- STATS ---------- */
.footer__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 60px;
  border-top: 2px solid #424A4F;
  border-bottom: 2px solid #424A4F;
}

.footer__stat {
  padding: 30px;
  text-align: center;
  border-right: 2px solid #424A4F;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}
.footer__stat:last-child {
  border-right: none;
}

.footer__stat-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.footer__stat-num::before {
  content: '+';
  font-size: 2rem;
  font-weight: 400;
  color: var(--orange);
  align-self: flex-start;
  margin-top: 4px;
}

.footer__stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: #7d8488;
  line-height: normal;
}

/* ---------- BOTTOM ---------- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo {
  width: 220px;
  display: flex;
  align-items: center;
}
.footer__logo img {
  max-width: 100%;
  height: auto;
}

.footer__copy {
  font-size: 1rem;
  color: #F2F2F2;
  text-align: right;
  font-weight: 400;
  line-height: 1.4;
}
.footer__copy p {
  margin: 0;
}
.footer__credit {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.footer__credit:hover { color: var(--orange); }

/* ============================================================
   MODAL (PDF do portfólio)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 94vw);
  height: min(88vh, 1040px);
  margin: 6vh auto 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  transform: translateY(12px);
  transition: transform .2s ease;
}
.modal.is-open .modal__dialog { transform: translateY(0); }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg);
  color: #fff;
}
.modal__title { font-size: 1rem; font-weight: 700; }
.modal__actions { display: flex; align-items: center; gap: 14px; }
.modal__download { padding: 13px 26px; font-size: .85rem; border-radius: 999px; }
.modal__back { padding: 13px 26px; font-size: .85rem; border-radius: 999px; background: var(--orange); color: #fff; border: none; cursor: pointer; }
.modal__close {
  background: none; border: none; color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.modal__body { flex: 1; background: #3a3a3a; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
.modal__iframe { width: 100%; flex: 1; border: none; display: none; }
.modal__content { width: 100%; flex: 1; display: none; flex-direction: column; align-items: center; gap: 12px; padding: 12px; box-sizing: border-box; }
.modal__content canvas { width: 100%; display: block; box-shadow: 0 2px 10px rgba(0,0,0,.3); border-radius: 4px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 768px) {
  .site-header { backdrop-filter: none; border-bottom: none; }
  .main-nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--bg);
    border-radius: 0;
    padding: 28px 28px 48px;
    gap: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: navOpen .35s ease;
  }
  .main-nav.is-open .main-nav__close {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    border: none;
    background: var(--orange);
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  .main-nav.is-open .main-nav__close:hover { background: var(--orange-dark); transform: scale(1.05); }
  .main-nav.is-open a {
    align-self: flex-start;
    white-space: nowrap;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-dark);
    background: var(--light);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
    transition: background .2s ease, color .2s ease;
  }
  .main-nav.is-open a:hover { background: var(--orange); color: #fff; }

  @keyframes navOpen {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero { min-height: 460px; }
  .hero__title { font-size: 1.75rem; }

  .sobre__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .sobre__logo-img { width: 150px; height: auto; object-fit: contain; }
  .sobre__text { padding-inline: 1px; }

  .diferenciais { grid-template-columns: 1fr; transform: none; margin-top: 8px; }
  .sobre { padding-bottom: 56px; }

  .servicos__grid { grid-template-columns: 1fr; gap: 28px; }
  .servicos__intro { text-align: left; }
  .servicos__intro p { max-width: 380px; }

  /* Padronização dos headers de seção no mobile: afastar o título do watermark (eliminar sobreposição) */
  .portfolio__title,
  .clientes__title,
  .servicos__intro h2 {
    text-align: left;
    line-height: 1.15;   /* quebra de linhas mais compacta no mobile */
  }
  .portfolio .watermark { margin-bottom: 0; }
  .portfolio__title { margin-top: 8px; margin-bottom: 28px; }
  .clientes .watermark { margin-bottom: 0; }
  .clientes__title { margin-top: 8px; }
  .servicos__block .watermark { position: static; margin-bottom: 0; }
  .servicos__block > .container { padding-top: 56px; }
  .servicos__grid { padding-top: 0; }
  .servicos__intro h2 { margin-top: 2px; }

  .proj-card { flex: 0 0 100%; }
  .proj-card__media { aspect-ratio: 4 / 3; }
  .carousel { flex-wrap: wrap; justify-content: center; padding: 0; gap: 14px; }
  .carousel__viewport { flex: 1 1 100%; order: -1; }
  .carousel__arrow { position: static; transform: none; width: 42px; height: 42px; box-shadow: none; }
  .carousel__arrow:hover { transform: none; }
  .marquee { flex-wrap: wrap; justify-content: center; align-items: center; padding-inline: 15px; gap: 14px; }
  .marquee__viewport { flex: 1 1 100%; order: -1; }
  .marquee__arrow { position: static; transform: none; width: 42px; height: 42px; box-shadow: none; }
  .marquee__arrow:hover { transform: none; }
  .marquee__group { gap: 20px; padding-right: 20px; }
  .cliente-card {
    flex: 0 0 250px;
    min-width: 250px;
    aspect-ratio: 16 / 10;
    height: auto;
    padding: 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
  }

  /* modal mobile */
  .modal__dialog { width: 100vw; height: 100vh; margin: 0; border-radius: 0; }
  .modal__head { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .modal__title { font-size: .85rem; }
  .modal__download, .modal__back { padding: 10px 16px; font-size: .75rem; }
  .modal__close { font-size: 1.5rem; }
  .modal__body { overflow: auto; -webkit-overflow-scrolling: touch; }

  .site-footer { padding: 60px 20px 40px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__actions { width: 100%; }

  .footer__title { font-size: 28px; }
  .footer__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__stat { min-height: 120px; padding: 20px; }
  .footer__stat:nth-child(even) { border-right: none; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 480px) {
  .site-footer { padding: 40px 16px 30px; }
  .footer__title { font-size: 24px; }
  .footer__stats { grid-template-columns: 1fr; }
  .footer__stat { border-right: none; border-bottom: 2px solid #424A4F; }
  .footer__stat:last-child { border-bottom: none; }
  .footer__actions { flex-direction: column; }
}
