/* =========================================================
   LED FOCO — CSS LIMPO E ORGANIZADO
   Arquivo base para páginas: home, venda, locação e retail media
   ========================================================= */

/* =========================================================
   01. Variáveis e Reset
   ========================================================= */

:root {
  --black: #050806;
  --graphite: #111714;
  --ink: #18211c;
  --muted: #66736b;
  --line: #dfe8e2;
  --soft: #f3f7f4;
  --white: #ffffff;

  --green: #21c45d;
  --green2: #0f8f43;
  --lime: #b9ff6a;

  --radius: 28px;
  --wide: min(1500px, calc(100% - 48px));
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.wide {
  width: var(--wide);
  margin: 0 auto;
}


/* =========================================================
   02. Cabeçalho e Navegação
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 247, 244, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 23, 20, .08);
}

.nav {
  width: var(--wide);
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -.055em;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 62px;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--green);
  border-radius: 50%;
  font-weight: 950;
  letter-spacing: -.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 38px rgba(0, 0, 0, .16);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #3e4a43;
  font-size: .95rem;
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--green2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(5, 8, 6, .12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(5, 8, 6, .06);
  font-weight: 900;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
}


/* =========================================================
   03. Botões
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -.02em;
  transition: .22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #031006;
}

.btn-green:hover {
  background: var(--green2);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #17301f;
}

.btn-line {
  background: transparent;
  border-color: rgba(5, 8, 6, .18);
}

.btn-line:hover {
  background: var(--white);
}

/* Botão secundário dentro do hero da home */
.hero .hero-actions a,
.hero .hero-actions a:visited,
.hero .hero-actions a:hover,
.hero .hero-actions a:focus,
.hero .hero-actions a:active {
  text-decoration: none !important;
}

.hero .hero-actions a:nth-child(2),
.hero .hero-actions a:nth-child(2):visited {
  background: var(--white);
  color: #07110b;
  border-color: var(--white);
}

.hero .hero-actions a:nth-child(2):hover,
.hero .hero-actions a:nth-child(2):focus,
.hero .hero-actions a:nth-child(2):active {
  background: #e9eee9;
  color: #07110b;
  border-color: #e9eee9;
}

.hero .hero-actions a:nth-child(2) *,
.hero .hero-actions a:nth-child(2):hover * {
  color: #07110b;
}


/* =========================================================
   04. Hero da Home
   ========================================================= */

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: stretch;
}

.hero-shell {
  width: var(--wide);
  min-height: 720px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  overflow: hidden;
  border-radius: 44px;
  background: var(--black);
  box-shadow: 0 38px 100px rgba(5, 8, 6, .20);
}

.hero-copy {
  min-width: 0;
  padding: 58px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero h1 {
  max-width: 790px;
  margin: 32px 0 28px;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  line-height: .86;
  letter-spacing: -.09em;
}

.hero-text {
  max-width: 620px;
  color: #c5d0c8;
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero-meta b {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: -.05em;
}

.hero-meta span {
  color: #94a39a;
  font-size: .88rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  background: #dce5df;
}

.hero-tag {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 340px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 55px rgba(5, 8, 6, .16);
}

.hero-tag strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -.055em;
}


/* =========================================================
   05. Imagens e Placeholders
   ========================================================= */

/* Placeholder antigo: mantém visual quando ainda não houver imagem */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 36px;
  color: #596760;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(33, 196, 93, .22), rgba(5, 8, 6, .02)),
    linear-gradient(90deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12)),
    repeating-linear-gradient(45deg, #e3ebe6, #e3ebe6 18px, #d8e2dc 18px, #d8e2dc 36px);
}

/* Quando o placeholder recebe uma imagem dentro */
.photo-placeholder:has(img) {
  padding: 0;
  background: #dce5df;
}

.photo-placeholder img,
.page-heading .photo-placeholder img,
.big-image-section .photo-placeholder img,
.hero-visual .photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}


/* =========================================================
   06. Seções Base
   ========================================================= */

.section {
  padding: 108px 0;
}

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  display: grid;
  grid-template-columns: .72fr 1fr;
  align-items: end;
  gap: 42px;
  margin-bottom: 48px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green2);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dark .eyebrow {
  color: var(--lime);
}

.sup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sup::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(33, 196, 93, .12);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: .92;
  letter-spacing: -.08em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.dark .lead {
  color: #afbbb3;
}


/* =========================================================
   07. Statement Panels
   ========================================================= */

.statement {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: stretch;
  gap: 26px;
}

.statement-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--white);
  color: var(--ink);
}

.statement-panel h2,
.statement-panel h3 {
  color: var(--ink);
}

.statement-panel h3 {
  margin: 0 0 18px;
  font-size: 2.1rem;
  line-height: .98;
  letter-spacing: -.06em;
}

.statement-panel p {
  margin: 0;
  color: var(--muted);
}

.statement-panel.black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.statement-panel.black h2,
.statement-panel.black h3 {
  color: var(--white);
}

.statement-panel.black p {
  color: #b7c2bb;
}


/* =========================================================
   08. Serviços / Soluções Home
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}

.service-large,
.service-side {
  min-height: 0;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: var(--white);
  color: var(--ink);
}

.service-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-side {
  display: grid;
  grid-template-rows: 260px 260px;
}

.service-copy {
  padding: 36px 38px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.service-copy h3 {
  margin: 0 0 18px;
  color: #07110b;
  font-size: 2.4rem;
  line-height: .95;
  letter-spacing: -.06em;
}

.service-copy p {
  margin: 0;
  color: #506058;
  font-size: 1.06rem;
}

.service-copy .sup {
  margin: 0 0 18px;
}

.service-copy .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.service-large img,
.service-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.mini-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #435047;
  font-weight: 750;
}

.mini-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}


/* =========================================================
   09. Portfólio
   ========================================================= */

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.work {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px;
  background: #dce5df;
}

.work:nth-child(1) {
  grid-column: span 5;
  min-height: 520px;
}

.work:nth-child(2) {
  grid-column: span 4;
}

.work:nth-child(3) {
  grid-column: span 3;
}

.work:nth-child(4) {
  grid-column: span 4;
}

.work:nth-child(5) {
  grid-column: span 8;
}

.portfolio-strip.compact .work:nth-child(n) {
  grid-column: span 4;
  min-height: 430px;
}

.work-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(5, 8, 6, .72);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.work-label b {
  display: block;
  letter-spacing: -.04em;
}

.work-label span {
  color: #c7d1cb;
  font-size: .9rem;
}


/* =========================================================
   10. Marquee de Setores
   ========================================================= */

.sector-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(5, 8, 6, .12);
  border-bottom: 1px solid rgba(5, 8, 6, .12);
  background: var(--white);
}

.marquee-inner {
  width: max-content;
  display: flex;
  gap: 22px;
  padding: 22px 0;
  animation: marquee 26s linear infinite;
}

.marquee-inner span {
  color: var(--black);
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  font-weight: 950;
  letter-spacing: -.08em;
}

.marquee-inner i {
  color: var(--green);
  font-style: normal;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   11. Processo
   ========================================================= */

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--white);
}

.process-item {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-item:last-child {
  border-right: 0;
}

.process-item small {
  color: var(--green2);
  font-weight: 950;
  letter-spacing: .1em;
}

.process-item h3 {
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -.055em;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}


/* =========================================================
   12. CTA Editorial
   ========================================================= */

.cta-editorial {
  width: var(--wide);
  margin: 0 auto -70px;
  padding: 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 36px;
  overflow: hidden;
  transform: translateY(-70px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 78% 12%, rgba(33, 196, 93, .32), transparent 30%),
    linear-gradient(135deg, #050806, #14231a);
  color: var(--white);
}

.cta-editorial h2 {
  max-width: 900px;
  color: var(--white);
}

.cta-editorial p {
  max-width: 680px;
  color: #b8c4bd;
  font-size: 1.1rem;
}


/* =========================================================
   13. Páginas Internas
   ========================================================= */

.page-hero {
  padding: 92px 0 50px;
}

.page-heading {
  width: var(--wide);
  min-height: 580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: var(--white);
  box-shadow: 0 32px 80px rgba(5, 8, 6, .08);
}

.page-heading-copy {
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 750;
}

.breadcrumb a {
  color: var(--green2);
}

.page-heading h1 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: .86;
  letter-spacing: -.09em;
}

.page-heading p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.14rem;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.matrix-item {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.matrix-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.06em;
}

.matrix-item p {
  margin: 18px 0 0;
  color: var(--muted);
}

.big-image-section {
  position: relative;
  width: var(--wide);
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 44px;
  background: #dce5df;
}

.big-image-section > .photo-placeholder {
  min-height: 640px;
}

.overlay-note {
  position: absolute;
  left: 36px;
  bottom: 36px;
  max-width: 520px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
}

.overlay-note h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: -.06em;
}

.overlay-note p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  letter-spacing: -.03em;
}

.faq-list p {
  color: var(--muted);
}


/* =========================================================
   14. Correção Global: Cards claros dentro de seção escura
   ========================================================= */

/*
   Essa regra resolve o problema de texto branco sumindo dentro de cards brancos
   em seções com .section.dark.
*/

.section.dark .statement-panel:not(.black),
.section.dark .matrix-item,
.section.dark .process-line,
.section.dark .process-item {
  background: var(--white);
  color: var(--ink);
}

.section.dark .statement-panel:not(.black) h2,
.section.dark .statement-panel:not(.black) h3,
.section.dark .matrix-item h2,
.section.dark .matrix-item h3,
.section.dark .process-item h2,
.section.dark .process-item h3 {
  color: var(--ink);
}

.section.dark .statement-panel:not(.black) p,
.section.dark .matrix-item p,
.section.dark .process-item p {
  color: var(--muted);
}

.section.dark .statement-panel:not(.black) .eyebrow,
.section.dark .matrix-item .eyebrow,
.section.dark .matrix-item .sup,
.section.dark .process-item small {
  color: var(--green2);
}

.section.dark .statement-panel.black,
.section.dark .statement-panel.black h2,
.section.dark .statement-panel.black h3 {
  color: var(--white);
}

.section.dark .statement-panel.black p {
  color: #b7c2bb;
}


/* =========================================================
   15. Residencial
   ========================================================= */

.residential-section {
  background: linear-gradient(180deg, #f3f7f4 0%, #ffffff 100%);
}

.residential-visual {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.residential-visual .photo-placeholder {
  min-height: 420px;
}


/* =========================================================
   16. Footer e WhatsApp
   ========================================================= */

.footer {
  padding: 74px 0 34px;
  background: #050806;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 32px;
}

.footer p,
.footer a {
  color: #aebbb4;
}

.footer a:hover {
  color: var(--green);
}

.footer h3 {
  color: var(--white);
  letter-spacing: -.04em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #7f8b84;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #061009;
  font-size: 1.8rem;
  font-weight: 950;
  box-shadow: 0 22px 48px rgba(37, 211, 102, .36);
}


/* =========================================================
   17. Responsivo — Tablet
   ========================================================= */

@media (max-width: 1050px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav.open {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  .nav.open .nav-menu,
  .nav.open .nav-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .nav.open .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-shell,
  .page-heading,
  .service-large,
  .services-grid,
  .statement,
  .section-title,
  .cta-editorial {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-copy {
    padding: 44px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: 1fr 1fr;
  }

  .process-item:nth-child(2) {
    border-right: 0;
  }

  .process-item {
    border-bottom: 1px solid var(--line);
  }

  .process-item:nth-child(3),
  .process-item:nth-child(4) {
    border-bottom: 0;
  }

  .portfolio-strip,
  .portfolio-strip.compact {
    grid-template-columns: 1fr 1fr;
  }

  .work,
  .work:nth-child(n),
  .portfolio-strip.compact .work:nth-child(n) {
    grid-column: auto;
    min-height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   18. Responsivo — Mobile
   ========================================================= */

@media (max-width: 768px) {
  :root {
    --wide: calc(100% - 28px);
    --container: calc(100% - 28px);
  }

  .nav {
    height: 72px;
  }

  .hero-shell,
  .page-heading,
  .cta-editorial {
    border-radius: 28px;
  }

  .hero-copy,
  .page-heading-copy,
  .cta-editorial {
    padding: 30px;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 3.25rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    gap: 18px;
  }

  .hero-visual,
  .page-heading .photo-placeholder,
  .big-image-section {
    min-height: 400px;
  }

  .hero-meta,
  .matrix,
  .process-line,
  .portfolio-strip,
  .portfolio-strip.compact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .process-item:last-child {
    border-bottom: 0 !important;
  }

  .btn {
    width: 100%;
  }

  .cta-editorial {
    transform: none;
    margin-bottom: 0;
  }

  .footer-bottom {
    display: block;
  }

  .marquee-inner {
    gap: 10px;
    padding: 18px 0;
  }

  .marquee-inner span {
    font-size: 2.4rem;
    letter-spacing: -.07em;
    word-spacing: -6px;
  }

  .marquee-inner i {
    margin: 0 5px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-large {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 34px;
  }

  .service-side {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto;
    overflow: hidden;
    border-radius: 34px;
  }

  .service-copy {
    padding: 34px 30px;
    justify-content: flex-start;
  }

  .service-copy h3 {
    margin-bottom: 20px;
    font-size: 2.7rem;
    line-height: .95;
  }

  .service-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-large img,
  .service-side img {
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 360px;
    object-fit: cover;
  }

  .service-large .btn,
  .service-side .btn {
    width: auto;
    max-width: max-content;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }
}


/* =========================================================
   19. Responsivo — Mobile pequeno
   ========================================================= */

@media (max-width: 480px) {
  .hero h1,
  .page-heading h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .statement-panel,
  .matrix-item,
  .process-item {
    padding: 28px;
    border-radius: 26px;
  }

  .overlay-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 22px;
  }
}


/* =========================================================
   20. AJUSTE GLOBAL DE ESPAÇAMENTO — VERSÃO MAIS COMPACTA
   ========================================================= */

/* Reduz o respiro vertical exagerado entre seções */
.section {
  padding: 76px 0;
}

.page-hero {
  padding: 58px 0 34px;
}

/* Reduz altura do bloco hero das páginas internas */
.page-heading {
  min-height: 500px;
}

.page-heading-copy {
  padding: 46px;
}

/* Títulos de seção menos espaçados */
.section-title {
  gap: 30px;
  margin-bottom: 34px;
}

/* Cards de matriz mais compactos */
.matrix {
  gap: 18px;
}

.matrix-item {
  min-height: 220px;
  padding: 28px;
  justify-content: flex-start;
  gap: 44px;
}

.matrix-item h3 {
  font-size: 1.72rem;
  line-height: 1.03;
}

.matrix-item p {
  margin-top: 14px;
}

/* Cards de processo mais baixos */
.process-line {
  border-radius: 30px;
}

.process-item {
  min-height: 220px;
  padding: 28px;
}

.process-item h3 {
  font-size: 1.45rem;
}

/* Statement panels mais compactos */
.statement {
  gap: 22px;
}

.statement-panel {
  padding: 34px;
  border-radius: 30px;
}

.statement-panel h3 {
  font-size: 1.85rem;
}

/* Imagens grandes com menos altura */
.big-image-section {
  min-height: 500px;
  border-radius: 36px;
}

.big-image-section > .photo-placeholder {
  min-height: 500px;
}

.overlay-note {
  left: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 22px;
}

.overlay-note h3 {
  font-size: 1.65rem;
}

/* Portfólio e blocos visuais mais baixos */
.work {
  min-height: 300px;
}

.work:nth-child(1) {
  min-height: 420px;
}

.portfolio-strip.compact .work:nth-child(n) {
  min-height: 330px;
}

/* CTA final menos distante e menos alto */
.cta-editorial {
  padding: 56px;
  transform: translateY(-36px);
  margin-bottom: -36px;
  border-radius: 36px;
}

/* FAQ mais compacto */
.faq-list details {
  padding: 18px 22px;
}

/* Reduz um pouco os títulos gigantes em páginas internas */
.page-heading h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.35rem);
}

/* =========================================================
   21. COMPACTO RESPONSIVO
   ========================================================= */

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

  .page-hero {
    padding: 42px 0 28px;
  }

  .page-heading {
    min-height: auto;
  }

  .page-heading-copy {
    padding: 38px;
  }

  .matrix-item,
  .process-item,
  .statement-panel {
    min-height: auto;
  }

  .portfolio-strip.compact .work:nth-child(n),
  .work,
  .work:nth-child(n) {
    min-height: 300px;
  }
}

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

  .page-hero {
    padding: 28px 0 22px;
  }

  .page-heading-copy {
    padding: 28px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .matrix {
    gap: 14px;
  }

  .matrix-item {
    padding: 24px;
    gap: 28px;
    min-height: auto;
  }

  .matrix-item h3 {
    font-size: 1.55rem;
  }

  .statement-panel,
  .process-item {
    padding: 26px;
  }

  .big-image-section,
  .big-image-section > .photo-placeholder {
    min-height: 360px;
  }

  .cta-editorial {
    padding: 34px 28px;
    transform: none;
    margin-bottom: 0;
  }

  .page-heading h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}
/* Correção — botão branco em fundo escuro */
.hero .hero-actions .btn-line,
.hero .hero-actions .btn-line:visited,
.hero-shell .hero-actions .btn-line,
.hero-shell .hero-actions .btn-line:visited,
.hero-copy .hero-actions .btn-line,
.hero-copy .hero-actions .btn-line:visited {
  background: #ffffff !important;
  color: #050806 !important;
  border-color: #ffffff !important;
  -webkit-text-fill-color: #050806 !important;
}

.hero .hero-actions .btn-line:hover,
.hero .hero-actions .btn-line:focus,
.hero .hero-actions .btn-line:active,
.hero-shell .hero-actions .btn-line:hover,
.hero-shell .hero-actions .btn-line:focus,
.hero-shell .hero-actions .btn-line:active,
.hero-copy .hero-actions .btn-line:hover,
.hero-copy .hero-actions .btn-line:focus,
.hero-copy .hero-actions .btn-line:active {
  background: #e9eee9 !important;
  color: #050806 !important;
  border-color: #e9eee9 !important;
  -webkit-text-fill-color: #050806 !important;
}

.hero .hero-actions .btn-line *,
.hero-shell .hero-actions .btn-line *,
.hero-copy .hero-actions .btn-line * {
  color: #050806 !important;
  -webkit-text-fill-color: #050806 !important;
}
/* =========================================================
   CORREÇÃO MOBILE — TÍTULO SOBREPOSTO À IMAGEM
   Resolve cards de soluções/serviços com texto invadindo a foto
   ========================================================= */

@media (max-width: 768px) {
  /* Garante que o card seja empilhado: imagem primeiro, texto depois */
  .service-large,
  .service-side,
  .service-card,
  .services-grid .work {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 32px !important;
    background: #ffffff !important;
  }

  /* Imagem com altura definida, sem deixar o texto entrar por cima */
  .service-large > img,
  .service-side > img,
  .service-card > img,
  .service-large .photo-placeholder,
  .service-side .photo-placeholder,
  .service-card .photo-placeholder {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    display: block !important;
    flex: 0 0 auto !important;
  }

  .service-large .photo-placeholder img,
  .service-side .photo-placeholder img,
  .service-card .photo-placeholder img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Área branca do texto sempre abaixo da imagem */
  .service-copy,
  .service-large .service-copy,
  .service-side .service-copy,
  .service-card .service-copy {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: #ffffff !important;
    color: #18211c !important;
    padding: 28px 24px 30px !important;
    display: block !important;
    min-height: 0 !important;
  }

  /* Título sem margem negativa e com tamanho seguro para mobile */
  .service-copy h2,
  .service-copy h3,
  .service-large .service-copy h2,
  .service-large .service-copy h3,
  .service-side .service-copy h2,
  .service-side .service-copy h3,
  .service-card .service-copy h2,
  .service-card .service-copy h3 {
    position: static !important;
    transform: none !important;
    margin: 0 0 14px 0 !important;
    color: #050806 !important;
    font-size: 2rem !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    max-width: 100% !important;
  }

  .service-copy p,
  .service-large .service-copy p,
  .service-side .service-copy p,
  .service-card .service-copy p {
    margin: 0 0 18px 0 !important;
    color: #66736b !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  /* Botão dentro do card */
  .service-copy .btn,
  .service-large .service-copy .btn,
  .service-side .service-copy .btn,
  .service-card .service-copy .btn {
    width: auto !important;
    max-width: max-content !important;
    margin-top: 6px !important;
  }
}
