/* Camargo Construtora — estilos globais
   Paleta da identidade visual (Instagram @csconstrutoraincorp), aplicada sobre a estrutura do PRD */
:root {
  --bg: #F6F1EA;          /* Areia clara — fundo principal */
  --nav: #ECE2D8;         /* Areia — fundo da navegação */
  --forest: #22211D;      /* Grafite — painéis e botões escuros */
  --green: #A9490C;       /* Laranja queimado — ícones e destaques em títulos (6,0:1 no fundo claro) */
  --accent: #B5500F;      /* Laranja de ação — CTA com texto branco (5,1:1) */
  --brand: #D46017;       /* Laranja da marca — formas e detalhes decorativos */
  --ink: #1E1D1A;         /* Grafite profundo — texto em superfícies claras */
  --white: #FBF8F4;       /* Branco quente — texto em superfícies escuras */
  --muted: #57514A;
  --line: rgba(30, 29, 26, .12);
  --radius: 20px;
  --radius-sm: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 18px 40px -24px rgba(34, 33, 29, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
.hl { color: var(--green); }
.on-dark .hl { color: #F0A46E; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: #F4B485; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: rgba(251, 248, 244, .82); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #F0A46E; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--green); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--nav); }
.btn-whats { background: var(--accent); color: #fff; }
.btn-whats:hover { background: var(--forest); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: padding .3s var(--ease); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(236, 226, 216, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(181, 80, 15, .08);
  border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 10px 30px -22px rgba(34, 33, 29, .6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); min-height: 44px; }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--brand); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .08em; }
.brand-sub { font-weight: 600; font-size: 10px; letter-spacing: .32em; margin-top: 4px; color: var(--green); }
.brand--light { color: var(--white); }
.brand--light .brand-sub { color: #F4B485; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background-color .2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { background: rgba(181, 80, 15, .1); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--forest); color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-only { display: none; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-bar { border-radius: 28px; padding: 6px 6px 6px 16px; flex-wrap: wrap; }
  .nav-menu { display: none; order: 3; width: 100%; padding: 8px 4px 12px; }
  .nav-menu.is-open { display: block; animation: drop .25s var(--ease); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 0 16px; font-size: 17px; }
  .mobile-only { display: block; }
  .nav-menu .btn { width: 100%; margin-top: 8px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Abertura ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 5.4; background: var(--nav); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251, 248, 244, .94); color: var(--forest); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
}
.tag svg { width: 18px; height: 18px; color: var(--accent); }
.tag--a { left: -18px; bottom: 18%; }
.tag--b { right: 18px; top: 22px; background: var(--forest); color: var(--white); }
.tag--b svg { color: #F0A46E; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  /* Etiquetas reposicionadas para não cobrir o rosto no celular */
  .tag--a { left: 12px; bottom: 12px; top: auto; }
  .tag--b { right: 12px; top: auto; bottom: 12px; left: auto; }
}
@media (max-width: 420px) {
  .tag { font-size: 13px; padding: 8px 12px; }
  .tag--b { display: none; }
}

/* ---------- Sobre ---------- */
.panel-dark {
  background: linear-gradient(140deg, var(--forest) 0%, #2E2C28 55%, var(--green) 130%);
  color: var(--white); border-radius: var(--radius-lg); overflow: hidden; position: relative;
}
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(20px, 3vw, 32px); align-items: stretch; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; width: 100%; min-height: 420px; isolation: isolate; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-body { align-self: center; }
.about-body { padding: clamp(8px, 2vw, 24px) clamp(4px, 2vw, 24px) clamp(8px, 2vw, 24px) 0; }
.about-body p { color: rgba(251, 248, 244, .84); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.stat { background: rgba(251, 248, 244, .07); border: 1px solid rgba(251, 248, 244, .12); border-radius: var(--radius-sm); padding: 18px; }
.stat-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(240, 164, 110, .16); color: #F4B485; display: grid; place-items: center; margin-bottom: 12px; }
.stat-icon svg { width: 22px; height: 22px; }
.stat strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.25; margin-bottom: 4px; }
.stat span { font-size: 14px; color: rgba(251, 248, 244, .74); line-height: 1.45; display: block; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .about-body { padding: 4px 6px 12px; }
}
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Serviços ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(24px, 3vw, 36px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head .lead { margin: 0 0 6px; max-width: 44ch; }
.accordion { display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.acc-item.is-open { box-shadow: var(--shadow); border-color: rgba(181, 80, 15, .25); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  min-height: 84px; padding: 18px clamp(18px, 3vw, 28px); border: 0; background: transparent; cursor: pointer;
  font: inherit; color: var(--ink);
}
.acc-num { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .08em; flex: none; width: 28px; }
.acc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(212, 96, 23, .1); color: var(--green); transition: background-color .25s, color .25s; }
.acc-icon svg { width: 24px; height: 24px; }
.acc-title { flex: 1; font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.01em; }
.acc-title small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.acc-state { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background-color .25s, color .25s; }
.acc-state svg { width: 18px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-state { transform: rotate(45deg); background: var(--forest); color: var(--white); border-color: var(--forest); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--forest); color: #F4B485; }
.acc-trigger:hover .acc-state { border-color: var(--green); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel[hidden] { display: grid; } /* mantém animação; 'inert' cuida da acessibilidade */
.acc-content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); padding: 4px clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px); }
.acc-photo { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.acc-photo img { width: 100%; height: 100%; object-fit: cover; }
.acc-photo .tag { left: 12px; bottom: 12px; }
.acc-content h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin: 22px 0 10px; }
.acc-content p { color: var(--muted); }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.45; }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 820px) {
  .acc-content { grid-template-columns: 1fr; }
  .acc-num { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .acc-trigger { gap: 14px; }
}

/* ---------- Obras ---------- */
.works { background: #EFE6DB; padding: clamp(44px, 5vw, 68px) 0; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-photo img { transform: scale(1.04); }
.work-photo .tag { left: 12px; top: 12px; font-size: 13px; padding: 7px 12px; }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-body h3 { margin: 0; font-size: 20px; }
.work-meta { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.work-meta svg { width: 16px; height: 16px; color: var(--accent); }
.work-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); font-size: 15px; }
.work-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.work-card:hover .work-link svg { transform: translateX(4px); }
@media (max-width: 980px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .works-grid { grid-template-columns: 1fr; } }

/* ---------- Atendimento em Três Rios (SEO) ---------- */
.seo-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.seo-intro { position: sticky; top: 110px; }
.seo-intro .lead { margin-bottom: 28px; }
.seo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.seo-list li { padding: 20px 0 20px 18px; border-bottom: 1px solid var(--line); position: relative; }
.seo-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.seo-list h3 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.01em; }
.seo-list p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .seo-wrap { grid-template-columns: 1fr; }
  .seo-intro { position: static; }
}
@media (max-width: 600px) {
  .seo-list { grid-template-columns: 1fr; }
  .seo-intro .btn { width: 100%; }
}

/* ---------- Perguntas frequentes ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 20px; font-weight: 700; font-size: 17px; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), background-color .2s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--forest); color: var(--white); border-color: var(--forest); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Banner de contato ---------- */
.cta-banner { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/fotos/plantas-lg.webp") center / cover;
  opacity: .16; mix-blend-mode: luminosity;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(240, 164, 110, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 164, 110, .08) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-banner h2 { max-width: 20ch; }
.cta-banner p { color: rgba(251, 248, 244, .84); max-width: 52ch; margin: 0; }
.helmet { width: clamp(120px, 16vw, 200px); color: #FBF8F4; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; }
  .helmet { order: -1; width: 96px; }
}

/* ---------- Contato (WhatsApp) ---------- */
.contact-whats {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px);
}
.contact-whats-main { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 1 1 380px; }
.btn-lg { min-height: 60px; padding: 16px 34px; font-size: 18px; }
.btn-lg svg { width: 22px; height: 22px; }
.channels-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.channel { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-width: 0; }
.channel-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(212, 96, 23, .1); color: var(--green); display: grid; place-items: center; flex: none; }
.channel-icon svg { width: 24px; height: 24px; }
.channel-icon--lg { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; }
.channel-icon--lg svg { width: 32px; height: 32px; }
.channel h3 { font-size: 18px; margin: 0 0 4px; }
.channel a { color: var(--green); font-weight: 700; text-decoration: none; word-break: break-word; }
.channel a:hover { text-decoration: underline; }
.channel small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .channels-row { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .contact-whats-main { flex-direction: column; align-items: flex-start; flex-basis: 100%; }
  .contact-whats .btn { width: 100%; }
}

/* Botão flutuante do WhatsApp */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); transition: transform .2s var(--ease), background-color .2s;
}
.whats-float:hover { transform: scale(1.06); background: var(--forest); }
.whats-float svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .whats-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(251, 248, 244, .78); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: rgba(251, 248, 244, .86); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: #F4B485; }
.footer-about { max-width: 38ch; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(251, 248, 244, .12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 48px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--green); font-weight: 600; text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.project-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; margin-top: 32px; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.project-intro .lead { margin: 0; }
.project-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.project-facts dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px 20px; }
.project-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.project-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; }
.project-facts .btn { width: 100%; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2E8B57; }
.status--andamento::before { background: #C98A00; }
.project-details { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.project-details .prose h2 { margin-top: 0; }
.check-list--single { grid-template-columns: 1fr; }
.gallery-title { font-size: clamp(24px, 2.6vw, 30px); margin: clamp(32px, 4vw, 48px) 0 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--nav); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 14px; padding: 10px 14px; color: var(--muted); background: #fff; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose { max-width: 75ch; }
@media (max-width: 860px) {
  .project-intro, .project-details { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-cover { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .project-facts dl { grid-template-columns: 1fr; gap: 0; }
  .project-facts dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .project-facts dd { margin: 0; text-align: right; }
}

/* ---------- Animações discretas ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }



/* ---------- Galeria ampliável ---------- */
.gallery-link { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-link img { transition: transform .8s var(--ease); }
.gallery-link:hover img { transform: scale(1.05); }
.gallery-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(251, 248, 244, .92); color: var(--forest);
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.gallery-zoom svg { width: 18px; height: 18px; }
.gallery-link:hover .gallery-zoom, .gallery-link:focus-visible .gallery-zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery-zoom { opacity: 1; transform: none; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 19, 17, .94); color: var(--white); overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: lbIn .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 88px 56px; max-width: 100%; max-height: 100%; }
.lightbox-figure img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); touch-action: pan-y; }
.lightbox-figure img.is-changing { animation: lbImg .35s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-figure figcaption { font-size: 15px; color: rgba(251, 248, 244, .85); text-align: center; }
.lightbox-count { position: absolute; top: 24px; left: 24px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: rgba(251, 248, 244, .75); }
.lightbox-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(251, 248, 244, .2);
  background: rgba(251, 248, 244, .08); color: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.lightbox-btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox :focus-visible { outline-color: #F0A46E; }
@media (max-width: 700px) {
  .lightbox-figure { padding: 64px 12px 96px; }
  .lightbox-figure img { max-height: calc(100vh - 220px); border-radius: 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
  .lightbox-prev:hover, .lightbox-next:hover { transform: none; }
}
body.lb-open { overflow: hidden; }

/* ---------- Animações ---------- */
/* Cabeçalho compacto ao rolar */
.site-header.is-scrolled { padding: 6px 0; }
.site-header.is-scrolled .nav-bar { box-shadow: 0 14px 34px -20px rgba(34, 33, 29, .55); background: rgba(236, 226, 216, .97); }

/* Entrada da abertura em cascata */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: scale(.96); clip-path: inset(6% 6% 6% 6% round 24px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); } }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-grid > div:first-child > * { animation: fadeUp .8s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: .28s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: .4s; }
.hero-grid > div:first-child > :nth-child(5) { animation-delay: .5s; }
.hero-photo { animation: photoIn 1.1s var(--ease) .1s both; }
.hero-photo img { transition: transform 6s ease-out; }
.hero-media:hover .hero-photo img { transform: scale(1.04); }
.hero-media .tag { animation: tagIn .6s var(--ease) both, float 5s ease-in-out infinite; }
.hero-media .tag--a { animation-delay: .8s, 1.6s; }
.hero-media .tag--b { animation-delay: 1s, 2.4s; }
.hl { background: linear-gradient(transparent 62%, rgba(212, 96, 23, .18) 62%) no-repeat 0 0 / 0 100%; animation: underline 1s var(--ease) .9s forwards; }
@keyframes underline { to { background-size: 100% 100%; } }

/* Brilho que passa nos botões principais */
.btn-primary, .btn-whats { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-whats::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after, .btn-whats:hover::after { transform: translateX(120%); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn-whats:hover svg, .hero-actions .btn:hover svg { transform: translateY(2px); }
.btn-whats:hover svg { transform: rotate(-10deg) scale(1.08); }

/* Botão flutuante com pulso */
.whats-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.whats-float { animation: tagIn .6s var(--ease) 1.4s both; }

/* Revelação em cascata nas listas */
.reveal { transition-delay: var(--d, 0s); }

/* Zoom suave nas fotos */
.acc-photo img, .about-photo img, .gallery img { transition: transform .8s var(--ease); }
.acc-photo:hover img, .about-photo:hover img, .gallery figure:hover img { transform: scale(1.05); }

/* Ícones dos serviços e cartões */
.acc-trigger:hover .acc-icon { transform: rotate(-6deg) scale(1.06); }
.acc-icon { transition: background-color .25s, color .25s, transform .3s var(--ease); }
.seo-list li::before { transition: transform .3s var(--ease); }
.seo-list li:hover::before { transform: rotate(225deg) scale(1.4); }
.seo-list li h3 { transition: color .2s; }
.seo-list li:hover h3 { color: var(--green); }
.stat { transition: transform .3s var(--ease), background-color .3s; }
.stat:hover { transform: translateY(-4px); background: rgba(251, 248, 244, .11); }
.channel { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.helmet { animation: float 6s ease-in-out infinite; }
.faq-item { transition: box-shadow .25s var(--ease), border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(181, 80, 15, .25); }
.faq-item[open] p { animation: fadeUp .4s var(--ease) both; }
.acc-item.is-open .acc-content > * { animation: fadeUp .5s var(--ease) both; }
.acc-item.is-open .acc-content > :nth-child(2) { animation-delay: .08s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
  .whats-float::before { display: none; }
}
