/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100%; }
img, picture { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* Garante que o atributo hidden sempre vença qualquer display de componente (ex.: .btn usa display:inline-flex) */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== VARIÁVEIS ===================== */
:root {
  /* Paleta Castro Woodfloor */
  --color-dark-green: #0C2F2A;
  --color-gold: #C7A878;
  --color-cream: #F9EBD2;
  --color-wood-brown: #6B4A2E;

  --color-dark-green-light: #123f38;
  --color-gold-light: #dcc49a;
  --color-text-dark: #1b1b1b;
  --color-text-muted: #51605d;
  --color-white: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-height: 84px;
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(12, 47, 42, 0.08);
  --shadow-md: 0 8px 30px rgba(12, 47, 42, 0.14);
  --shadow-gold: 0 8px 24px rgba(199, 168, 120, 0.35);

  --transition-base: 0.3s ease;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-wood-brown);
  margin-bottom: 14px;
}
.eyebrow-light {
  color: var(--color-gold);
}

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark-green);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(199, 168, 120, 0.45);
}

/* sheen (brilho) único ao carregar */
.btn-sheen {
  position: relative;
  overflow: hidden;
}
.btn-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-20deg);
  animation: sheen 1.8s ease 1.2s 1;
}
@keyframes sheen {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark-green);
  border: 2px solid var(--color-dark-green);
}
.btn-outline-dark:hover {
  background: var(--color-dark-green);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--color-dark-green);
  color: var(--color-cream);
  padding: 12px 22px;
  font-size: 0.9rem;
}
.btn-phone:hover {
  background: var(--color-dark-green-light);
  transform: translateY(-2px);
}
.icon-phone {
  width: 16px;
  height: 16px;
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-cream);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 56px;
  width: auto;
  border-radius: var(--radius-sm);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-dark-green);
  position: relative;
  padding: 6px 2px;
}
.nav-link:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-dark-green);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,47,42,0.75) 0%, rgba(12,47,42,0.55) 45%, rgba(12,47,42,0.88) 100%),
    linear-gradient(90deg, rgba(12,47,42,0.6) 0%, rgba(12,47,42,0.25) 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 140px;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--color-cream);
}
.headline-line { display: block; }

.highlight {
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}
.underline-draw {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: draw-underline 0.9s ease forwards;
  animation-delay: 1.4s;
}
@keyframes draw-underline {
  to { transform: scaleX(1); }
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(249, 235, 210, 0.92);
  max-width: 560px;
  margin-bottom: 34px;
}

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

/* staggered reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 0.7s ease forwards;
  animation-delay: calc(var(--delay, 0) * 0.15s);
}
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(12, 47, 42, 0.55);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(199, 168, 120, 0.3);
}
.hero-badges-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 18px 20px;
  justify-content: center;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-cream);
}
.hero-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ===================== FAIXA DE CONFIANÇA ===================== */
.trust-strip {
  background: var(--color-cream);
  padding: 56px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 34px;
  height: 34px;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.trust-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark-green);
  line-height: 1.2;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.trust-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* scroll-reveal genérico (fade + slide-up), fallback visível sem JS */
.scroll-reveal {
  opacity: 1;
  transform: none;
}
.js-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-enabled .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--color-cream);
  padding: 100px 0;
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-collage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
}
.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
}
.about-img-main {
  width: 100%;
  height: 100%;
}
.about-frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  transform: translate(-18px, -18px);
  z-index: 0;
}
.about-img-main,
.about-overlap-wrap,
.about-badge {
  position: relative;
  z-index: 1;
}
.about-overlap-wrap {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 52%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--color-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-img-overlap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}
.about-badge {
  position: absolute;
  top: 24px;
  left: -18px;
  background: var(--color-gold);
  color: var(--color-dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 20px;
}
.about-highlight {
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 30%;
}
.about-text {
  color: var(--color-text-muted);
  margin-bottom: 26px;
  max-width: 540px;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}
.about-list svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.check-path {
  stroke-dasharray: 28;
  stroke-dashoffset: 0;
}

/* ---- About: entrada one-shot (is-revealed — nunca é removida depois de aparecer) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .about-img-main {
    clip-path: inset(-60px 100% -60px 0);
    transition: clip-path 0.9s ease-out;
  }
  .js .inview-target.is-revealed .about-img-main {
    clip-path: inset(-60px);
  }

  .js .about-frame {
    opacity: 0;
    transform: translate(-6px, -6px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  }
  .js .inview-target.is-revealed .about-frame {
    opacity: 1;
    transform: translate(-18px, -18px);
  }

  .js .about-overlap-wrap {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
  }
  .js .inview-target.is-revealed .about-overlap-wrap {
    opacity: 1;
    transform: translateY(0);
  }

  /* selo: aparece depois da foto pequena, antes do título/texto/lista */
  .js .about-badge {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s;
  }
  .js .inview-target.is-revealed .about-badge {
    opacity: 1;
    transform: scale(1);
  }

  .js .about-highlight {
    background-size: 0% 30%;
    transition: background-size 0.7s ease-out 0.9s;
  }
  .js .inview-target.is-revealed .about-highlight {
    background-size: 100% 30%;
  }

  .js .about-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .js .about-list li:nth-child(1) { transition-delay: 0.9s; }
  .js .about-list li:nth-child(2) { transition-delay: 1s; }
  .js .about-list li:nth-child(3) { transition-delay: 1.1s; }
  .js .inview-target.is-revealed .about-list li {
    opacity: 1;
    transform: translateX(0);
  }

  .js .check-path {
    stroke-dashoffset: 28;
    transition: stroke-dashoffset 0.4s ease;
  }
  .js .about-list li:nth-child(1) .check-path { transition-delay: 1.05s; }
  .js .about-list li:nth-child(2) .check-path { transition-delay: 1.15s; }
  .js .about-list li:nth-child(3) .check-path { transition-delay: 1.25s; }
  .js .inview-target.is-revealed .check-path {
    stroke-dashoffset: 0;
  }
}

/* ---- About: loops infinitos (is-inview — liga/desliga conforme a foto entra/sai da tela) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .about-img-float {
    animation: about-float 6s ease-in-out infinite;
    animation-play-state: paused;
  }
  .js .inview-target.is-inview .about-img-float {
    animation-play-state: running;
  }

  .js .about-badge {
    transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s, box-shadow 0.3s ease;
  }
  .js .inview-target.is-inview .about-badge {
    animation: about-badge-pulse 3s ease-in-out infinite;
  }
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes about-badge-pulse {
  0% { box-shadow: var(--shadow-gold), 0 0 0 0 rgba(199, 168, 120, 0.5); }
  70% { box-shadow: var(--shadow-gold), 0 0 0 12px rgba(199, 168, 120, 0); }
  100% { box-shadow: var(--shadow-gold), 0 0 0 0 rgba(199, 168, 120, 0); }
}

/* ---- Faixa de credenciais ---- */
.about-credentials {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.credential-card {
  background: var(--color-white);
  border: 1px solid rgba(199, 168, 120, 0.4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px 22px;
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.credential-icon {
  width: 30px;
  height: 30px;
  color: var(--color-gold);
  margin-bottom: 14px;
  stroke-dasharray: 90;
  stroke-dashoffset: 0;
  transition: transform var(--transition-base);
}
.credential-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.credential-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (hover: hover) {
  .credential-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
  }
  .credential-card:hover .credential-icon {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .credential-card {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(.34,1.56,.64,1), transform 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  .js .about-credentials.is-revealed .credential-card {
    opacity: 1;
    transform: scale(1);
  }
  .js .credential-card:nth-child(1) { transition-delay: 0s; }
  .js .credential-card:nth-child(2) { transition-delay: 0.12s; }
  .js .credential-card:nth-child(3) { transition-delay: 0.24s; }
  .js .credential-card:nth-child(4) { transition-delay: 0.36s; }
  .js .credential-card:nth-child(5) { transition-delay: 0.48s; }

  .js .credential-icon {
    stroke-dashoffset: 90;
    transition: stroke-dashoffset 0.6s ease;
  }
  .js .credential-card:nth-child(1) .credential-icon { transition-delay: 0.15s; }
  .js .credential-card:nth-child(2) .credential-icon { transition-delay: 0.27s; }
  .js .credential-card:nth-child(3) .credential-icon { transition-delay: 0.39s; }
  .js .credential-card:nth-child(4) .credential-icon { transition-delay: 0.51s; }
  .js .credential-card:nth-child(5) .credential-icon { transition-delay: 0.63s; }
  .js .about-credentials.is-revealed .credential-icon {
    stroke-dashoffset: 0;
  }
}

/* ===================== PROCESS ===================== */
.process {
  background: var(--color-dark-green);
  padding: 100px 0;
  color: var(--color-cream);
}
.process-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
}
.process-title {
  color: var(--color-cream);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-gold);
  opacity: 0.4;
  transform: translateX(-50%);
}
.timeline-step {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding: 0 50px 56px 0;
}
.timeline-step:nth-child(even) {
  justify-content: flex-start;
  margin-left: 50%;
  padding: 0 0 56px 50px;
}
.timeline-step:last-child { padding-bottom: 0; }

.timeline-number {
  position: absolute;
  top: 0;
  right: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  z-index: 1;
}
.timeline-step:nth-child(even) .timeline-number {
  right: auto;
  left: -22px;
}

.timeline-card {
  background: rgba(249, 235, 210, 0.06);
  border: 1px solid rgba(199, 168, 120, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  max-width: 380px;
}
.timeline-card h3 {
  color: var(--color-cream);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.timeline-card p {
  color: rgba(249, 235, 210, 0.78);
  font-size: 0.95rem;
}

.process-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 70px;
}

/* ===================== PROJECTS (SPACES WE TRANSFORM) ===================== */
.projects {
  background: var(--color-cream);
  padding: 100px 0;
}
.projects-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}
.projects-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 12px;
}
.projects-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  border: 2px solid transparent;
}
.project-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(0deg, rgba(12,47,42,0.85) 0%, rgba(12,47,42,0) 100%);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
  }
  .project-card:hover .project-img {
    transform: scale(1.06);
  }
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

/* ===================== WHY US ===================== */
.why-us {
  background: var(--color-dark-green);
  padding: 100px 0;
  color: var(--color-cream);
}
.why-us-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}
.why-us-title {
  color: var(--color-cream);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(249, 235, 210, 0.07);
  border: 1px solid rgba(199, 168, 120, 0.3);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: transform var(--transition-base), background var(--transition-base);
}
.why-icon {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.why-card h3 {
  color: var(--color-cream);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.why-card p {
  color: rgba(249, 235, 210, 0.78);
  font-size: 0.92rem;
}

@media (hover: hover) {
  .why-card:hover {
    transform: translateY(-4px);
    background: rgba(249, 235, 210, 0.11);
  }
}

/* ===================== BEFORE & AFTER ===================== */
.before-after {
  background: var(--color-white);
  padding: 100px 0;
  overflow: hidden;
}
.ba-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.ba-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 12px;
}
.ba-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.ba-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Viewer (coluna da esquerda) ---- */
.ba-viewer-col {
  width: 100%;
  min-width: 0;
}
.ba-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.ba-frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  transform: translate(-18px, -18px);
  z-index: 0;
  pointer-events: none;
}
.ba-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
  cursor: ew-resize;
  background: var(--color-white);
}
.ba-slider.is-dragging,
.ba-slider.is-dragging * {
  user-select: none;
}

/* ATENÇÃO: o atributo HTML height tem prioridade sobre aspect-ratio sempre que a
   propriedade CSS height não for "auto" ou "100%" (bug já visto em .about-img-main
   e .project-img). Aqui fica seguro porque height:100% está explícito abaixo. */
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-slider.is-swapping .ba-img {
  opacity: 0;
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.25s ease;
}
.ba-label-before {
  left: 12px;
  background: var(--color-dark-green);
  color: var(--color-cream);
}
.ba-label-after {
  right: 12px;
  background: var(--color-gold);
  color: var(--color-dark-green);
}
.ba-label.is-near {
  opacity: 0.35;
}

.ba-sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58%);
  transform: translateX(-130%);
}
@media (prefers-reduced-motion: no-preference) {
  .js .ba-sheen.is-shining {
    animation: ba-shine-sweep 0.9s ease;
  }
}
@keyframes ba-shine-sweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(199, 168, 120, 0.65);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--color-white), var(--shadow-gold);
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.2s ease;
}
@media (hover: hover) {
  .ba-handle:hover {
    transform: translate(-50%, -50%) scale(1.08);
  }
}
.ba-slider.is-dragging .ba-handle {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(0.96);
}
.ba-handle:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
}
.ba-arrows {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .ba-handle.is-pulsing {
    animation: ba-handle-pulse 0.6s ease-in-out 2;
  }
}
@keyframes ba-handle-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--color-white), var(--shadow-gold); }
  50% { box-shadow: 0 0 0 4px var(--color-white), 0 0 0 10px rgba(199, 168, 120, 0.45); }
}

.ba-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(12, 47, 42, 0.78);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ba-hint-icon {
  width: 14px;
  height: 14px;
}
.ba-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

/* ---- Info (coluna da direita) ---- */
.ba-info {
  max-width: 560px;
  min-width: 0;
}
.ba-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.ba-current-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-dark-green);
  margin-bottom: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ba-current-title.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.ba-counter-row {
  margin-bottom: 28px;
}
.ba-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}
.ba-counter.is-fading {
  opacity: 0.3;
}
.ba-counter-now {
  font-size: 2.2rem;
  font-weight: 700;
}
.ba-counter-sep,
.ba-counter-total {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.ba-progress {
  display: none;
  gap: 6px;
}
.js .ba-progress {
  display: flex;
}
.ba-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(12, 47, 42, 0.12);
  transition: background 0.25s ease;
}
.ba-progress-bar.is-active {
  background: var(--color-gold);
}

.ba-nav-arrows {
  display: none;
  gap: 12px;
  margin-bottom: 24px;
}
.ba-nav-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-dark-green);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-base), background var(--transition-base);
}
@media (hover: hover) {
  .ba-nav-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark-green);
  }
}
.ba-nav-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.ba-nav-btn svg {
  width: 18px;
  height: 18px;
}

.ba-thumbs {
  display: none;
  margin-bottom: 32px;
}
.js .ba-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.ba-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.ba-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@media (hover: hover) {
  .ba-thumb:hover {
    transform: translateY(-2px);
  }
}
.ba-thumb:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 2px;
}
.ba-thumb.is-active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ba-cta {
  width: auto;
}

@media (min-width: 1100px) {
  .ba-layout {
    grid-template-columns: 520px 1fr;
    gap: 64px;
  }
  .ba-viewer {
    max-width: 520px;
  }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .ba-viewer {
    max-width: 560px;
    margin-inline: auto;
  }
  .ba-info {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 1099px) {
  .js .ba-nav-arrows {
    display: flex;
  }
  .js .ba-progress {
    display: none;
  }
  .js .ba-thumbs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 92px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .js .ba-thumbs::-webkit-scrollbar {
    display: none;
  }
  .ba-thumb {
    scroll-snap-align: start;
  }
}

/* Degradação: com 1 par válido restante, some com navegação/contador */
#before-after.is-single .ba-thumbs,
#before-after.is-single .ba-nav-arrows,
#before-after.is-single .ba-progress,
#before-after.is-single .ba-counter-row {
  display: none;
}

/* ===================== REVIEWS ===================== */
.reviews {
  background: var(--color-cream);
  padding: 100px 0;
}
.reviews-heading {
  text-align: center;
  margin-bottom: 44px;
}
.reviews-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.reviews-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
}
.reviews-quote {
  width: 38px;
  height: 38px;
  color: var(--color-gold);
  margin: 0 auto 20px;
}
.reviews-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}
.reviews-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ===================== PROJECTS MARQUEE (From Our Projects) ===================== */
.projects-marquee-wrap {
  width: 100%;
  margin-top: 56px;
}
.projects-marquee-eyebrow {
  text-align: center;
  margin-bottom: 20px;
}

.projects-marquee {
  position: relative;
  width: 100%;
}

.projects-marquee-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.projects-marquee-viewport::-webkit-scrollbar {
  display: none;
}
.projects-marquee.is-active .projects-marquee-viewport {
  overflow: hidden;
  scroll-snap-type: none;
}

.projects-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 28px 24px 16px;
}

.marquee-card {
  position: relative;
  flex-shrink: 0;
  height: 340px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--color-white);
  scroll-snap-align: start;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.marquee-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(12, 47, 42, 0.85) 0%, rgba(12, 47, 42, 0) 100%);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

/* ritmo visual alternado — só quando o carrossel está ativo (JS + motion ok) */
.projects-marquee.is-active .marquee-card:nth-child(even) {
  transform: translateY(-18px) rotate(-1.2deg);
}
.projects-marquee.is-active .marquee-card:nth-child(odd) {
  transform: translateY(18px) rotate(1.2deg);
}

@media (hover: hover) {
  .projects-marquee.is-active .projects-marquee-track:hover .marquee-card {
    opacity: 0.6;
  }
  .projects-marquee.is-active .marquee-card:hover {
    opacity: 1;
    transform: translateY(-8px) rotate(0deg) scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 2;
    cursor: grab;
  }
  .projects-marquee.is-active .marquee-card:hover .marquee-caption {
    transform: translateY(-6px);
  }
}
.projects-marquee.is-active .projects-marquee-track.is-dragging .marquee-card {
  cursor: grabbing;
}

/* entrada one-shot em cascata (reusa o scroll-reveal do site) */
@media (prefers-reduced-motion: no-preference) {
  .js .projects-marquee-wrap.scroll-reveal .marquee-card:not(.marquee-card--clone) {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .js .projects-marquee-wrap.scroll-reveal.is-visible .marquee-card:not(.marquee-card--clone) {
    opacity: 1;
  }
  .js .marquee-card:nth-child(1) { transition-delay: 0s; }
  .js .marquee-card:nth-child(2) { transition-delay: 0.08s; }
  .js .marquee-card:nth-child(3) { transition-delay: 0.16s; }
  .js .marquee-card:nth-child(4) { transition-delay: 0.24s; }
  .js .marquee-card:nth-child(5) { transition-delay: 0.32s; }
  .js .marquee-card:nth-child(6) { transition-delay: 0.4s; }
  .js .marquee-card:nth-child(7) { transition-delay: 0.48s; }
}

.marquee-nav,
.marquee-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark-green);
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 3;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.marquee-nav svg,
.marquee-toggle svg {
  width: 18px;
  height: 18px;
}
.marquee-prev { left: 8px; }
.marquee-next { right: 8px; }
.marquee-toggle {
  top: auto;
  bottom: 10px;
  right: 10px;
  transform: none;
  width: 38px;
  height: 38px;
}

@media (hover: hover) {
  .marquee-nav:hover {
    background: var(--color-gold);
    transform: translateY(-50%) scale(1.08);
  }
  .marquee-toggle:hover {
    background: var(--color-gold);
    transform: scale(1.08);
  }
}
.marquee-nav:focus-visible,
.marquee-toggle:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .marquee-card { height: 260px; }
  .marquee-nav { width: 36px; height: 36px; }
  .marquee-nav svg { width: 16px; height: 16px; }
}

/* ===================== FAQ / ACCORDION ===================== */
.faq {
  background: var(--color-white);
  padding: 100px 0;
}
.faq-heading {
  text-align: center;
  margin-bottom: 50px;
}
.faq-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid rgba(12, 47, 42, 0.12);
}
.accordion-item:first-child {
  border-top: 1px solid rgba(12, 47, 42, 0.12);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-dark-green);
}
.accordion-trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.accordion-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.accordion-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transition: transform 0.25s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion-panel-inner {
  padding: 0 4px 22px;
  color: var(--color-text-muted);
  max-width: 680px;
}

/* sem JS: painel sempre visível, sem grid de colapso */
.js .accordion-panel {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}
.js .accordion-panel > .accordion-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.js .accordion-item.is-open .accordion-panel {
  grid-template-rows: minmax(0, 1fr);
}

/* ===================== LOCATION ===================== */
.location {
  background: var(--color-cream);
  padding: 100px 0;
}
.location-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.location-content h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 18px;
}
.location-text {
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 24px;
}
.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.location-chips li {
  background: var(--color-white);
  border: 1px solid rgba(12, 47, 42, 0.15);
  color: var(--color-dark-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-link:hover,
.map-link:focus-visible {
  color: var(--color-gold);
}
.map-link:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== CONTACT ===================== */
.contact {
  background: var(--color-white);
  padding: 100px 0;
}
.contact-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.contact-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 12px;
}
.contact-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.form-banner {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}
.form-banner.is-success {
  background: #e3f3e8;
  color: #1f6e3a;
  border: 1px solid #b7e0c4;
}
.form-banner.is-error {
  background: #fbe9e7;
  color: #a33a2d;
  border: 1px solid #f0c3bc;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark-green);
}
.form-group input,
.form-group textarea {
  border: 1.5px solid rgba(12, 47, 42, 0.18);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(199, 168, 120, 0.25);
}
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #c0564a;
}

#form-submit {
  align-self: flex-start;
  margin-top: 6px;
}
#form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.info-icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.info-card a {
  font-weight: 600;
  color: var(--color-dark-green);
}
.info-card a:hover,
.info-card a:focus-visible {
  color: var(--color-wood-brown);
}
.info-email {
  display: inline-block;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.info-email:focus-visible {
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
  border-radius: 4px;
}
.info-card p {
  color: var(--color-text-muted);
}
.info-sub {
  font-size: 0.85rem;
  margin-top: 4px;
}
.nowrap {
  white-space: nowrap;
}

/* ===================== SOCIAL LINKS ===================== */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.social-link {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-dark-green);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.social-link.social-link-light {
  color: var(--color-cream);
}
.social-link svg {
  width: 20px;
  height: 20px;
}
.social-link:active {
  transform: scale(0.96);
}
.social-link:focus-visible {
  background: var(--color-gold);
  color: var(--color-dark-green);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 20px rgba(199, 168, 120, 0.5);
  outline: 2px solid var(--color-dark-green);
  outline-offset: 3px;
}
.social-link:focus-visible svg {
  animation: social-wiggle 0.4s ease;
}
.social-link:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  animation: social-ring 0.6s ease-out;
}
@media (hover: hover) {
  .social-link:hover {
    background: var(--color-gold);
    color: var(--color-dark-green);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 20px rgba(199, 168, 120, 0.5);
  }
  .social-link:hover svg {
    animation: social-wiggle 0.4s ease;
  }
  .social-link:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    animation: social-ring 0.6s ease-out;
  }
}
@keyframes social-wiggle {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}
@keyframes social-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .social-link,
  .social-link svg {
    transition: background 0.2s ease, color 0.2s ease;
    animation: none !important;
  }
  .social-link:hover,
  .social-link:focus-visible {
    transform: none;
  }
  .social-link::after {
    content: none;
  }
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--color-dark-green);
  padding: 80px 0 0;
  color: var(--color-cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-logo {
  height: 56px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.footer-tagline {
  color: rgba(249, 235, 210, 0.78);
  font-size: 0.95rem;
  max-width: 280px;
}
.footer-heading {
  color: var(--color-cream);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(249, 235, 210, 0.85);
  font-size: 0.95rem;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-gold);
}
.footer-links a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  width: 100%;
}
.footer-phone {
  display: inline-block;
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer-phone:hover,
.footer-phone:focus-visible {
  color: var(--color-gold);
}
.footer-email {
  display: block;
  color: rgba(249, 235, 210, 0.78);
  font-size: 0.9rem;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.footer-email:hover,
.footer-email:focus-visible {
  color: var(--color-gold);
}
.footer-email:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer-area {
  color: rgba(249, 235, 210, 0.78);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(199, 168, 120, 0.25);
  padding: 22px 0;
}
.footer-bottom p {
  text-align: center;
  color: rgba(249, 235, 210, 0.7);
  font-size: 0.85rem;
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 170px; }

  .about-inner { grid-template-columns: 1fr; gap: 80px 0; }
  .about-collage { max-width: 420px; margin: 0 auto; }

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

  .location-inner { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Faixa de credenciais (5 cards): 768–1099px = 3 colunas, 2ª linha (2 cards) centralizada */
@media (max-width: 1099px) {
  .about-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
  .credential-card {
    flex: 0 1 calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
  }
}

@media (max-width: 768px) {
  .about { padding: 72px 0; }
  .about-collage { margin-bottom: 56px; }
  .about-badge { left: 10px; top: -16px; font-size: 0.75rem; padding: 8px 14px; }
  .about-credentials { margin-top: 48px; }

  .process { padding: 72px 0; }
  .process-heading { margin-bottom: 48px; }

  .reviews { padding: 72px 0; }
  .reviews-card { padding: 36px 24px; }
  .reviews-ctas { flex-direction: column; align-items: stretch; }
  .reviews-ctas .btn { width: 100%; text-align: center; }

  .faq { padding: 72px 0; }
  .accordion-trigger { font-size: 0.95rem; padding: 18px 2px; }

  .timeline::before { left: 20px; }
  .timeline-step,
  .timeline-step:nth-child(even) {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding: 0 0 44px 56px;
  }
  .timeline-number,
  .timeline-step:nth-child(even) .timeline-number {
    left: 0;
    right: auto;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .timeline-card { max-width: 100%; }

  .process-cta { flex-direction: column; align-items: stretch; }
  .process-cta .btn { width: 100%; text-align: center; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    box-shadow: var(--shadow-sm);
  }
  .main-nav.is-open { max-height: 500px; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
  }
  .nav-list li { border-top: 1px solid rgba(12,47,42,0.08); }
  .nav-link { display: block; padding: 14px 4px; }
  .nav-toggle { display: flex; }
  .btn-phone span { display: none; }
  .btn-phone { padding: 12px; border-radius: 50%; width: 44px; height: 44px; }
  .icon-phone { width: 18px; height: 18px; }
}

@media (max-width: 600px) {
  :root { --header-height: 72px; }
  .logo-img { height: 44px; }
  .hero-content { padding-bottom: 210px; }
  .hero-badges-inner { gap: 12px 20px; padding: 14px 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .about-overlap-wrap { right: -16px; bottom: -24px; width: 58%; }
  .about-frame { transform: translate(-10px, -10px); }
  .js .inview-target.is-revealed .about-frame { transform: translate(-10px, -10px); }
  .about-content .btn { width: 100%; text-align: center; }

  .about-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .credential-card { max-width: none; flex: none; }
  .credential-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .projects { padding: 72px 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-cta .btn { width: 100%; text-align: center; }

  .why-us { padding: 72px 0; }
  .why-us-grid { grid-template-columns: 1fr; }

  .before-after { padding: 72px 0; }

  .location { padding: 72px 0; }
  .location-content .btn { width: 100%; text-align: center; }

  .contact { padding: 72px 0; }
  .contact-inner { grid-template-columns: 1fr; }
  #form-submit { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 36px; gap: 36px; }
  .footer-tagline { max-width: 100%; margin: 0 auto; }
  .footer-links { align-items: center; }
  .footer-links a::after { left: 50%; transform: translateX(-50%); }
  .social-links { justify-content: center; }
}
