/*
Theme Name: Mitra Arquitetura
Theme URI: https://mitraarquitetura.com.br
Author: Agência Métricas Marketing Digital
Author URI: https://metricasmarketingdigital.com.br/
Description: Tema WordPress personalizado, desenvolvido exclusivamente para a Mitra Arquitetura. Projeto sob medida para arquitetura, reformas e design de interiores em Itajaí e região, otimizado para SEO, performance e conversão.
Version: 1.4.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mitra
*/
/* =============================================
   MITRA ARQUITETURA — Stylesheet
   ============================================= */

/* --- Variáveis & Reset -------------------- */
:root {
  --gold:       #C4A882;
  --gold-dark:  #8B7355;
  --gold-light: #D8C5A8;
  --dark:       #1A1814;
  --dark-2:     #2D2926;
  --warm-gray:  #6B6058;
  --light-bg:   #F8F5F1;
  --white:      #FFFFFF;
  --border:     rgba(196,168,130,0.25);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --container:  1200px;
  --header-h:   104px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Tipografia --------------------------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 0.9375rem; color: var(--warm-gray); line-height: 1.85; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Layout ------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }

.section        { padding-block: 7rem; }
.section--dark  { background: var(--light-bg); }
.section--dark p { color: var(--warm-gray); }
.section--light { background: var(--light-bg); }

.section-header { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 4.5rem; }
.section-header h2 { margin-top: 0.5rem; }
.section-header p { margin-top: 1rem; }

/* --- Botões ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn--primary    { background: var(--gold); color: var(--dark); }
.btn--primary:hover { background: var(--gold-dark); color: var(--white); }

.btn--outline    { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); }
.btn--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.btn--outline-dark { background: transparent; color: var(--dark); border: 1px solid rgba(26,24,20,0.35); }
.btn--outline-dark:hover { background: var(--dark); color: var(--white); }

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* --- Header / Nav ------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .nav {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 76px; width: auto;
  transition: filter 0.4s;
}

/* Sobre hero escuro: logo vira branca via filter */
.site-header.on-hero .nav-logo img { filter: brightness(0) invert(1); }
.site-header.scrolled .nav-logo img { filter: none; }
.site-header.scrolled {
  background: rgba(239,231,218,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 28px rgba(0,0,0,0.07);
}

.nav-menu { display: flex; align-items: center; gap: 0.1rem; }

.nav-link {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 0.875rem; right: 0.875rem;
  height: 1px; background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.site-header.scrolled .nav-link { color: var(--dark-2); }
.site-header.scrolled .nav-link::after { background: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-link--dropdown { display: flex; align-items: center; gap: 0.3rem; }
.nav-link--dropdown svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  background: var(--white); min-width: 230px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 0.8rem 1.375rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark-2);
  transition: color 0.2s, padding-left 0.2s;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu a:hover { color: var(--gold); padding-left: 2rem; }

/* CTA button in nav */
.nav-cta {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.6rem 1.375rem;
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  margin-left: 0.75rem;
}
.nav-cta:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.nav-cta::after { display: none !important; }
.site-header.scrolled .nav-cta { border-color: var(--dark); color: var(--dark); }
.site-header.scrolled .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px; width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero --------------------------------- */
.hero {
  position: relative; height: 100vh;
  min-height: 620px; display: flex;
  align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg picture { display: block; position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,24,20,0.50) 0%,
    rgba(26,24,20,0.30) 55%,
    rgba(26,24,20,0.13) 100%
  );
}
/* PÁGINAS INTERNAS: veu BRANCO central (texto centralizado, sem tons escuros).
   Fallback estatico; o valor real vem do Customizer (wp_head prio 99). */
.hero--short .hero-bg::after {
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.72) 0%,
    rgba(255,255,255,0.72) 32%,
    rgba(255,255,255,0.504) 52%,
    rgba(255,255,255,0.194) 72%,
    rgba(255,255,255,0) 88%
  );
}
@media (max-width: 768px) {
  .hero--short .hero-bg::after {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.58) 0%,
      rgba(255,255,255,0.58) 42%,
      rgba(255,255,255,0.29) 70%,
      rgba(255,255,255,0.058) 100%
    );
  }
}
/* HOME: veu BRANCO HORIZONTAL — forte na coluna esquerda (onde fica todo o texto)
   e dissolve p/ a direita, deixando a foto limpa (v1.0.6).
   Fallback estatico; o valor real vem do Customizer (wp_head prio 99). */
.hero:not(.hero--short) .hero-bg::after {
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.72) 0%,
    rgba(255,255,255,0.72) 32%,
    rgba(255,255,255,0.504) 52%,
    rgba(255,255,255,0.194) 72%,
    rgba(255,255,255,0) 88%
  );
}
/* Mobile: texto ocupa quase a largura toda -> veu cobre mais */
@media (max-width: 768px) {
  .hero:not(.hero--short) .hero-bg::after {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.78) 0%,
      rgba(255,255,255,0.78) 42%,
      rgba(255,255,255,0.39) 70%,
      rgba(255,255,255,0.078) 100%
    );
  }
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--white); max-width: 760px;
  /* Protege a legibilidade dos títulos com o overlay mais claro (sobre imagens claras) */
  text-shadow: 0 1px 18px rgba(26,24,20,0.55);
}
.hero-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  animation: hFade 0.9s 0.3s ease both;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.hero h1 {
  font-weight: 400; color: var(--white);
  margin-bottom: 1.5rem;
  animation: hFade 0.9s 0.5s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero > .container > .hero-content > p {
  color: rgba(255,255,255,0.75); font-size: 1rem;
  max-width: 480px; margin-bottom: 2.5rem;
  animation: hFade 0.9s 0.7s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: hFade 0.9s 0.9s ease both;
}
@keyframes hFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute; bottom: 2.25rem; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.55rem; letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: hFade 1s 1.2s ease both;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:1; transform:scaleY(1); }
  50%      { opacity:0.4; transform:scaleY(0.65); }
}

/* Hero inner pages */
.hero--short { height: 56vh; min-height: 420px; }
.hero--short .hero-content { text-align: left; max-width: 760px; }
.hero--short h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.hero--short .hero-eyebrow { justify-content: flex-start; }
.hero--short .hero-eyebrow::before { display: block; }
/* Cabeçalhos internos com véu CLARO -> texto ESCURO (igual à home), v1.4.7 */
.hero--short .hero-content { color: var(--dark); text-shadow: 0 1px 14px rgba(255,255,255,0.85), 0 0 4px rgba(255,255,255,0.7); }
.hero--short h1 { color: var(--dark); }
.hero--short h1 em { color: var(--gold-dark); font-style: italic; }
.hero--short .container .hero-content .hero-eyebrow { color: var(--dark); text-shadow: none; }

/* --- HOME hero CLARO (overlay branco + fontes cinzas) — v1.0.6 ----
   Aplicado so na pagina inicial (body.mitra-front). Inverte o hero:
   texto escuro sobre veu branco, nav escura sobre a foto clara.        */
body.mitra-front .hero-content {
  color: var(--dark);
  text-shadow: 0 1px 12px rgba(255,255,255,0.6);
}
body.mitra-front .hero h1 { color: var(--dark); }
body.mitra-front .hero h1 em { color: var(--gold-dark); }
body.mitra-front .hero-eyebrow { color: var(--gold-dark); }
body.mitra-front .hero > .container > .hero-content > p { color: rgba(26,24,20,0.86); text-shadow: 0 1px 14px rgba(255,255,255,0.85), 0 0 4px rgba(255,255,255,0.7); }
/* Botao contornado: vira escuro (o branco sumiria sobre fundo claro) */
body.mitra-front .hero .btn--outline { color: var(--dark); border-color: rgba(26,24,20,0.35); }
body.mitra-front .hero .btn--outline:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
/* Indicador de scroll escuro */
body.mitra-front .scroll-indicator { color: rgba(26,24,20,0.5); }

/* Nav sobre o hero claro = ESCURA em TODAS as páginas (nenhum hero é escuro), v1.4.7 */
.site-header.on-hero .nav-logo img { filter: none; }
.site-header.on-hero .nav-link { color: var(--dark-2); }
.site-header.on-hero .nav-link::after { background: var(--gold); }
.site-header.on-hero .nav-cta { border-color: rgba(26,24,20,0.4); color: var(--dark); }
.site-header.on-hero .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.site-header.on-hero .nav-toggle span { background: var(--dark); }

/* --- Serviços Cards ----------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

.service-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover img { transform: scale(1.06); }

.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,20,0.92) 0%, rgba(26,24,20,0.35) 55%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  color: var(--white);
  transition: background 0.5s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(26,24,20,0.97) 0%, rgba(26,24,20,0.6) 60%, rgba(26,24,20,0.1) 100%);
}
.service-num {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.service-card h3 {
  font-size: 1.7rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.85rem; color: rgba(255,255,255,0.68);
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}
.service-card:hover p { opacity: 1; transform: translateY(0); }
.service-card-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}
.service-card:hover .service-card-arrow { gap: 1rem; }
.service-card-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* --- Portfólio Grid ----------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-template-rows: repeat(2, 310px);
  gap: 8px;
}
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-item:nth-child(1) { grid-column: 1/6; }
.portfolio-item:nth-child(2) { grid-column: 6/9; }
.portfolio-item:nth-child(3) { grid-column: 9/13; }
.portfolio-item:nth-child(4) { grid-column: 1/5; grid-row:2; }
.portfolio-item:nth-child(5) { grid-column: 5/9; grid-row:2; }
.portfolio-item:nth-child(6) { grid-column: 9/13; grid-row:2; }

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(26,24,20,0);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: background 0.4s;
  padding: 1.5rem;
  text-align: center;
}
.portfolio-item:hover .portfolio-overlay { background: rgba(26,24,20,0.65); }
.portfolio-overlay-inner {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.35s 0.05s, transform 0.35s 0.05s;
}
.portfolio-item:hover .portfolio-overlay-inner { opacity:1; transform:translateY(0); }
.portfolio-overlay-inner h4 {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--white); margin-bottom: 0.25rem;
}
.portfolio-overlay-inner span {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
}

/* --- Sobre (Teaser) ----------------------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5.5rem; align-items: center;
}
.about-image { position: relative; }
.about-image img { width: 100%; height: 560px; object-fit: cover; }
.about-image::before {
  content: ''; position: absolute;
  top: -20px; right: -20px;
  width: 55%; height: 55%;
  border: 1px solid var(--gold); z-index: -1;
}
.about-badge {
  position: absolute; bottom: 2.5rem; right: -2.5rem;
  background: var(--gold); padding: 1.75rem 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.about-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 3rem; line-height: 1; color: var(--dark);
}
.about-badge span {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark-2);
}
.about-text .eyebrow { margin-bottom: 0.5rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { margin-bottom: 1.25rem; }

.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.about-pillar {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--light-bg);
}
.about-pillar h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; margin-bottom: 0.2rem;
}
.about-pillar p { font-size: 0.8rem; margin: 0; }

/* --- Diferenciais ------------------------- */
.differentials {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; border-top: 1px solid rgba(26,24,20,0.08);
}
.differential {
  padding: 3.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(26,24,20,0.08);
  transition: background 0.3s;
}
.differential:last-child { border-right: none; }
.differential:hover { background: rgba(196,168,130,0.07); }
.diff-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(196,168,130,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 1.5rem;
}
.diff-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.differential h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--dark); margin-bottom: 0.75rem;
}
.differential p { font-size: 0.8rem; margin: 0; }

/* --- CTA Banner --------------------------- */
.cta-banner { padding: 6rem 0; text-align: center; background: var(--light-bg); }
.cta-banner h2 { max-width: 620px; margin-inline: auto; margin-bottom: 0.75rem; }
.cta-banner .sub { max-width: 480px; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- Footer ------------------------------- */
.site-footer { background: #EFE7DA; color: var(--dark); padding-top: 5.5rem; border-top: 1px solid rgba(196,168,130,0.45); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(26,24,20,0.10);
}
.footer-brand img { height: 80px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.8rem; color: var(--warm-gray); max-width: 270px; margin-bottom: 1.75rem; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(26,24,20,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.footer-social a:hover { border-color: var(--gold); background: var(--gold); }
.footer-social a svg { width: 15px; height: 15px; fill: var(--warm-gray); transition: fill 0.3s; }
.footer-social a:hover svg { fill: var(--white); }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { font-size: 0.8rem; color: var(--warm-gray); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--dark); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 1.1rem;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--gold-dark); fill: none; flex-shrink:0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.8rem; color: var(--warm-gray); line-height: 1.5; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(26,24,20,0.45); margin: 0; }
.footer-bottom a { color: var(--gold-dark); }

/* --- WhatsApp Float ----------------------- */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 998;
  display: flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: var(--white);
  padding: 0.875rem 1.375rem 0.875rem 1rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.38);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; }
.whatsapp-float span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }

/* --- Animações fade-in ------------------- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =============================================
   PÁGINAS INTERNAS
   ============================================= */

/* Sobre */
.story-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }
.story-block img { width: 100%; height: 500px; object-fit: cover; }
.story-text h2 { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.story-text p { margin-bottom: 1.25rem; }
.story-text p:last-child { margin-bottom: 0; }

.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.founder-card { background: var(--light-bg); overflow: hidden; }
.founder-card img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.founder-text { padding: 2rem 2rem 2.5rem; }
.founder-text .eyebrow { font-size: 0.6rem; margin-bottom: 0.25rem; }
.founder-text h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.founder-text p { font-size: 0.875rem; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.value-card {
  background: var(--light-bg); padding: 3rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: center;
}
.value-card:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(196,168,130,0.12); }
.value-num {
  font-family: var(--font-display); font-size: 3.5rem;
  color: var(--gold); opacity: 0.3; line-height: 1;
  margin-bottom: 1rem;
}
.value-card h4 { margin-bottom: 0.75rem; }

/* Páginas de serviço */
.service-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.service-intro img { width: 100%; height: 520px; object-fit: cover; }
.service-intro-text .eyebrow { margin-bottom: 0.5rem; }
.service-intro-text h2 { margin-bottom: 1.5rem; }
.service-intro-text p { margin-bottom: 1.25rem; }

.service-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-type {
  background: var(--light-bg);
  padding: 3rem 2rem; border-top: 2px solid transparent;
  transition: border-color 0.3s;
}
.service-type:hover { border-color: var(--gold); }
.service-type-icon {
  width: 48px; height: 48px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-type-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.service-type h4 { margin-bottom: 0.625rem; }
.service-type p { font-size: 0.85rem; margin: 0; }

.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.process-step {
  background: var(--light-bg); padding: 3rem 2rem;
  border: 1px solid rgba(26,24,20,0.08);
  position: relative; overflow: hidden;
}
.process-step::before {
  content: attr(data-step);
  font-family: var(--font-display); font-size: 5rem;
  color: var(--gold); opacity: 0.22;
  position: absolute; top: 0.5rem; right: 1rem;
  line-height: 1; font-weight: 600;
}
.process-step h4 { color: var(--dark); margin-bottom: 0.625rem; font-size: 1.05rem; }
.process-step p { font-size: 0.82rem; margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: 290px; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* Interiores - lista de itens incluídos */
.includes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.include-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.include-item:hover { border-color: var(--gold); }
.include-icon {
  width: 40px; height: 40px; background: var(--light-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.include-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }
.include-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.include-item p { font-size: 0.82rem; margin: 0; }

/* Contato */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 6rem; align-items: start;
}
.contact-details { padding-top: 0.5rem; }
.contact-details .eyebrow { margin-bottom: 0.5rem; }
.contact-details h2 { margin-bottom: 1.25rem; }
.contact-details > p { margin-bottom: 2.5rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 46px; height: 46px; background: var(--light-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.contact-item-info strong {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.contact-item-info span { font-size: 0.9rem; color: var(--dark-2); }

.contact-form-box { background: var(--light-bg); padding: 3rem; }
.contact-form-box h3 {
  font-family: var(--font-display); font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.contact-form-box > p { margin-bottom: 2rem; font-size: 0.875rem; }

.form-group { margin-bottom: 1.375rem; }
.form-group label {
  display: block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--warm-gray); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--dark); outline: none;
  transition: border-color 0.3s;
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Honeypot anti-spam — invisível para humanos */
.form-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Status de envio do formulário */
.form-status { display: none; margin-top: 1rem; padding: 0.85rem 1rem; font-size: 0.85rem; line-height: 1.45; border-radius: 3px; }
.form-status.show { display: block; }
.form-status.success { background: #e9f5ec; color: #1e6b3a; border: 1px solid #bfe3c9; }
.form-status.error   { background: #fdecec; color: #a12626; border: 1px solid #f3c9c9; }
.form-note { margin-top: 0.9rem; font-size: 0.72rem; color: var(--dark-2); opacity: 0.7; text-align: center; }

/* Breadcrumbs */
.breadcrumb { background: var(--light-bg); border-bottom: 1px solid rgba(26,24,20,0.07); }
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 0.1rem; padding-block: 0.85rem; font-size: 0.76rem; letter-spacing: 0.02em; }
.breadcrumb a { color: var(--dark-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span[aria-hidden] { margin: 0 0.45rem; color: rgba(26,24,20,0.3); }
.breadcrumb span[aria-current] { color: var(--gold-dark); font-weight: 500; }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 1024px) {
  .differentials { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .service-types { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .nav-logo img { height: 44px; }
  .section { padding-block: 4.5rem; }

  /* Nav mobile — accordion que desce abaixo do header (sem overlay) */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #EFE7DA;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav-menu.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid rgba(26,24,20,0.08); }
  .nav-link {
    display: block;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.12em; color: var(--dark) !important;
    padding: 1.05rem 1.5rem;
  }
  .nav-link::after { display: none; }
  .nav-link--dropdown { justify-content: space-between; }
  .nav-link--dropdown svg { transition: transform 0.3s var(--ease); }
  .nav-link--dropdown.open svg { transform: rotate(180deg); }
  .dropdown-menu {
    position: static; min-width: 0;
    background: rgba(26,24,20,0.04);
    box-shadow: none; border: none;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .dropdown-menu.open { max-height: 320px; }
  .dropdown-menu a {
    color: var(--warm-gray) !important; font-size: 0.72rem;
    border-bottom: none; padding: 0.85rem 1.5rem 0.85rem 2.5rem;
  }
  .dropdown-menu a:hover { padding-left: 2.75rem; color: var(--gold-dark) !important; }
  .nav-cta {
    display: block; text-align: center; margin-left: 0;
    background: var(--gold); color: var(--dark) !important;
    border: none; padding: 1.05rem 1.5rem;
  }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .portfolio-item { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4/3; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 1rem; }
  .about-pillars { grid-template-columns: 1fr; }

  /* Story */
  .story-block, .story-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .story-block img { height: 320px; }

  /* Founders */
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card img { height: 340px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Services pages */
  .service-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-intro img { height: 320px; }
  .service-types { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* Includes */
  .includes-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-box { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Differentials */
  .differentials { grid-template-columns: 1fr 1fr; border-top: none; }
  .differential { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero--short h1 { font-size: 2.2rem; }

  /* WhatsApp */
  .whatsapp-float { padding: 0.875rem; border-radius: 50%; }
  .whatsapp-float span { display: none; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: 1fr; }
  .differentials { grid-template-columns: 1fr; }
  .service-types { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about-badge { display: none; }
}

/* --- WordPress: barra de admin não corta o header fixo/logo --- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* --- Conteúdo de páginas novas (the_content do editor) --- */
.page-content h2 { margin: 2rem 0 1rem; }
.page-content h3 { margin: 1.5rem 0 0.75rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { margin: 0 0 1.25rem 1.25rem; }
.page-content li { margin-bottom: 0.5rem; }
.page-content a { color: var(--gold-dark); text-decoration: underline; }
.page-content img { max-width: 100%; height: auto; border-radius: 2px; }
.page-content .btn { text-decoration: none; }

/* reCAPTCHA v3: nao sobrepor o botao de WhatsApp */
.grecaptcha-badge { bottom: 92px !important; box-shadow: 0 0 6px rgba(0,0,0,0.12) !important; }

/* Alinhamento vertical do menu no header */
.site-header .nav { align-items: center; }
.site-header .nav-menu { align-items: center; }

/* ===== Block Patterns / Construtor Mitra ===== */
.mitra-builder { padding-top: var(--header-h); }
.mitra-builder .alignfull { max-width: 100%; }
.mitra-sec { padding-block: 5.5rem; padding-inline: 1.5rem; }
.mitra-sec--dark { background: var(--dark); }
.mitra-sec--dark h1, .mitra-sec--dark h2, .mitra-sec--dark h3, .mitra-sec--dark h4 { color: var(--white); }
.mitra-sec--dark p { color: rgba(255,255,255,0.6); }
.mitra-cta { background: var(--light-bg); }
.mitra-eyebrow { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.mitra-hero, .mitra-hero h1 { color: var(--white); }
.mitra-hero .mitra-eyebrow { color: var(--gold-light); }
.mitra-sec .wp-block-button__link, .mitra-hero .wp-block-button__link { background: var(--gold); color: var(--dark); border-radius: 0; padding: 0.9rem 2rem; font-family: var(--font-body); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; transition: background .35s, color .35s; }
.mitra-sec .wp-block-button__link:hover, .mitra-hero .wp-block-button__link:hover { background: var(--gold-dark); color: var(--white); }
.mitra-sec .wp-block-image img { width: 100%; height: 240px; object-fit: cover; }