/* ===== Fontes (guardadas no próprio site, em fonts/) ===== */
@font-face { font-family: 'Oswald'; font-weight: 500 700; font-display: swap; src: url('fonts/oswald.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); }

/* ===== Cores e medidas da marca ===== */
:root {
  --azul: #04305f;
  --azul-escuro: #021d3b;
  --laranja: #ff7300;
  --laranja-escuro: #e06400;
  --amarelo: #f5b800;
  --texto: #1d2633;
  --texto-suave: #5a6576;
  --fundo-claro: #f4f6f9;
  --branco: #ffffff;
  --whatsapp: #25d366;
  --raio: 10px;
  --sombra: 0 10px 30px rgba(2, 29, 59, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 40px; }

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/* ===== Ícones (WhatsApp, Instagram, e-mail) ===== */
.ico {
  display: inline-block;
  width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: var(--icone) center / contain no-repeat;
  mask: var(--icone) center / contain no-repeat;
  flex-shrink: 0;
}
.ico--whatsapp { --icone: url('img/icone-whatsapp.svg'); }
.ico--instagram { --icone: url('img/icone-instagram.svg'); }
.ico--mail { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2z M2 5l10 8 10-8' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--raio);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--orange { background: var(--laranja); color: var(--branco); }
.btn--orange:hover { background: var(--laranja-escuro); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: var(--branco); }
.btn--ghost:hover { background: var(--branco); color: var(--azul); }
.btn--light { background: rgba(255,255,255,.1); color: var(--branco); border-color: rgba(255,255,255,.25); }
.btn--light:hover { background: var(--branco); color: var(--azul); }

/* ===== Cabeçalho ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--branco);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(2, 29, 59, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 500; color: var(--azul); position: relative; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--laranja); transition: width .2s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--azul); margin: 5px 0; border-radius: 2px; }

/* ===== Banner principal ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 100%);
  color: var(--branco);
  overflow: hidden;
}
.hero::before { /* faixa diagonal laranja */
  content: ''; position: absolute; right: -10%; top: 0; bottom: 0; width: 55%;
  background: var(--laranja);
  transform: skewX(-12deg);
  opacity: .95;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-top: 70px; padding-bottom: 70px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amarelo); margin-bottom: 16px;
}
.eyebrow::before { content: '//// '; color: var(--laranja); }
.eyebrow--dark { color: var(--laranja); }
.hero h1 { font-size: clamp(36px, 5.5vw, 62px); margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--laranja); }
.hero__lead { font-size: 17px; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__image img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--branco);
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  transform: rotate(2deg);
}

/* Capa com o post do Instagram inteiro: sem corte, e botão do Instagram embaixo */
.hero__image--post { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__image.hero__image--post img { aspect-ratio: auto; object-fit: contain; max-width: 380px; }
.hero__insta { background: var(--azul-escuro); }

/* ===== Diferenciais ===== */
.highlights { background: var(--azul-escuro); color: var(--branco); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; align-items: center; gap: 14px; padding: 26px 18px; border-left: 1px solid rgba(255,255,255,.1); }
.highlight:first-child { border-left: 0; }
.highlight svg { width: 38px; height: 38px; flex-shrink: 0; fill: none; stroke: var(--amarelo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.highlight p { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.8); }
.highlight strong { display: block; color: var(--branco); font-size: 16px; }

/* ===== Seções ===== */
.section { padding: 90px 0; }
.section--dark { background: #0b0f17; color: var(--branco); }
.section__title { font-size: clamp(30px, 4vw, 44px); color: var(--azul); margin-bottom: 16px; }
.section--dark .section__title { color: var(--branco); }
.section__lead { color: rgba(255,255,255,.7); margin-bottom: 40px; }

/* ===== Serviços ===== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.service {
  background: var(--fundo-claro);
  border-radius: var(--raio);
  padding: 30px 24px;
  border-bottom: 4px solid var(--laranja);
  transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.service__icon {
  width: 60px; height: 60px; border-radius: 12px;
  background: var(--azul); display: grid; place-items: center; margin-bottom: 20px;
}
.service__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--laranja); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 21px; color: var(--azul); margin-bottom: 10px; }
.service p { font-size: 14.5px; color: var(--texto-suave); }

/* ===== Obras com fotos reais (capa + álbum) ===== */
.obras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.obra { background: #151b26; border-radius: var(--raio); overflow: hidden; }
.obra button { position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; }
.obra img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.obra:hover img { transform: scale(1.04); }
.obra__count {
  position: absolute; right: 12px; top: 12px;
  background: rgba(2, 29, 59, .85); color: var(--branco);
  font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.obra figcaption { padding: 16px 18px 18px; }
.obra__tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--laranja); margin-bottom: 4px;
}
.obra figcaption strong {
  display: block; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 19px; line-height: 1.2; color: var(--branco); margin-bottom: 8px;
}
.obra__local { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.65); }
.obra__local::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0; background: var(--amarelo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about__text p { color: var(--texto-suave); margin-bottom: 16px; font-size: 16px; }
.about__list {
  list-style: none; background: var(--azul); color: var(--branco);
  border-radius: 16px; padding: 34px; box-shadow: var(--sombra);
}
.about__list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 500; }
.about__list li:last-child { border-bottom: 0; }
.about__list li::before {
  content: '✓'; position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--laranja); color: var(--branco);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

/* ===== Contato ===== */
.contact { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%); color: var(--branco); padding: 70px 0; }
.contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.contact h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 10px; }
.contact p { color: rgba(255,255,255,.8); }
.contact__buttons { display: flex; flex-direction: column; gap: 12px; min-width: 320px; }
.contact__buttons .btn { justify-content: flex-start; }

/* ===== Rodapé ===== */
.footer { background: #0b0f17; color: rgba(255,255,255,.6); font-size: 13.5px; padding: 26px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer strong { color: var(--branco); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--branco); }

/* ===== Páginas de texto (privacidade, termos, erro 404) ===== */
.page-hero { background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 100%); color: var(--branco); padding: 56px 0 46px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 10px; }
.legal { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.legal h2 { font-size: 24px; color: var(--azul); margin: 38px 0 12px; }
.legal p, .legal li { color: var(--texto-suave); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--texto); }
.notfound { text-align: center; padding: 100px 0; }
.notfound .big { font-family: 'Oswald', sans-serif; font-size: 120px; line-height: 1; color: var(--laranja); }
.notfound h1 { color: var(--azul); font-size: 32px; margin: 10px 0 14px; }
.notfound p { color: var(--texto-suave); margin-bottom: 28px; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: var(--branco);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: pulso 2.5s infinite;
}
.whatsapp-float .ico { width: 32px; height: 32px; }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Visualizador de imagens ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.9);
  display: grid; place-items: center; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 8px; }
.lightbox__caption { color: rgba(255,255,255,.85); font-size: 14.5px; text-align: center; }
.lightbox__caption:empty { display: none; }
.lightbox__close {
  position: absolute; top: 14px; right: 20px; z-index: 1;
  background: none; border: 0; color: var(--branco); font-size: 44px; cursor: pointer; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.15); color: var(--branco); font-size: 34px; line-height: 1;
}
.lightbox__nav:hover { background: var(--laranja); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ===== Tablet ===== */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .obras { grid-template-columns: repeat(2, 1fr); }
  .about, .contact__inner { grid-template-columns: 1fr; }
  .contact__buttons { min-width: 0; }
}

/* ===== Celular ===== */
@media (max-width: 760px) {
  .header__inner { height: 66px; }
  .header__logo img { height: 42px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--branco); padding: 10px 20px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav .btn { margin-top: 14px; }

  .hero::before { width: 30%; right: -22%; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 50px; gap: 36px; }
  .hero__image img { transform: none; aspect-ratio: 4 / 3; }
  .hero__actions .btn { flex: 1 1 100%; }

  .highlight { padding: 18px 10px; gap: 10px; }
  .highlight svg { width: 30px; height: 30px; }
  .highlight strong { font-size: 14px; }
  .highlight p { font-size: 12.5px; }

  .section { padding: 64px 0; }
  .services, .obras { grid-template-columns: 1fr; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; } /* no celular, setas embaixo */
  .about { gap: 32px; }
  .contact__buttons .btn { font-size: 14px; word-break: break-all; }
  .footer { padding-bottom: 100px; } /* espaço para o botão flutuante do WhatsApp */
  .footer__inner { flex-direction: column; }
}
