/* ================================================================
   FONTES FUTURA — carregamento local
   Caminhos relativos a css/style.css.
   IMPORTANTE: publicar arquivos de fonte somente com licença web.
   ================================================================ */
@font-face {
  font-family: "Futura Bk BT";
  src: url("../img/fonts/Futura Bk BT Book.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura Md BT";
  src: url("../img/fonts/Futura Md BT Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura Md BT";
  src: url("../img/fonts/Futura Md BT Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ======================== */
/* ROOT & GLOBAL VARIABLES  */
/* ======================== */

:root {
  --brown: #a56752;
  --brown-dark: #744533;
  --cream: #f7f1ec;
  --dark: #141414;
  --white: #ffffff;
  --muted: #aaaaaa;
  --border: rgba(165, 103, 82, 0.25);
  --font-title: "Futura Md BT", "Futura", "Montserrat", sans-serif;
  --font-body: "Futura Bk BT", "Futura", "Montserrat", sans-serif;
}

/* ======================== */
/* RESET & BASE STYLES      */
/* ======================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 94px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: #ffffff;
  line-height: 1.65;
  font-size: clamp(15px, 2.1vw, 17px);
}

body,
body * {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
}

img,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ======================== */
/* CONTAINER & LAYOUT       */
/* ======================== */

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: 0;
}

.header.light-bg .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: clamp(40px, 6vw, 70px) 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: clamp(32px, 5vw, 60px) 0;
  }
}

.section-header {
  margin-bottom: 44px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 54px;
}
.section-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 18px 0 18px 0;
}

.section-label {
  display: inline-block;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: clamp(1.2px, 0.3vw, 2px);
  font-size: clamp(0.7rem, 1.3vw, 0.85rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.about .section-header,
.contact .section-header {
  width: 100%;
  max-width: 1120px;
  margin: 0 0 60px 0;
  text-align: left;
}

.about .section-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 18px 0 18px 0;
}

.about .section-subtitle,
.contact .section-subtitle,
.process .section-subtitle {
  max-width: 780px;
  font-size: 9px;
  letter-spacing: 0.15em;
  margin: 0;
  line-height: 1.6;
  color: #7b7b7b;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
}

.portfolio-header {
    width: 100%;
    max-width: 1120px;
    margin: 0 0 60px 0;
    text-align: left;
}

.portfolio-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 18px 0 18px 0;
}

.portfolio-header p {
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.15em;
    margin: 0;
    color: #7b7b7b;
}
.portfolio-subtitle {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  color: #7b7b7b;
  text-align: left;
  margin: 0;
  letter-spacing: 0.15em;
}

/* ======================== */
/* HEADER & NAVIGATION      */
/* ======================== */

.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--white);
  box-shadow: none;
  width: 72%;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  transform: translateY(0);
}

.header.navbar-hidden {
  transform: translateY(-100%);
}

.header.light-bg {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(165, 103, 82, 0.96);
  color: var(--white);
  display: flex;
  align-items: stretch;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 980px) {
  .header {
    position: sticky;
    width: 100%;
    background: var(--brown);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
}

.header-content {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 36px;
  padding-left: 24px;
  flex: 0 1 auto;
}

.header.light-bg .header-content {
  min-height: 94px;
}

@media (max-width: 1024px) {
  .header-content {
    min-height: 86px;
    padding-right: 28px;
    padding-left: 20px;
    gap: 0;
  }
}
/* Logo Horizontal */
.logo-horizontal {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.logo-horizontal:hover {
  opacity: 0.85;
}

.logo-horizontal img {
  height: clamp(40px, 8vw, 60px);
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  opacity: 1;
  transform: scale(1.18);
  transform-origin: left center;
}

.header.light-bg .logo-horizontal {
  display: flex;
  padding-left: clamp(12px, 2vw, 20px);
  padding-right: clamp(40px, 8vw, 60px);
  background: var(--brown);
}

.header.light-bg .logo {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.logo img {
  display: block;
  width: clamp(48px, 7vw, 62px);
  height: clamp(48px, 7vw, 62px);
  object-fit: contain;
}

.logo:hover {
  opacity: 0.8;
}

.header .logo {
  display: none;
}

@media (max-width: 980px) {
  .header .logo {
    display: flex;
  }
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 4vw, 42px);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  padding: 0;
  margin-left: 20px;
  margin-right: auto;
}

.menu-link {
  white-space: nowrap;
}

.header.light-bg .menu {
  gap: 42px;
}

.menu-link {
  position: relative;
  transition: all 0.25s ease;
}

.menu-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: width 0.25s ease;
}

.menu-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ======================== */
/* SOCIAL ICONS IN MENU     */
/* ======================== */

.menu-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 18px);
  padding-left: 0;
  border-left: none;
  flex-shrink: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 6vw, 36px);
  height: clamp(32px, 6vw, 36px);
  color: var(--white);
  transition: all 0.25s ease;
  border-radius: 50%;
  flex-shrink: 0;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.social-link svg {
  width: clamp(18px, 4vw, 20px);
  height: clamp(18px, 4vw, 20px);
}

.social-link.whatsapp-icon {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link.whatsapp-icon:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: scale(1.1);
}

/* ======================== */
/* HERO SOCIAL ICONS       */
/* ======================== */

.hero-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 3vw, 18px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: auto;
  flex-shrink: 0;
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 6vw, 36px);
  height: clamp(32px, 6vw, 36px);
  color: var(--white);
  transition: all 0.25s ease;
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.hero-social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.hero-social-link svg {
  width: clamp(18px, 4vw, 20px);
  height: clamp(18px, 4vw, 20px);
}

.hero-social-link.whatsapp-icon {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
  font: inherit;
}

/* ======================== */
/* HERO SECTION             */
/* ======================== */

.hero {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  padding: 0;
}

/* Bloco Esquerdo (Terracota) */
.hero-left {
  width: 30%;
  background: var(--brown);
  color: var(--white);
  padding: 34px 36px 60px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  position: relative;
  z-index: 10;
  overflow-y: auto;
}

.hero-logo {
  margin-bottom: 12px;
}

.logo-hero {
  display: block;
  cursor: pointer;
  transition: opacity 0.25s ease;
  max-width: 240px;
}

.logo-hero:hover {
  opacity: 0.8;
}

.logo-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  opacity: 0.95;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  margin: 0;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.hero-line {
  width: 58px;
  height: 2px;
  background: rgba(255,255,255,0.9);
}

.hero p {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-body);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 12px 18px;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.62rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
  margin-top: 4px;
}

.btn-hero:hover {
  background: var(--white);
  color: var(--brown);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-secondary {
  background: var(--white);
  color: var(--brown);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

/* Bloco Direito (Vídeo) */
.hero-right {
  width: 70%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #c5bcae;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.18);
  z-index: 2;
}

/* ======================== */
/* SERVICES SECTION         */
/* ======================== */

.services {
  background: #f4f1ee;
  padding: 80px 0 100px;
}

.services-container {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 0;
}

.services-header {
  width: 100%;
  max-width: 1120px;
  margin: 0 0 60px 0;
  text-align: left;
}

.services-header h2,
.portfolio-header h2,
.services-title,
.portfolio-title,
.about .section-title,
.contact .section-title,
.process-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  text-align: left;
  color: #161616;
}

.services-title,
.portfolio-title {
  margin-bottom: 10px;
}
.services-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15); /* linha bem sutil */
    margin: 18px 0 18px 0;
}

.services-header p {
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.12em;
    margin: 0;
    color: #7b7b7b;
}

.services-subtitle {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  color: #7b7b7b;
  text-align: left;
  margin: 0;
  letter-spacing: 0.12em;
}

.services-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 24px;
}

.services-row:last-child {
  margin-bottom: 0;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-top: 18px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -17.5px; /* metade do gap (35px / 2) */
  top: 38px; /* onde as imagens começam */
  width: 1px;
  height: 240px; /* altura da imagem */
  background: rgba(0, 0, 0, 0.18); /* linha suave */
}

.service-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  margin: 8px 0 5px;
}
.service-card-title {
  font-family: var(--font-title);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 2px;
  line-height: 1.3;
  min-height: 90px;
  display: flex;
  align-items: center;
  text-align: left;
  height: 90px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card-description {
  font-family: var(--font-body);
  font-size: 5px;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  text-align: justify;
  text-align-last: left;
  margin: 0;
  flex-grow: 1;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: normal;
}

/* ======================== */
/* PROCESS SECTION          */
/* ======================== */

.process {
  background: #ffffff;
  padding: 96px 0;
  margin-top: 0;
  width: 100%;
}

.process-content {
  padding: 0;
}

.process-header {
  width: 100%;
  max-width: 1120px;
  margin: 0 0 60px 0;
  text-align: left;
}

.process-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  text-align: left;
  color: #161616;
}

.process-image-container {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.process-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #ffffff;
  margin: 0 auto;
  padding: 0;
}

/* ======================== */
/* PORTFOLIO SECTION        */
/* ======================== */

.portfolio {
  background: #f4f1ee;
  padding-bottom: 80px;
}

/* Portfolio categories (4 cards padronizados) */
.portfolio-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.portfolio-category {
  background: transparent;
  color: var(--white);
  padding: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 360px;
}

.portfolio-category-title {
  color: #111111;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.portfolio-project-name {
  color: #111111;
  font-family: var(--font-title);
  font-size: 8px;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.3;
}

.portfolio-technical-btn {
  background: rgba(165, 103, 82, 0.95);
  border: 1px solid rgba(165, 103, 82, 0.95);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: fit-content;
}

.portfolio-technical-btn:hover {
  background: #8f5a47;
}

.portfolio-category .portfolio-carousel {
  background: transparent;
  margin-top: auto;
}

@media (max-width: 980px) {
  .portfolio-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .portfolio-categories {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ======================== */
/* ABOUT SECTION            */
/* ======================== */

/* Estilos restaurados para as seções Sobre e Contato */
.about {
  background: #f4f1ee;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.about-photo {
  min-height: 560px;
  background: #ddd3ca;
  display: grid;
  place-items: center;
  color: #777;
  font-weight: 500;
  border-radius: 4px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 18px;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

.expertise-section {
  margin: 30px 0;
}

.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 30px;
}

.expertise-badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.expertise-badge:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

/* ======================== */
/* BUTTONS                  */
/* ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  color: var(--white);
  border: 2px solid var(--brown);
  padding: clamp(12px, 1.5vw, 15px) clamp(20px, 3vw, 26px);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 8px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn:hover {
  background: transparent;
  color: var(--brown);
}

/* ======================== */
/* CONTACT SECTION          */
/* ======================== */

.contact {
  background: #f4f1ee;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info-item {
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.52);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-item strong {
  display: block;
  color: var(--brown);
  margin-bottom: 6px;
  font-size: 11px;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-item p a {
  color: var(--brown);
  transition: color 0.25s ease;
  font-family: var(--font-body);
  font-size: 11px;
}

.contact-info-item p a:hover {
  color: var(--brown-dark);
  text-decoration: underline;
}

.contact-form {
  background: var(--cream);
  padding: 30px;
  border: 1px solid var(--border);
  display: grid;
  gap: 18px;
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: clamp(5px, 1vw, 8px);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--dark);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 20, 20, 0.15);
  padding: clamp(10px, 1.5vw, 14px) clamp(12px, 1.5vw, 15px);
  font: inherit;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  background: var(--white);
  border-radius: 4px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(165, 103, 82, 0.1);
}

textarea {
  min-height: clamp(100px, 20vw, 140px);
  resize: vertical;
}

.contact-form small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ======================== */
/* WHATSAPP MODAL           */
/* ======================== */

.whatsapp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.15s ease;
}

.whatsapp-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.whatsapp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.25s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-close:hover {
  color: var(--dark);
}

.whatsapp-modal-content h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--dark);
  font-weight: 600;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(165, 103, 82, 0.1);
}

.whatsapp-btn-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.whatsapp-btn-submit:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

.whatsapp-btn-submit:active {
  transform: translateY(0);
}

/* ======================== */
/* FOOTER                   */
/* ======================== */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-link {
  color: var(--brown);
  font-weight: 700;
  transition: color 0.25s ease;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--brown-dark);
}

/* ======================== */
/* RESPONSIVE DESIGN        */
/* ======================== */

/* ===== TABLET & MEDIUM DEVICES (768px - 1024px) ===== */
@media (max-width: 1024px) {
  .container {
    width: min(100%, 90%);
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
    max-width: 800px;
  }

  .section-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
  }

  .section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
  }

  .hero p {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }



  .about-grid {
    gap: 40px;
    grid-template-columns: 1fr 1.1fr;
  }

  .about-photo {
    min-height: 450px;
  }

  .contact-grid {
    gap: 30px;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .form-row {
    gap: 16px;
  }

  .process {
    margin-top: 100px;
  }
}

/* ===== LANDSCAPE TABLETS & SMALL LAPTOPS (980px) ===== */
@media (max-width: 980px) {
  .header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .header-content {
    min-height: 80px;
    gap: 16px;
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    order: 3;
  }

  .menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--brown);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .menu.active {
    display: flex;
  }

  .menu-link {
    font-size: 0.9rem;
  }

  .menu-social {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    margin-top: 10px;
    justify-content: flex-start;
    gap: 14px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-left {
    width: 100%;
    padding: clamp(20px, 5vw, 40px);
    gap: 30px;
  }

  .hero-right {
    width: 100%;
    height: clamp(280px, 60vw, 400px);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
  }

  .hero p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }

  .hero-line {
    width: 50px;
  }

  .btn-hero {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    padding: 10px 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    min-height: 350px;
    order: 2;
  }

  .section-header {
    order: 1;
  }

  .about-text {
    order: 1;
  }

  .about-text p {
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    gap: 14px;
  }

  .contact-info-item {
    padding: 18px;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  }

  .contact-form {
    padding: 24px;
    gap: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  label {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  }

  input,
  select,
  textarea {
    padding: 12px 14px;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  }

  textarea {
    min-height: 120px;
  }

  .btn {
    padding: 12px 22px;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  }

  .process {
    margin-top: 95px;
  }



  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .section {
    padding: clamp(50px, 8vw, 80px) 0;
  }

  .section-header {
    margin-bottom: clamp(30px, 5vw, 45px);
  }
}

/* ===== SMALL TABLETS & LARGE PHONES (768px) ===== */
@media (max-width: 768px) {
  .container {
    width: min(100%, 88%);
  }

  .header-content {
    min-height: 70px;
    padding: 0 16px;
    gap: 12px;
  }

  .menu {
    top: 70px;
    padding: 16px;
    gap: 12px;
  }

  .hero-left {
    padding: clamp(24px, 4vw, 32px);
    gap: 24px;
  }

  .hero-right {
    height: clamp(240px, 50vw, 350px);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  }

  .hero p {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  }

  .hero-line {
    width: 45px;
  }

  .btn-hero {
    font-size: clamp(0.65rem, 1.3vw, 0.75rem);
    padding: 9px 16px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .about-photo {
    min-height: 300px;
  }

  .about-text p {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    margin-bottom: 14px;
  }

  .expertise-badge {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
    padding: 8px 12px;
  }

  .section-label {
    font-size: clamp(0.7rem, 1.2vw, 0.78rem);
    letter-spacing: 1.5px;
  }

  .section-title {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
  }

  .section-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  }

  .section-header {
    max-width: 750px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-info-item {
    padding: 16px;
  }

  .form-row {
    gap: 12px;
  }

  label {
    gap: 6px;
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  }

  input,
  select,
  textarea {
    padding: 11px 13px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  textarea {
    min-height: 110px;
  }

  .btn {
    padding: 11px 20px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  .process {
    margin-top: 90px;
  }

  .section {
    padding: clamp(40px, 6vw, 70px) 0;
  }

  .section-header {
    margin-bottom: clamp(25px, 4vw, 40px);
  }

  .whatsapp-modal-content {
    padding: 30px;
    max-width: 90%;
  }

  .whatsapp-modal-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    margin-bottom: 18px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 13px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  .whatsapp-btn-submit {
    padding: 12px 18px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

}

/* ===== PHONES (480px - 768px) ===== */
@media (max-width: 480px) {
  body {
    font-size: clamp(14px, 2.5vw, 16px);
  }

  .container {
    width: min(100%, 85%);
  }

  .header-content {
    min-height: 65px;
    padding: 0 14px;
    gap: 10px;
  }

  .menu {
    top: 65px;
    padding: 14px;
    gap: 10px;
  }

  .menu-link {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
  }

  .section {
    padding: clamp(32px, 5vw, 60px) 0;
  }

  .section-header {
    margin-bottom: clamp(20px, 3.5vw, 35px);
  }

  .section-label {
    font-size: clamp(0.65rem, 1.1vw, 0.75rem);
    letter-spacing: 1.3px;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: clamp(1.4rem, 3.2vw, 2.5rem);
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  }

  .section-header {
    max-width: 100%;
  }

  .hero-left {
    width: 100%;
    padding: clamp(18px, 4vw, 28px);
    gap: 20px;
  }

  .hero-right {
    width: 100%;
    height: clamp(200px, 45vw, 300px);
  }

  .hero h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.25;
    margin: 0;
  }

  .hero p {
    font-size: clamp(0.78rem, 1.6vw, 0.88rem);
    line-height: 1.55;
  }

  .hero-logo {
    margin-bottom: 16px;
  }

  .logo-hero {
    max-width: 240px;
  }

  .hero-text {
    gap: 16px;
  }

  .hero-line {
    width: 40px;
  }

  .btn-hero {
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    padding: 8px 14px;
    margin-top: 8px;
  }

  .hero-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-photo {
    min-height: 280px;
  }

  .about-text p {
    font-size: clamp(0.82rem, 1.5vw, 0.88rem);
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .expertise-section {
    margin: 20px 0;
  }

  .expertise-grid {
    gap: 8px;
    margin: 10px 0 24px;
  }

  .expertise-badge {
    font-size: clamp(0.75rem, 1.3vw, 0.82rem);
    padding: 7px 11px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-info-item {
    padding: 14px;
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  }

  .contact-info-item strong {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  }

  .contact-form {
    padding: 16px;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  label {
    gap: 5px;
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    font-weight: 500;
  }

  input,
  select,
  textarea {
    padding: 10px 12px;
    font-size: clamp(0.78rem, 1.5vw, 0.88rem);
    border-radius: 3px;
  }

  textarea {
    min-height: 100px;
    resize: vertical;
  }

  .contact-form small {
    font-size: clamp(0.7rem, 1.2vw, 0.78rem);
  }

  .btn {
    padding: 10px 18px;
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    letter-spacing: 0.3px;
  }

  .process {
    margin-top: 80px;
  }



  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 0 16px;
  }

  .footer-content p {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  }

  .footer-link {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  }

  .whatsapp-modal-content {
    padding: 24px;
    max-width: 90%;
    border-radius: 6px;
  }

  .whatsapp-modal-close {
    top: 12px;
    right: 12px;
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .whatsapp-modal-content h2 {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  }

  .whatsapp-btn-submit {
    padding: 11px 16px;
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    margin-top: 6px;
  }

}

/* ===== VERY SMALL PHONES (< 320px) ===== */
@media (max-width: 320px) {
  .container {
    width: min(100%, 82%);
  }

  .header-content {
    min-height: 60px;
    padding: 0 12px;
  }

  .menu {
    padding: 12px;
  }

  .section {
    padding: clamp(24px, 4vw, 50px) 0;
  }

  .section-title {
    font-size: clamp(1.2rem, 2.8vw, 2rem);
  }

  .hero h1 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
    text-align: center;
  }

  .services-grid {
    gap: 14px;
  }

  .service-card-image {
    height: 160px;
  }

}

/* ===================================================== */
/* AJUSTE FINAL DO NAVBAR - ESPAÇOS IGUAIS ENTRE BLOCOS  */
/* logo | links | ícones sociais                         */
/* ===================================================== */
@media (min-width: 981px) {
  .header.light-bg {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 86px;
    background: var(--brown);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 36px;
  }

  .header.light-bg .container {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .header.light-bg .header-content {
    display: contents;
    min-height: 86px;
    padding: 0;
  }

  .header.light-bg .logo-horizontal {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .header.light-bg .logo-horizontal img {
    height: 62px;
    width: auto;
    max-width: none;
    transform: none;
    object-fit: contain;
  }

  .header.light-bg .menu {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    margin: 0;
    padding: 0;
  }

  .header.light-bg .menu-social {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
  }
}



/* ===================================================== */
/* PORTFOLIO SECTION - CATEGORIES WITH CAROUSELS         */
/* ===================================================== */

.portfolio-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .portfolio-categories {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Portfolio Category - usar terracota uniforme */
.portfolio-category {
  background: var(--brown);
  color: var(--white);
  border: 1px solid rgba(165, 103, 82, 0.25);
  border-top: 2px solid rgba(165, 103, 82, 0.35);
  border-radius: 10px;
  padding: 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.portfolio-category::before {
  display: none;
}

/* garantir que os pseudo-elementos não apliquem gradientes diferentes */
.portfolio-category::after {
  background: transparent !important;
}

.portfolio-category:nth-child(1),
.portfolio-category:nth-child(2),
.portfolio-category:nth-child(3),
.portfolio-category:nth-child(4) {
  background: var(--brown);
  border-color: rgba(165, 103, 82, 0.25);
}

.portfolio-category-title {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-project-name {
  text-align: center;
  margin: 0 0 2px;
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  min-height: 0.9em;
  line-height: 1;
}

.portfolio-technical-btn {
  width: 100%;
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.98);
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-technical-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Portfolio Carousel in Category */
.portfolio-carousel {
  position: relative;
  width: 100%;
  flex-direction: column;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
  z-index: 3;
  border-radius: 16px;
  background: transparent;
}

.portfolio-carousel-wrapper {
  width: 100%;
  height: clamp(200px, 27vw, 280px);
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}


.portfolio-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  align-items: center;
}

.portfolio-carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  cursor: pointer;
  transition: transform 0.6s ease, filter 0.4s ease, box-shadow 0.5s ease;
  border: none;
  border-radius: 10px;
  position: relative;
  margin: 0 auto;
  background: transparent;
  filter: brightness(1) saturate(1);
  padding: 0;
}

.portfolio-carousel-image:hover {
  transform: scale(1.12) perspective(1000px) rotateZ(0.5deg);
  filter: brightness(1.1) saturate(1.15) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Carousel Navigation Buttons */
.portfolio-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #141414;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 15;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.portfolio-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.25) rotate(90deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
}

.portfolio-carousel-btn-prev {
  left: 8px;
}

.portfolio-carousel-btn-next {
  right: 8px;
}

.portfolio-carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Carousel Indicators */
.portfolio-carousel-indicators {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 1px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.portfolio-carousel-indicators button {
  width: 20px;
  height: 2.5px;
  border-radius: 1.25px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.portfolio-carousel-indicators button:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-carousel-indicators button.active {
  background: rgba(255, 255, 255, 1);
  width: 36px;
  height: 2.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .portfolio-carousel {
    min-height: 0;
    gap: 6px;
  }

  .portfolio-carousel-wrapper {
    height: clamp(180px, 35vw, 240px);
  }

  .portfolio-carousel-image {
    height: 100%;
    padding: 0;
  }

  .portfolio-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .portfolio-carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .portfolio-category {
    padding: 16px 12px 12px;
  }

  .portfolio-category-title {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  }


}

@media (max-width: 480px) {
  .portfolio-categories {
    gap: 40px;
    margin-top: 48px;
  }

  .portfolio-carousel {
    min-height: 0;
    gap: 6px;
  }

  .portfolio-carousel-wrapper {
    height: clamp(160px, 46vw, 210px);
  }

  .portfolio-carousel-image {
    height: 100%;
    padding: 0;
  }

  .portfolio-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .portfolio-carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .portfolio-category {
    padding: 14px 10px 10px;
  }

  .portfolio-category-title {
    font-size: 1rem;
    letter-spacing: 1px;
  }

 
}

/* ===================================================== */
/* PORTFOLIO ADVANCED ANIMATIONS & EFFECTS               */
/* ===================================================== */

/* ===================================================== */
/* PROJECT MODALS                                        */
/* ===================================================== */
/* Evita mostrar imagens sobrepostas enquanto a primeira imagem do modal carrega.
   Só interfere na abertura inicial; não altera dimensões nem layout final. */
.project-modal.is-loading .project-modal-content {
  visibility: hidden;
}
.project-modal.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 1100px);
  height: min(80vh, 900px);
  transform: translate(-50%, -50%);
  background-image: var(--project-preview-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
}
.project-modal.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: modal-preview-spin 0.7s linear infinite;
  pointer-events: none;
}
@keyframes modal-preview-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .project-modal.is-loading::after { animation: none; }
}


.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  animation: fadeIn 0.3s ease;
}

.project-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-content {
  position: relative;
  width: auto;
  max-width: 95vw;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-modal-carousel {
  position: relative;
  width: auto;
  max-width: 95vw;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.project-modal-wrapper {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 4px;
}

.project-modal-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
}

.project-modal-slide {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* Modal Navigation Buttons */
.project-modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brown);
  border: 2px solid var(--cream);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(20, 20, 20, 0.5);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.project-modal-btn:hover {
  background: var(--brown-dark);
  box-shadow: 0 5px 16px rgba(20, 20, 20, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.project-modal-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.project-modal-btn svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.project-modal-btn-prev {
  left: 14px;
}

.project-modal-btn-next {
  right: 14px;
}

/* Modal Indicators */
.project-modal-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding: 0 20px;
}

.project-modal-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(165, 103, 82, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-modal-indicators button.active {
  background: var(--brown);
  width: 28px;
  border-radius: 5px;
}

/* Modal Close Button */
.project-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: var(--brown);
  font-size: 2.5rem;
  cursor: pointer;
  transition: opacity 0.25s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 201;
}

.project-modal-close:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .project-modal-content {
    width: 95%;
    height: 75vh;
  }

  .project-modal-btn {
    width: 46px;
    height: 46px;
  }

  .project-modal-btn-prev {
    left: 8px;
  }

  .project-modal-btn-next {
    right: 8px;
  }

  .project-modal-btn svg {
    width: 25px;
    height: 25px;
  }

  .project-modal-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
    width: 36px;
    height: 36px;
  }
}



/* ===================================================== */
/* PORTFOLIO USABILITY ENHANCEMENTS                      */
/* Melhorias visuais para clareza de interações          */
/* ===================================================== */

/* 1. OVERLAY HOVER NA IMAGEM PRINCIPAL - Versão dinâmica */
.portfolio-overlay-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(165, 103, 82, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border-radius: 3px;
  z-index: 8;
  pointer-events: none;
}

.portfolio-overlay-custom.visible {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-overlay-icon {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}

.portfolio-overlay-text {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.4;
}

/* Overlay visível em mobile sem hover */
@media (max-width: 768px) {
  .portfolio-overlay-custom {
    opacity: 0.65;
    background: rgba(165, 103, 82, 0.72);
    pointer-events: auto;
  }

  .portfolio-overlay-custom.visible {
    opacity: 0.75;
  }

  .portfolio-overlay-text {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  }
}

/* AJUSTE LEVE DE ALTURA DO CAROUSEL */
@media (min-width: 1024px) {
  .portfolio-carousel {
    min-height: 320px;
  }
}

/* TECHNICAL MODALS */
.technical-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 210;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.technical-modal.active {
  display: flex;
}

.technical-modal:has(.technical-modal-slide-empty) {
  align-items: center;
  padding: 24px;
}

.technical-modal:has(.technical-modal-slide-empty) .technical-modal-content {
  width: min(560px, calc(100vw - 48px));
}

.technical-modal-content {
  position: relative;
  width: auto;
  max-width: 95vw;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  overflow: visible;
}

.technical-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--brown);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.technical-modal-carousel {
  width: 100%;
  position: relative;
}

.technical-modal-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.technical-modal-track {
  width: 100%;
  display: flex;
  transition: transform 0.4s ease;
}

.technical-modal-track > .technical-modal-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.technical-modal-track > img.technical-modal-slide {
  min-height: 0;
  max-height: 95vh;
  object-fit: scale-down;
}

.technical-modal-slide {
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: var(--dark);
  background: linear-gradient(135deg, #f7f1ec 0%, #ffffff 100%);
  object-fit: contain;
}

.technical-modal-slide h3 {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--brown-dark);
  text-transform: uppercase;
}

.technical-modal-slide p {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.6;
  color: #5f5f5f;
}

.technical-modal-track > .technical-modal-slide-empty {
  min-height: 0;
  padding: 42px 36px;
  border: 1px solid rgba(165, 103, 82, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, var(--cream) 100%);
  box-shadow: 0 18px 48px rgba(55, 52, 53, 0.16);
}

.technical-modal-slide-empty h3 {
  margin: 0;
  color: var(--brown-dark);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.3;
}

.technical-modal-slide-empty p {
  margin: 0;
  color: #5f5f5f;
  font-size: clamp(0.95rem, 2.5vw, 1rem);
}

.technical-modal:has(.technical-modal-slide-empty) .technical-modal-close {
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid rgba(165, 103, 82, 0.18);
  font-size: 1.7rem;
}

@media (max-width: 480px) {
  .technical-modal-track > .technical-modal-slide-empty {
    padding: 36px 24px;
  }
}

.technical-modal-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 8;
}

.technical-modal-control {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.technical-modal-control:hover {
  background: rgba(255, 255, 255, 1);
}

.technical-modal-indicators {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.technical-modal-indicators button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(165, 103, 82, 0.3);
  cursor: pointer;
  padding: 0;
}

.technical-modal-indicators button.active {
  background: var(--brown);
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .project-modal:not(.modal-controls-visible) .project-modal-btn,
  .technical-modal:not(.modal-controls-visible) .technical-modal-control {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .project-modal-wrapper,
  .technical-modal-wrapper {
    touch-action: pan-y pinch-zoom;
  }

  .project-modal.modal-zoomed .project-modal-wrapper,
  .technical-modal.modal-zoomed .technical-modal-wrapper {
    touch-action: pan-x pan-y pinch-zoom;
  }

  .project-modal.modal-zoomed .project-modal-btn,
  .technical-modal.modal-zoomed .technical-modal-control {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .portfolio-carousel {
    min-height: 260px;
  }
}

/* ===================================================== */
/* DESKTOP ONLY - SERVIÇOS SEÇÃO                         */
/* Formatação apenas para desktop (1120px)               */
/* ===================================================== */

/* ===================================================== */
/* MODAL TÉCNICO - INTERIORES PROJETO 3                  */
/* Aumenta o tamanho das imagens sem distorcê-las         */
/* ===================================================== */
#interiores-projeto3-tecnico-modal img.technical-modal-slide {
  min-height: 400px;
  object-fit: contain;
}



/* ===================================================================
   AJUSTES VISUAIS — REFERÊNCIA, NOVEMBRO DE 2026
   Não substitui mídia, carrosséis, botões, modais ou a lógica do main.js.
   A captura enviada tem 582px de largura; valores do guia (16/9/5 etc.)
   são tratados como medidas visuais da referência, escaladas para desktop.
   =================================================================== */

:root {
  --brown: #a56752;
  --cream: #f3f5f6;
  --layout-bg: #f3f5f6;
  --layout-pink: #e4d1cb;
  --layout-form-pink: #dccac4;
  --layout-cta: #ae7562;
  --layout-ink: #373435;
  --font-title: "Futura Md BT", "Futura", "Montserrat", sans-serif;
  --font-body: "Futura Bk BT", "Futura", "Montserrat", sans-serif;
  --reference-width: 1000px;
  --reference-heading: clamp(24px, 2.75vw, 39px); /* 16, guia */
  --reference-subtitle: clamp(14px, 1.45vw, 21px); /* 9, guia */
  --reference-service: clamp(11px, 0.9vw, 13px); /* 5, guia */
}

body {
  color: var(--layout-ink);
  background: #fff;
}

/* A largura de conteúdo (400/582 da captura) é estimada. */
.container,
.services-container {
  width: min(69%, var(--reference-width));
  max-width: var(--reference-width);
  margin-inline: auto;
}

/* Cabeçalho preservado. A lateral direita continua recebendo a navegação. */
.header { width: 71.6%; }

/* ABERTURA: 28,4% painel terracota; 71,6% vídeo original. */
.hero.section {
  display: flex;
  min-height: clamp(540px, 48vw, 700px);
  padding: 0;
}

.hero-left {
  width: 28.4%;
  padding: clamp(26px, 2.7vw, 44px) clamp(17px, 1.9vw, 34px)
           clamp(27px, 3.5vw, 52px);
  background: var(--brown);
  gap: 0;
  overflow: visible;
}

.hero-right { width: 71.6%; }

.hero-logo {
  width: min(100%, 110px);
  margin: 0 auto clamp(70px, 6vw, 108px);
}

.logo-hero { max-width: 100%; }
.logo-hero img { width: 100%; border-radius: 0; }
.hero-text { gap: 12px; }

.hero h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(25px, 2.55vw, 37px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-line {
  width: 65px;
  height: 2px;
  margin: 10px 0 4px;
}

.hero p {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.03vw, 16px);
  line-height: 1.4;
}

.hero-buttons { gap: 10px; margin-top: clamp(25px, 3.2vw, 50px); }
.btn-hero {
  padding: 12px 15px;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: clamp(10px, .83vw, 13px);
  letter-spacing: 0;
}
.hero-social { margin-top: auto; padding-top: 13px; }
.hero-overlay { background: rgba(0,0,0,.04); }

/* CABEÇALHOS DAS SEÇÕES */
.services-header h2,
.process-title,
.portfolio-header h2,
.about .section-title,
.contact .section-title {
  font-family: var(--font-title);
  font-size: var(--reference-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left;
  color: var(--layout-ink);
}

.services-header p,
.process .section-subtitle,
.portfolio .portfolio-subtitle,
.contact .section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--reference-subtitle);
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--layout-ink);
  text-align: left;
}

.services-header,
.process-header,
.portfolio-header,
.about .section-header,
.contact .section-header {
  margin: 0;
  max-width: none;
  text-align: left;
}

.services-header h2,
.services-title { margin: 0; }

.services .section-line,
.process .section-line,
.portfolio .portfolio-line,
.about .section-line,
.contact .section-line {
  height: 1px;
  width: 100%;
  margin: 11px 0 12px;
  background: #c7c7c7;
}

/* ÁREAS DE ATUAÇÃO: 3 colunas, 2 linhas, sem separadores verticais. */
.services {
  background: var(--layout-bg);
  padding: clamp(52px, 4.5vw, 70px) 0 clamp(100px, 10vw, 155px);
}
.services-grid { margin-top: clamp(47px, 4.4vw, 68px); }
.services-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(23px, 3.1vw, 42px);
  margin-bottom: clamp(39px, 4.8vw, 68px);
}
.service-card { padding: 0; gap: 0; min-width: 0; }
.service-card::after { content: none; }
.service-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: contain;
  object-position: center;
  margin: 0 0 11px;
  border-radius: 0;
  mix-blend-mode: multiply;
}
.service-card-title {
  display: block;
  min-height: 0;
  height: auto;
  padding: 0;
  margin: 0 0 7px;
  overflow: visible;
  font-family: var(--font-title);
  font-size: var(--reference-service);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--layout-ink);
}
.service-card-description {
  font-family: var(--font-body);
  font-size: var(--reference-service);
  line-height: 1.34;
  text-align: justify;
  hyphens: auto;
  color: var(--layout-ink);
}

/* METODOLOGIA: preserva a imagem existente metodologiadetrabalho.png. */
.process.section {
  margin-top: 0;
  padding: clamp(24px, 2.5vw, 38px) 0 clamp(50px, 5vw, 75px);
  background: linear-gradient(to bottom, #fff 0 138px, var(--layout-bg) 138px 100%);
}
.process-header { margin-bottom: clamp(38px, 4vw, 60px); }
.process-image-container { background: transparent; overflow: visible; }
.process-image {
  
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

/* PORTFÓLIO: cartões brancos em 2 colunas;
   reordenação visual por CSS mantém os data-attributes e listeners JS. */
.portfolio.section {
  padding: clamp(23px, 2.1vw, 35px) 0 clamp(65px, 6.5vw, 95px);
  background: linear-gradient(to bottom, #fff 0 155px, var(--layout-bg) 155px 100%);
}
.portfolio-header { margin-bottom: clamp(40px, 4vw, 60px); }
.portfolio-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 4.3vw, 66px) clamp(20px, 2.5vw, 35px);
  margin: 0;
  align-items: start;
}
.portfolio-category,
.portfolio-category:nth-child(1),
.portfolio-category:nth-child(2),
.portfolio-category:nth-child(3),
.portfolio-category:nth-child(4) {
  display: grid;
  grid-template-areas: "category" "carousel" "name" "button";
  grid-template-rows: auto auto auto auto;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  color: var(--layout-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  animation: none;
  transform: none;
}
.portfolio-category::before,
.portfolio-category::after { display: none !important; }
.portfolio-category:hover { transform: none; box-shadow: none; }
.portfolio-category-title {
  grid-area: category;
  position: static;
  margin: 0 0 9px;
  padding: 0 10px 9px;
  color: var(--layout-ink);
  background: var(--layout-bg);
  border-bottom: 2px solid #c59886;
  font-family: var(--font-title);
  font-size: clamp(17px, 1.7vw, 25px); /* guia: 10 */
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-shadow: none;
  letter-spacing: 0;
}
.portfolio-category .portfolio-carousel {
  grid-area: carousel;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  background: #fff;
  border-radius: 0;
}
.portfolio-carousel-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  border-radius: 0;
  overflow: hidden;
}
.portfolio-carousel-image {
  height: 100%;
  width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin: 0;
}
.portfolio-carousel-image:hover {
  transform: none;
  filter: brightness(1.05);
  box-shadow: none;
}
.portfolio-project-name {
  grid-area: name;
  min-height: 0;
  padding: 11px 12px 3px;
  margin: 0;
  background: #fff;
  color: var(--layout-ink);
  text-align: left;
  font-family: var(--font-title);
  font-size: clamp(13px, 1.32vw, 19px); /* guia: 8 */
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.portfolio-technical-btn {
  grid-area: button;
  justify-self: start;
  width: auto;
  min-width: 0;
  margin: 0 0 12px 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: var(--layout-cta);
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(11px, .93vw, 14px); /* guia: 6 */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
.portfolio-technical-btn:hover { background: #925b49; }
.portfolio-carousel-btn {
  width: clamp(30px, 2.7vw, 39px);
  height: clamp(30px, 2.7vw, 39px);
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  box-shadow: 0 2px 10px #0003;
  animation: none;
}
.portfolio-carousel-btn:hover {
  transform: translateY(-50%);
  box-shadow: 0 2px 10px #0003;
}
.portfolio-carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  pointer-events: none;
}
.portfolio-carousel-indicators button {
  background: rgba(255,255,255,.6);
  pointer-events: auto;
}
.portfolio-carousel-indicators button.active { background: #fff; }

/* SOBRE MIM: fotografia à esquerda e três parágrafos à direita. */
.about.section {
  padding: clamp(25px, 2.4vw, 38px) 0 clamp(85px, 8vw, 120px);
  background: linear-gradient(to bottom, #fff 0 100px, var(--layout-bg) 100px 100%);
}
.about .section-header { margin-bottom: clamp(33px, 3.6vw, 55px); }
.about-grid {
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 34px);
  align-items: start;
}
.about-photo {
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 125 / 152;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ddd3ca;
  order: initial;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { order: initial; }
.about-text p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.12vw, 16px);
  line-height: 1.4;
  margin: 0 0 clamp(13px, 1.3vw, 19px);
  text-align: justify;
  hyphens: auto;
}
/* Seção extra do site original: mantida no HTML para fácil restauração,
   mas ocultada nesta versão para corresponder ao layout da referência. */
.about .expertise-section { display: none; }
.about .btn {
  display: flex;
  width: 86%;
  margin: 19px auto 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: clamp(12px, 1.3vw, 19px); /* guia: 8 */
  font-weight: 700;
  background: var(--layout-cta);
  color: #fff;
  letter-spacing: 0;
}
.about .btn:hover { background: #925b49; color: #fff; }

/* CONTATO: 3 cartões rosados à esquerda e formulário à direita. */
.contact.section {
  padding: clamp(24px, 2.3vw, 35px) 0 clamp(38px, 3.8vw, 60px);
  background: linear-gradient(to bottom, #fff 0 145px, var(--layout-bg) 145px 100%);
}
.contact .section-header { margin-bottom: clamp(34px, 3.5vw, 54px); }
.contact-grid {
  display: grid;
  grid-template-columns: 37% minmax(0, 1fr);
  gap: clamp(13px, 1.2vw, 18px);
  align-items: stretch;
}
.contact-info {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.contact-info-item {
  padding: clamp(17px, 1.7vw, 26px);
  border: 0;
  border-radius: 0;
  background: var(--layout-pink);
  box-shadow: none;
}
.contact-info-item:hover { box-shadow: none; }
.contact-info-item strong {
  color: var(--layout-ink);
  font-family: var(--font-title);
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.contact-info-item p,
.contact-info-item p a {
  color: var(--layout-ink);
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-form {
  display: grid;
  gap: 8px;
  padding: clamp(13px, 1.7vw, 25px);
  border: 0;
  border-radius: 0;
  background: var(--layout-form-pink);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.contact-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(12px, .93vw, 14px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--layout-ink);
}
.contact-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 8px 10px;
  background: #fff;
  box-shadow: none;
  color: var(--layout-ink);
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 16px);
}
.contact-form :is(input, select) { height: clamp(36px, 3vw, 45px); }
.contact-form textarea { min-height: clamp(130px, 12vw, 175px); }
.contact-form .btn {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 10px 12px;
  background: var(--layout-cta);
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0;
}
.contact-form .btn:hover { background: #925b49; color: #fff; }
.contact-form small { font-size: 11px; color: var(--layout-ink); }

/* TABLET — largura preservada e carrosséis em duas colunas quando couber. */
@media (max-width: 1024px) {
  .container, .services-container { width: min(86%, 820px); }
  .hero.section { min-height: 510px; }
  .hero-left { width: 30%; padding-inline: 20px; }
  .hero-right { width: 70%; }
  .hero-logo { margin-bottom: 60px; }
  .hero h1 { font-size: clamp(24px, 2.8vw, 31px); }
  .portfolio-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { padding-bottom: 85px; }
}

@media (max-width: 980px) {
  .header, .header.light-bg {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    background: var(--brown);
  }
  .header.navbar-hidden { transform: none; }
  .header.light-bg .logo-horizontal { display: none; }
  .header .logo, .header.light-bg .logo { display: flex; }
  .header-content, .header.light-bg .header-content {
    width: 100%;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
  }
  .header .menu-social { display: none !important; }
  .header .menu-toggle { display: flex; }
  .header .menu { top: 70px; }
  .hero.section { flex-direction: column; min-height: 0; }
  .hero-left { width: 100%; min-height: 370px; padding: 25px 6% 24px; }
  .hero-right { width: 100%; height: 360px; min-height: 360px; flex: none; }
  .hero-logo { margin: 0 0 34px; width: 150px; }
  .hero h1 { font-size: clamp(29px, 4vw, 39px); }
  .hero p { font-size: 15px; }
  .hero-buttons { margin-top: 25px; }
  .hero-social { margin-top: auto; }
  .about-grid { grid-template-columns: 33% minmax(0, 1fr); }
  .about-photo, .about-text { order: initial; }
  .contact-grid { grid-template-columns: 37% minmax(0, 1fr); }
  .contact-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container, .services-container { width: min(90%, 520px); }
  .services-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-row { gap: 30px 22px; }
  .service-card-title, .service-card-description { font-size: 13px; }
  .services { padding: 44px 0 70px; }
  .process.section { background: #fff; }
  .process-image-container { background: var(--layout-bg); }
  .portfolio.section { background: var(--layout-bg); }
  .portfolio-categories { grid-template-columns: 1fr; gap: 35px; }
  .portfolio-header { margin-bottom: 26px; }
  .portfolio-category-title { font-size: 21px; }
  .portfolio-project-name { font-size: 17px; }
  .portfolio-technical-btn { font-size: 12px; }
  .about.section { background: var(--layout-bg); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: min(80%, 290px); margin-inline: auto; }
  .about-text p { font-size: 15px; text-align: left; }
  .contact.section { background: var(--layout-bg); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { gap: 8px; }
  .contact-info-item strong { margin-bottom: 9px; }
  .contact-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .container, .services-container { width: min(90%, 430px); }
  .hero-left { min-height: 360px; padding: 24px 5% 22px; }
  .hero-right { min-height: 260px; height: 260px; }
  .hero h1 { font-size: clamp(26px, 7vw, 32px); }
  .hero p { font-size: 14px; }
  .hero-logo { margin-bottom: 25px; }
  .hero-buttons { gap: 8px; }
  .btn-hero { padding: 10px 12px; font-size: 11px; }
  .services-row { grid-template-columns: 1fr; margin-bottom: 30px; }
  .service-card-title, .service-card-description { font-size: 14px; }
  .service-card-image { aspect-ratio: 1.65; }
  .process .section-line, .portfolio .portfolio-line,
  .about .section-line, .contact .section-line { margin: 10px 0; }
  .contact-form { padding: 15px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 10px; }
  .about .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-category { animation: none !important; }
  .portfolio-carousel-image, .portfolio-carousel-btn { transition: none; }
}

.contact .section-header {
  container-type: inline-size;
}

.contact .section-subtitle {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(5px, 2cqw, 20px);
}

.section-transition-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.services,
.process.section,
.portfolio.section,
.about.section,
.contact.section {
  padding-bottom: clamp(48px, 5vw, 75px);
}


/* ============================================================
   AJUSTE LOCALIZADO DA LOGOMARCA OFICIAL — 03/11/2026
   Logo original: 565 x 564 px, mas parte do arquivo é margem
   transparente. Os PNGs entregues removem apenas essa margem.

   Abertura: a soma da altura reservada à logo + margem inferior
   foi conservada, para não deslocar o título e os botões.
   Navbar: altura do cabeçalho e navegação preservadas.
   Nenhuma mídia, carrossel ou comportamento JS foi alterado.
   ============================================================ */

/* ABERTURA — área total reservada: 196px,
   equivalente a 110px + 86px da composição anterior a 1440px. */
.hero-left .hero-logo {
  box-sizing: border-box;
  width: 100%;
  height: 196px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-left .logo-hero {
  display: block;
  width: 220px;
  max-width: 100%;
  flex: 0 1 auto;
}

.hero-left .logo-hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  opacity: 1;
  object-fit: contain;
  transform: translateX(-3%);
}

/* BARRA DESKTOP — a logo usa mais do espaço livre que já existe
   nos 86px da navbar, sem aumentar a barra ou os seus blocos. */
@media (min-width: 981px) {
  .header.light-bg .logo-horizontal {
    position: relative;
    width: 200px;
    height: 62px;
    flex: 0 0 200px;
    overflow: hidden;
  }

  .header.light-bg .logo-horizontal img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    width: 240px;
      max-height: none;
    max-width: none;
    object-fit: contain;
    opacity: 1;
    transform: translate(-50%, -50%);
    flex-shrink: 0;
  }
}

@media (min-width: 981px) and (max-width: 1024px) {
  /* Mantém os 170px totais reservados à logo nesse intervalo. */
  .hero-left .hero-logo {
    height: 170px;
  }
  .hero-left .logo-hero { width: 260px; }
}

/* TABLET/CELULAR — usa o cabeçalho sticky existente de 70px.
   Não altera a altura do menu, a navegação ou o vídeo. */
@media (max-width: 980px) {
  .header .logo,
  .header.light-bg .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 75px;
    max-width: 75px;
    flex: 0 0 75px;
  }

  .header .logo img,
  .header.light-bg .logo img {
    display: block;
    height: 66px;
    width: auto;
    max-width: 75px;
    object-fit: contain;
  }

  /* Mantém os 184px totais já reservados na versão anterior. */
  .hero-left .hero-logo {
    width: 100%;
    height: 184px;
    margin: 0;
    justify-content: center;
  }
  .hero-left .logo-hero { width: 300px; }
}

@media (max-width: 480px) {
  .header .logo img,
  .header.light-bg .logo img { height: 62px; }

  /* Mantém os 175px totais reservados neste breakpoint. */
  .hero-left .hero-logo {
    height: 175px;
    margin: 0;
  }
}

@media (min-width: 981px) and (max-width: 1279px) {
  .header:not(.light-bg) .container {
    width: 100%;
    max-width: none;
  }

  .header:not(.light-bg) .menu {
    gap: clamp(22px, 2.4vw, 30px);
    margin-left: auto;
    margin-right: 0;
  }

}

/* ==========================================
   CRÉDITOS DO DESENVOLVEDOR — RODAPÉ
   ========================================== */

.footer .developer-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 20px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.footer .developer-credit-label {
  margin: 0 0 6px;
  color: #beb4ad;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.footer .developer-credit-name {
  margin: 0 0 4px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.footer .developer-credit-role {
  margin: 0 0 16px;
  color: #d3a18d;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
}

.footer .developer-credit-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px 24px;
}

.footer .developer-credit-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .developer-credit-links a svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: inherit;
}

.footer .developer-credit-links a:hover {
  color: #d3a18d;
}

.footer .developer-credit-links a:focus-visible {
  outline: 2px solid #d3a18d;
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .footer .developer-credit {
    margin-top: 18px;
    padding-top: 18px;
  }

  .footer .developer-credit-name {
    font-size: 14px;
  }

  .footer .developer-credit-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    column-gap: 22px;
    row-gap: 14px;
  }

  .footer .developer-credit-links a {
    justify-content: flex-start;
  }
}
