/* Start custom CSS for html, class: .elementor-element-bde40f5 */:root {
  --orange: #F54B17;
  --orange-light: #FF6334;
  --black: #101010;
  --graphite: #181818;
  --card: #242424;
  --card-hover: #303030;
  --white: #FFFFFF;
  --gray-light: #D1D1D1;
  --gray: #A2A2A2;
  --gray-dark: #727272;
  --border: rgba(255, 255, 255, 0.12);
  --card-radius: 16px;
  --modal-radius: 24px;
  /*
    Imagem principal do Hero.
    Se estiver usando arquivos locais:
    url("assets/hero.webp")
    Se estiver usando WordPress:
    url("https://seudominio.com.br/wp-content/uploads/hero.webp")
  */
  --hero-image: url("assets/hero.webp");
}

/* =========================================================
   RESET E CONFIGURAÇÕES GERAIS
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

/* =========================================================
   CABEÇALHO
========================================================= */
/* Garante que a página não tenha margem lateral padrão */
body {
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Cabeçalho ocupando toda a largura da viewport */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  width: 100% !important;
  max-width: none !important;
  height: 78px !important;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 0 5vw;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.88),
    transparent
  );
  border: 0;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(16, 16, 16, 0.96);
  backdrop-filter: blur(14px);
}

/* Marca */
.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 20%;
  height: 42px;
  object-fit: contain;
}

/* Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--gray);
  font-size: 13px;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

/* =========================================================
   BOTÕES
========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  background: var(--orange);
  color: var(--white);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-small:hover,
.button-primary:hover {
  background: var(--orange-light);
}

.button-outline {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.13);
}

.button-white {
  background: var(--white);
  color: var(--orange);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  padding: 150px 5vw 100px;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(16, 16, 16, 0.98) 0%,
      rgba(16, 16, 16, 0.82) 37%,
      rgba(16, 16, 16, 0.24) 78%,
      rgba(16, 16, 16, 0.70) 100%
    ),
    linear-gradient(
      to top,
      var(--black) 0%,
      transparent 48%
    ),
    var(--hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-content > p {
  max-width: 570px;
  margin: 27px 0 31px;
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   SEÇÕES
========================================================= */
.section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 5vw 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 410px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

/* =========================================================
   PROJETOS
========================================================= */
.project-category {
  margin-bottom: 48px;
}

.project-category-title {
  margin-bottom: 17px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 30vw);
  gap: 14px;
  overflow-x: auto;
  padding: 8px 0 28px;
  scrollbar-color: var(--orange) transparent;
  scrollbar-width: thin;
}

.project-row::-webkit-scrollbar {
  height: 5px;
}

.project-row::-webkit-scrollbar-track {
  background: transparent;
}

.project-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--orange);
}

.project-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--card);
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  z-index: 5;
  transform: scale(1.035);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
}

.project-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.03) 100%
    );
  pointer-events: none;
}

.project-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-card-image {
  transform: scale(1.08);
}

.project-card-content {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.project-type {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-card p {
  color: var(--gray-light);
  font-size: 12px;
  line-height: 1.4;
}

.project-open {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.project-card:hover .project-open {
  opacity: 1;
  transform: translateY(0);
}

.project-open:hover {
  background: var(--orange);
}

/* =========================================================
   SERVIÇOS
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--graphite);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.service-card:hover {
  border-color: rgba(245, 75, 23, 0.75);
  background: var(--card);
  transform: translateY(-5px);
}

.service-number {
  display: block;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.15;
}

.service-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   SOBRE E PROCESSO
========================================================= */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  padding-top: 130px;
}

.about-section h2 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.about-section h2 span {
  color: var(--orange);
}

.about-text {
  margin-bottom: 30px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.process-item strong {
  color: var(--orange);
  font-size: 12px;
  line-height: 1.4;
}

.process-item h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
}

.process-item p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   CONTATO
========================================================= */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  width: 100%;
  max-width: 1440px;
  margin: 120px auto 0;
  padding: 80px 5vw;
  background: var(--orange);
}

.contact-section h2 {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(46px, 5vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.contact-section > div > p {
  max-width: 470px;
  margin: 23px 0 30px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form select option {
  color: #111111;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
}

.form-success {
  display: none;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

.form-success.visible {
  display: block;
}

/* =========================================================
   RODAPÉ
========================================================= */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 5vw;
  color: var(--gray-dark);
  font-size: 12px;
}

/* =========================================================
   MODAL
========================================================= */
.project-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  overflow-y: auto;
  padding: 40px 5vw;
  background: rgba(0, 0, 0, 0.87);
  backdrop-filter: blur(18px);
}

.project-modal.active {
  display: block;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 40px auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--modal-radius);
  background: var(--graphite);
  animation: modal-open 0.3s ease both;
}

@keyframes modal-open {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--orange);
}

.modal-cover {
  display: block;
  width: 100%;
  height: min(58vw, 540px);
  object-fit: cover;
}

.modal-body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  padding: 40px;
}

.modal-type {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.modal-main h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.modal-description {
  margin-bottom: 32px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
}

.modal-block {
  margin-bottom: 25px;
}

.modal-block-title {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.modal-block p,
.modal-block li {
  color: #D2D2D2;
  font-size: 14px;
  line-height: 1.65;
}

.modal-block ul {
  margin: 0;
  padding-left: 18px;
}

.modal-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.035);
}

.modal-meta {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-meta small {
  display: block;
  margin-bottom: 6px;
  color: var(--gray);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.modal-meta strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}

/* =========================================================
   VÍDEO LOCAL — RESPONSIVO (RETRATO / PAISAGEM)
========================================================= */
.modal-video-area {
  display: none;
  margin-top: 32px;
}

.modal-video-area.visible {
  display: block;
}

.modal-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  border-radius: var(--card-radius);
  background: #000;
  object-fit: contain;
}

/* =========================================================
   GALERIA QUADRADA
========================================================= */
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.modal-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--card);
  object-fit: cover;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section,
  .contact-section,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 560px) {
  .site-header {
    padding: 0 22px;
  }

  .button-small {
    min-height: 38px;
    padding: 0 13px;
    font-size: 10px;
  }

  .hero {
    min-height: 680px;
    padding: 130px 22px 70px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .project-row {
    grid-auto-columns: 78vw;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 40px;
    padding-top: 90px;
  }

  .about-section h2 {
    font-size: 52px;
  }

  .contact-section {
    gap: 40px;
    margin-top: 90px;
    padding: 60px 22px;
  }

  .contact-section h2 {
    font-size: 56px;
  }

  .site-footer {
    flex-direction: column;
    padding-right: 22px;
    padding-left: 22px;
  }

  .project-modal {
    padding: 15px;
  }

  .modal-content {
    margin: 15px auto;
  }

  .modal-body {
    gap: 30px;
    padding: 25px;
  }

  .modal-cover {
    height: 60vw;
  }

  /*
    Mantém a galeria quadrada também no celular,
    com duas imagens por linha.
  */
  .modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .modal-gallery img {
    aspect-ratio: 1 / 1;
  }
}
/* =========================================================
   VÍDEO LOCAL — CONTAINER VERTICAL 9:16
========================================================= */
.modal-video-area {
  display: none;
  margin-top: 32px;
}

.modal-video-area.visible {
  display: block;
}

.modal-video-area.visible iframe,
.modal-video-area.visible video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--card-radius);
  background: #000;
}/* End custom CSS */