/* ============================================================
   HL CONSTRUÇÕES E REFORMAS
   CSS PRINCIPAL
   ------------------------------------------------------------
   Estrutura:
   01. Variáveis / temas
   02. Reset / base
   03. Cabeçalho / navegação
   04. Botões
   05. Hero
   06. Seções gerais
   07. Serviços
   08. Processo
   09. Projetos
   10. Imóveis
   11. CTA
   12. Contato / formulário
   13. Rodapé
   14. Animações / acessibilidade
   15. Responsividade
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS / TEMAS
   ============================================================ */

/* Tema escuro — valores padrão */
:root {
  --bg: #08090a;
  --bg-2: #0e0f11;

  --surface: #141517;
  --surface-2: #1b1d20;

  --border: rgba(255, 255, 255, .10);

  --text: #f6f6f5;
  --muted: #a5a7ab;
  --muted-2: #777a7f;

  --red: #e52d2d;
  --red-light: #ff4b4b;
  --red-dark: #a91e1e;

  --input-bg: #0c0d0f;
  --header-bg: rgba(8, 9, 10, .90);

  --container: 1180px;
  --radius: 18px;
}

/* Tema claro */
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f5f5f5;

  --surface: #ffffff;
  --surface-2: #f0f0f0;

  --border: rgba(0, 0, 0, .10);

  --text: #151515;
  --muted: #666666;
  --muted-2: #777777;

  --red: #e32626;
  --red-light: #e32626;
  --red-dark: #bd1717;

  --input-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, .92);
}


/* ============================================================
   02. RESET / BASE
   ============================================================ */

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;

  /* Transição suave entre os dois temas */
  transition:
    background-color .30s ease,
    color .30s ease;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(229, 45, 45, .30);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

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


/* ============================================================
   03. CABEÇALHO / NAVEGAÇÃO
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;

  border-bottom: 1px solid transparent;

  transition:
    background-color .30s ease,
    border-color .30s ease,
    box-shadow .30s ease;
}

.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}

.header-inner {
  min-height: 82px;

  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand .logo {
  width: 92px;
  height: 54px;
  object-fit: contain;
  border-radius: 5px;
}

/* ============================================================
   LOGOS POR TEMA
   ------------------------------------------------------------
   O seletor ".brand .logo" e ".hero-logo-card .logo" possui
   mais especificidade que ".logo-dark". Por isso os estados
   abaixo são definidos com seletores específicos para impedir
   que os dois logos apareçam ao mesmo tempo.
   ============================================================ */

/* Tema claro: mostra apenas o logo claro */
.brand .logo-light,
.hero-logo-card .logo-light {
  display: block;
}

.brand .logo-dark,
.hero-logo-card .logo-dark {
  display: none;
}

/* Tema escuro: troca para o logo escuro */
html[data-theme="dark"] .brand .logo-light,
html[data-theme="dark"] .hero-logo-card .logo-light {
  display: none;
}

html[data-theme="dark"] .brand .logo-dark,
html[data-theme="dark"] .hero-logo-card .logo-dark {
  display: block;
}

/* Navegação */
.main-nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;

  color: var(--muted);
  font-size: 12px;
  font-weight: 700;

  transition:
    color .20s ease,
    text-shadow .20s ease;
}

/* Linha pequena abaixo do item ativo */
.main-nav a::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -9px;

  width: 0;
  height: 2px;

  background: var(--red);
  border-radius: 999px;

  transform: translateX(-50%);
  transition: width .20s ease;
}

/* Hover e item ativo */
.main-nav a:hover,
.main-nav a.active {
  color: var(--red-light);
  text-shadow: 0 0 13px rgba(229, 45, 45, .30);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 18px;
}


/* ============================================================
   04. BOTÕES
   ============================================================ */

.btn {
  min-height: 49px;
  padding: 0 21px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 12px;
  font-weight: 800;

  transition:
    background-color .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.btn-red {
  background: var(--red);
  color: #ffffff;

  box-shadow: 0 12px 35px rgba(229, 45, 45, .15);
}

.btn-red:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, .025);
  color: var(--text);
}

html[data-theme="light"] .btn-outline {
  background: #ffffff;
}

.btn-outline:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
}

/* Botão de tema */
.theme-toggle {
  min-height: 40px;
  padding: 0 11px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: var(--surface);
  color: var(--text);

  font-size: 11px;
  font-weight: 700;

  transition:
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.theme-toggle:hover {
  border-color: rgba(229, 45, 45, .40);
  color: var(--red);
  transform: translateY(-1px);
}

.theme-icon {
  font-size: 17px;
  line-height: 1;
}

/* Menu mobile */
.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: var(--surface);
}

.menu-toggle span {
  display: block;

  width: 19px;
  height: 2px;

  margin: 4px auto;

  background: var(--text);
}


/* ============================================================
   05. HERO / INÍCIO
   ============================================================ */

.hero {
  min-height: 800px;

  display: flex;
  align-items: center;

  padding-top: 155px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, .99) 0%,
      rgba(8, 9, 10, .91) 52%,
      rgba(8, 9, 10, .66) 100%
    ),
    radial-gradient(
      circle at 80% 45%,
      rgba(229, 45, 45, .22),
      transparent 35%
    );
}

html[data-theme="light"] .hero {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .99) 0%,
      rgba(255, 255, 255, .94) 54%,
      rgba(245, 245, 245, .88) 100%
    ),
    radial-gradient(
      circle at 80% 45%,
      rgba(229, 45, 45, .09),
      transparent 35%
    );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 1px;
  height: 100%;

  right: 19%;
  top: 0;

  background: linear-gradient(
    transparent,
    rgba(229, 45, 45, .45),
    transparent
  );
}

.hero::after {
  width: 520px;
  height: 520px;

  right: -170px;
  bottom: -240px;

  border: 1px solid rgba(229, 45, 45, .14);

  transform: rotate(45deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;

  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--red-light);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow span {
  width: 28px;
  height: 2px;

  display: inline-block;

  margin-right: 9px;
  vertical-align: middle;

  background: var(--red);
}

.hero h1 {
  max-width: 720px;

  margin: 21px 0 24px;

  font: 800 clamp(44px, 5.7vw, 70px)/1.01 "Manrope";
  letter-spacing: -.055em;
}

.hero h1 strong {
  color: var(--red);
}

.hero-text {
  max-width: 640px;

  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;

  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-top: 28px;

  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
}

.hero-points span::before {
  content: "•";
  color: var(--red);
  margin-right: 7px;
}

.hero-side {
  min-height: 480px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.hero-logo-card {
  width: min(390px, 100%);

  padding: 0;
  margin-top: 24px;

  background: transparent;
  border: 0;
  box-shadow: none;

  transform: rotate(2deg);
}

.hero-logo-card .logo {
  width: 100%;
  height: auto;
  /* O display é controlado pelo bloco LOGOS POR TEMA acima.
     Não definir display aqui evita que os dois logos apareçam juntos. */
}

.hero-side-label {
  width: min(390px, 100%);

  margin-top: 22px;
  padding-left: 20px;

  border-left: 2px solid var(--red);
}

.hero-side-label span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: .17em;
}

.hero-side-label strong {
  display: block;

  margin-top: 7px;

  font: 700 17px/1.3 "Manrope";
}


/* ============================================================
   06. SEÇÕES GERAIS
   ============================================================ */

.intro-section,
.process-section,
.contact-section {
  background: var(--bg-2);
}

.section-header h2 {
  margin: 13px 0 14px;

  font: 800 clamp(32px, 4vw, 48px)/1.06 "Manrope";
  letter-spacing: -.045em;
}

.section-header > p:last-child,
.intro-copy > p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
}

.intro-copy > p {
  max-width: 660px;
  font-size: 15px;
}

.intro-copy > p + p {
  margin-top: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;

  margin-top: 45px;
}

.stats-row div {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.stats-row strong {
  display: block;

  color: var(--red);

  font: 800 28px "Manrope";
}

.stats-row span {
  color: var(--muted-2);
  font-size: 10px;
}

.section-header.split {
  max-width: none;

  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;

  margin-bottom: 50px;
}

.section-header.split > p:last-child {
  max-width: 410px;
}


/* ============================================================
   07. SERVIÇOS
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 330px;

  position: relative;

  padding: 28px;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: linear-gradient(
    145deg,
    var(--surface),
    var(--surface-2)
  );

  transition:
    transform .30s ease,
    border-color .30s ease,
    box-shadow .30s ease;
}

.service-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -90px;
  bottom: -90px;

  border: 1px solid rgba(229, 45, 45, .15);

  transform: rotate(45deg);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 45, 45, .38);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.service-number {
  color: var(--red);

  font-size: 10px;
  font-weight: 800;
}

.service-icon {
  margin-top: 30px;

  color: var(--red);

  font: 700 26px "Manrope";
}

.service-card h3 {
  max-width: 330px;

  margin: 18px 0 10px;

  font: 700 20px/1.15 "Manrope";
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
}

.service-card a {
  position: absolute;
  left: 28px;
  bottom: 24px;

  color: var(--text);

  font-size: 10px;
  font-weight: 800;
}

.service-card a span {
  color: var(--red);
  margin-left: 6px;
}


/* ============================================================
   08. PROCESSO
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;

  align-items: start;
}

.process-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.process-card {
  min-height: 175px;

  padding: 25px;

  border: 1px solid var(--border);
  background: var(--surface);

  transition:
    background-color .30s ease,
    border-color .30s ease,
    transform .30s ease;
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 45, 45, .30);
}

.process-card span {
  color: var(--red);

  font-size: 10px;
  font-weight: 800;
}

.process-card strong {
  display: block;

  margin-top: 32px;

  font: 700 18px "Manrope";
}

.process-card p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 12px;
}


/* ============================================================
   09. PROJETOS
   ============================================================ */

.projects-section {
  background: var(--bg);
}

.project-gallery {
  display: grid;

  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 245px 245px;

  gap: 14px;
}

.project-large {
  grid-row: span 2;
}

.project-placeholder {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: end;

  padding: 30px;

  border: 1px solid var(--border);

  background:
    linear-gradient(
      135deg,
      rgba(229, 45, 45, .20),
      transparent 45%
    ),
    repeating-linear-gradient(
      135deg,
      var(--surface) 0 8px,
      var(--surface-2) 8px 16px
    );
}

.project-placeholder::before {
  content: "HL";

  position: absolute;

  top: 35px;
  right: 35px;

  color: rgba(255, 255, 255, .045);

  font: 800 100px "Manrope";
}

html[data-theme="light"] .project-placeholder::before {
  color: rgba(0, 0, 0, .045);
}

.project-placeholder span {
  color: var(--red-light);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}

.project-placeholder strong {
  display: block;

  margin-top: 7px;

  font: 700 21px "Manrope";
}

.project-placeholder p {
  margin-top: 4px;

  color: var(--muted-2);

  font-size: 11px;
}


/* ============================================================
   10. IMÓVEIS
   ============================================================ */

.real-estate-section {
  background:
    linear-gradient(
      90deg,
      var(--bg-2),
      var(--surface)
    );
}

.real-estate-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;

  margin-bottom: 48px;
}

.real-estate-head h2 {
  margin-top: 12px;

  font: 800 clamp(33px, 4vw, 50px)/1.05 "Manrope";
  letter-spacing: -.05em;
}

.real-estate-head > p {
  max-width: 410px;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.property-card {
  min-height: 280px;

  padding: 29px;

  border: 1px solid var(--border);
  background: var(--surface);

  transition:
    transform .30s ease,
    border-color .30s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 45, 45, .30);
}

.property-card.featured {
  background:
    linear-gradient(
      145deg,
      rgba(229, 45, 45, .14),
      var(--surface)
    );
}

.property-icon {
  color: var(--red);
  font-size: 25px;
}

.property-card > span {
  display: block;

  margin-top: 38px;

  color: var(--muted-2);

  font-size: 9px;
  font-weight: 800;
}

.property-card h3 {
  margin: 7px 0;

  font: 700 22px "Manrope";
}

.property-card p {
  color: var(--muted);
  font-size: 13px;
}

.property-card a {
  display: inline-block;

  margin-top: 25px;

  color: var(--text);

  font-size: 11px;
  font-weight: 800;
}


/* ============================================================
   11. CTA
   ============================================================ */

.cta-section {
  padding-top: 25px;
}

.cta-box {
  min-height: 270px;

  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 35px;

  align-items: center;

  padding: 45px;

  border: 1px solid rgba(229, 45, 45, .24);

  background:
    linear-gradient(
      135deg,
      rgba(229, 45, 45, .12),
      transparent 55%
    ),
    var(--surface);
}

.cta-mark {
  color: var(--red);

  font: 800 48px "Manrope";
  letter-spacing: -.08em;
}

.cta-box h2 {
  margin: 10px 0;

  font: 800 clamp(28px, 3.7vw, 43px)/1.05 "Manrope";
  letter-spacing: -.045em;
}

.cta-box p:not(.section-kicker) {
  color: var(--muted);
  font-size: 13px;
}


/* ============================================================
   12. CONTATO / FORMULÁRIO
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 100px;

  align-items: start;
}

.contact-copy h2 {
  margin: 13px 0;

  font: 800 clamp(33px, 4vw, 50px)/1.05 "Manrope";
  letter-spacing: -.05em;
}

.contact-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 14px;
}

.contact-list {
  margin-top: 38px;
}

.contact-list div {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.contact-list span {
  color: var(--red);

  font-size: 10px;
  font-weight: 800;

  margin-right: 13px;
}

.contact-list strong {
  font-size: 12px;
}

.contact-list p {
  margin: 5px 0 0 27px;

  color: var(--muted-2);

  font-size: 11px;
}

.contact-form {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);

  box-shadow: 0 18px 55px rgba(0, 0, 0, .06);
}

.form-notice {
  margin-bottom: 23px;
  padding: 14px;

  border-left: 2px solid var(--red);

  background: rgba(229, 45, 45, .05);
}

.form-notice strong {
  display: block;
  font-size: 11px;
}

.form-notice span {
  display: block;

  margin-top: 3px;

  color: var(--muted-2);

  font-size: 10px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 17px;
}

.contact-form label > span {
  display: block;

  margin-bottom: 7px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  padding: 13px 14px;

  border: 1px solid var(--border);
  border-radius: 8px;

  outline: none;

  background: var(--input-bg);
  color: var(--text);

  transition:
    border-color .20s ease,
    box-shadow .20s ease,
    background-color .30s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-2);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(229, 45, 45, .70);

  box-shadow:
    0 0 0 3px rgba(229, 45, 45, .08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 145px;
}

.form-submit {
  width: 100%;
  border: 0;
}

.button-loading {
  display: none;
}

.form-submit.loading .button-text {
  display: none;
}

.form-submit.loading .button-loading {
  display: inline;
}

.form-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.form-status {
  min-height: 23px;

  margin-top: 13px;

  font-size: 11px;
}

.form-status.success {
  color: #2ca86a;
}

.form-status.error {
  color: #e13a3a;
}

.form-privacy {
  margin-top: 3px;

  color: var(--muted-2);

  font-size: 9px;
}


/* ============================================================
   13. RODAPÉ
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  min-height: 110px;

  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-inner .brand .logo {
  width: 78px;
  height: 46px;
}

.footer-inner p {
  flex: 1;

  color: var(--muted-2);

  font-size: 10px;
}

.footer-inner > div {
  color: var(--muted-2);
  font-size: 9px;
}


/* ============================================================
   14. ANIMAÇÕES / ACESSIBILIDADE
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);

  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}


/* ============================================================
   15. RESPONSIVIDADE
   ============================================================ */

@media (max-width: 1050px) {

  .main-nav {
    gap: 14px;
  }

  .hero-grid {
    gap: 35px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .process-grid,
  .contact-grid {
    gap: 55px;
  }
}


@media (max-width: 820px) {

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 70px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* No celular o botão de tema fica ao lado do menu */
  .theme-toggle {
    order: 2;
  }

  .menu-toggle {
    order: 3;
  }

  .main-nav {
    position: absolute;

    top: 70px;
    left: 16px;
    right: 16px;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 8px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface);

    box-shadow: 0 15px 45px rgba(0, 0, 0, .12);
  }

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

  .main-nav a {
    width: 100%;
    padding: 12px 13px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;

    padding-top: 130px;
    padding-bottom: 85px;
  }

  .hero-grid,
  .intro-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    min-height: auto;

    align-items: flex-start;

    margin-top: 20px;
  }

  .hero-logo-card {
    max-width: 350px;
  }

  .section {
    padding: 80px 0;
  }

  .section-header.split,
  .real-estate-head {
    display: block;
  }

  .section-header.split > p:last-child,
  .real-estate-head > p {
    margin-top: 17px;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
  }

  .project-large {
    grid-column: span 2;
    grid-row: auto;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .services-grid,
  .process-cards,
  .property-grid,
  .form-row,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-large {
    grid-column: auto;
  }

  .project-gallery {
    grid-template-rows: 245px 245px 245px;
  }

  .stats-row {
    gap: 8px;
  }

  .stats-row strong {
    font-size: 23px;
  }

  .contact-form {
    padding: 20px;
  }

  .cta-box {
    padding: 35px 25px;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .footer-inner p {
    flex-basis: 100%;
    order: 3;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 40px;
    padding: 0;
  }
}


@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* ============================================================
   CORREÇÃO FINAL — VISIBILIDADE DOS LOGOS POR TEMA
   ============================================================ */
html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: block; }
html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="dark"] .logo-dark { display: block; }


/* ============================================================
   CONTATOS CLICÁVEIS / DADOS DA HL
   ============================================================ */
.contact-list a,
.form-notice a,
.footer-inner a {
  color: var(--red);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.contact-list a:hover,
.form-notice a:hover,
.footer-inner a:hover {
  text-decoration: underline;
}

.contact-list p {
  line-height: 1.65;
}


/* ============================================================
   GALERIA DE PROJETOS COM IMAGENS ILUSTRATIVAS
   ============================================================ */
.project-gallery-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 18px;
}

.project-gallery-photos .project-photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-gallery-photos .project-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .13);
}

.project-gallery-photos .project-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-photo-caption {
  padding: 18px;
}

.project-photo-caption span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.project-photo-caption h3 {
  margin: 8px 0 5px;
  color: var(--text);
  font: 700 17px/1.35 "Manrope", sans-serif;
}

.project-photo-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .project-gallery-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .project-gallery-photos {
    grid-template-columns: 1fr;
  }

  .project-photo-caption {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-photos .project-photo-card {
    transition: none;
  }
}
