/* PIENG home redesign — preview only (não sobrescreve style.css) */

:root {
  --ink: #14211a;
  --ink-soft: #2a3b32;
  --paper: #f6f3ec;
  --paper-2: #ebe6db;
  --sun: #c47a1a;
  --sun-deep: #9a5c10;
  --leaf: #1f6b45;
  --leaf-deep: #154d32;
  --line: rgba(20, 33, 26, 0.12);
  --shadow: 0 18px 50px rgba(20, 33, 26, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Top contact strip */
.topbar {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.85rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #fff;
}

.topbar .emails,
.topbar .phones {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 33, 26, 0.06);
}

/* 7 itens no topbar: respiro menor enquanto a largura ainda é curta */
@media (min-width: 960px) and (max-width: 1199px) {
  .nav a {
    padding: 0.55rem 0.55rem;
    font-size: 0.88rem;
  }
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary {
  background: var(--leaf);
  color: #fff;
}

.btn-primary:hover {
  background: var(--leaf-deep);
}

.btn-sun {
  background: var(--sun);
  color: #fff;
}

.btn-sun:hover {
  background: var(--sun-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Ações sobre fundo claro (cabeçalhos das páginas internas) */
.pg-actions .btn-ghost,
.about-actions .btn-ghost,
.ct-actions .btn-ghost,
.as-actions .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 33, 26, 0.3);
}

.pg-actions .btn-ghost:hover,
.about-actions .btn-ghost:hover,
.ct-actions .btn-ghost:hover,
.as-actions .btn-ghost:hover {
  background: rgba(20, 33, 26, 0.06);
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: 600 0.85rem/1 var(--font-body);
}

@media (min-width: 960px) {
  .nav,
  .nav-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none !important;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.25rem;
  background: var(--paper);
}

.nav-mobile.open {
  display: grid !important;
  gap: 0.35rem;
}

.nav-mobile a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92dvh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 22, 17, 0.88) 0%, rgba(12, 22, 17, 0.55) 48%, rgba(12, 22, 17, 0.25) 100%),
    linear-gradient(to top, rgba(12, 22, 17, 0.75), transparent 42%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.5rem;
  max-width: 38rem;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(246, 243, 236, 0.8);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: rgba(246, 243, 236, 0.88);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(246, 243, 236, 0.72);
}

/* Metrics */
.metrics {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 0.75rem;
}

@media (min-width: 760px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.35rem;
    gap: 0;
  }
}

.metric {
  padding: 1.15rem 1.25rem;
}

@media (min-width: 760px) {
  .metric + .metric {
    border-left: 1px solid var(--line);
  }
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--leaf-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-muted {
  background: var(--paper-2);
}

.eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--sun-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.projects-section {
  padding-top: 6rem;
}

.projects-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.projects-intro h2 {
  margin: 0;
  max-width: 11ch;
  font: 560 clamp(2rem, 4.3vw, 3.5rem)/1.02 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.projects-intro p {
  max-width: 34rem;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--leaf-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(21, 77, 50, 0.35);
  padding-bottom: 0.2rem;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.project-gallery {
  display: grid;
  gap: 1rem;
}

.project-shot {
  position: relative;
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-2);
}

.project-shot img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.project-shot:hover img {
  transform: scale(1.025);
}

.project-shot::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 22, 17, 0.82));
}

.project-shot figcaption {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.project-shot figcaption span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.project-shot figcaption strong {
  font: 560 1.3rem/1.2 var(--font-display);
}

@media (min-width: 820px) {
  .projects-intro {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .project-gallery {
    grid-template-columns: 1.45fr 0.9fr;
    grid-template-rows: repeat(2, 15rem);
  }

  .project-shot,
  .project-shot img {
    min-height: 0;
    height: 100%;
  }

  .project-shot-main {
    grid-row: 1 / 3;
  }
}

/* Why / benefits asymmetric */
.why-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }
}

.why-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why-copy p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.benefit-list b {
  display: block;
  margin-bottom: 0.15rem;
}

.benefit-list span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--sun);
}

.why-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.why-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(246, 243, 236, 0.95);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  max-width: 14rem;
  box-shadow: var(--shadow);
}

.why-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.why-badge span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Segments */
.segments {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .segments {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .segment:first-child {
    grid-row: 1 / span 2;
  }
}

.segment {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 240px;
  color: #fff;
  isolation: isolate;
}

.segment img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.segment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12, 22, 17, 0.88), rgba(12, 22, 17, 0.15));
}

.segment-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem;
}

.segment h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
}

.segment p {
  margin: 0;
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.95rem;
}

.segment:first-child {
  min-height: 420px;
}

.segment:first-child h3 {
  font-size: 1.85rem;
}

/* Process timeline */
.process {
  display: grid;
  gap: 0;
  counter-reset: step;
}

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-item {
  padding: 1.35rem 1.15rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .process-item {
    border-top: 0;
    border-left: 1px solid var(--line);
    min-height: 100%;
  }

  .process-item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .process-item:nth-child(3n + 1) {
    border-left: 0;
  }
}

.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sun);
  letter-spacing: -0.02em;
}

.process-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.process-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Quotes */
.quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .quotes {
    grid-template-columns: 1.35fr 1fr;
  }
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.quote.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}

.quote p {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 500;
}

.quote.featured p {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
}

.quote footer strong {
  font-weight: 650;
}

.quote footer span {
  opacity: 0.75;
}

.quote-stack {
  display: grid;
  gap: 1rem;
}

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
}

.partners img {
  height: 34px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.9;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(21, 77, 50, 0.92), rgba(20, 33, 26, 0.88)),
    url("../img/hero-bg.jpg") center/cover;
  color: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.cta-band p {
  margin: 0;
  color: rgba(246, 243, 236, 0.85);
  max-width: 36rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 560;
}

.site-footer p,
.site-footer li {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 243, 236, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

/* Redes sociais do rodapé — ícones vetoriais, sem "f/ig/wa" de texto */
.social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-label {
  margin-right: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
}

.social a {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 243, 236, 0.26);
  background: rgba(246, 243, 236, 0.07);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.22s ease, background 0.22s ease,
    border-color 0.22s ease, box-shadow 0.22s ease;
}

.social a svg {
  width: 1.2rem;
  height: 1.2rem;
}

.social a:hover,
.social a:focus-visible {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(6, 12, 9, 0.45);
}

.social a:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

.social a[data-rede="instagram"]:hover,
.social a[data-rede="instagram"]:focus-visible {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7);
}

.social a[data-rede="facebook"]:hover,
.social a[data-rede="facebook"]:focus-visible {
  background: #1877f2;
}

/* WhatsApp já entra destacado: é o canal que mais converte */
.social a[data-rede="whatsapp"] {
  background: var(--leaf);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(31, 107, 69, 0.35);
}

.social a[data-rede="whatsapp"]:hover,
.social a[data-rede="whatsapp"]:focus-visible {
  background: #25d366;
  color: #0c1611;
}

@media (max-width: 700px) {
  .social-label {
    display: none;
  }
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(31, 168, 85, 0.35);
  font-weight: 700;
  font-size: 0.75rem;
}

.wa:hover {
  transform: translateY(-2px);
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #9a5c10;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
}

.preview-banner a {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .wa {
    transition: none;
  }
}
