/* =========================================================
   BR PORTAS — Premium stylesheet
   Paleta: preto profundo · grafite · branco quente · dourado · madeira
   ========================================================= */

:root {
	--bg:        #0a0a0b;
	--bg-2:      #100f11;
	--bg-3:      #16151a;
	--surface:   #1a181d;
	--surface-2: #211e24;
	--line:      rgba(255, 255, 255, .08);
	--line-2:    rgba(255, 255, 255, .14);

	--text:      #f3efe7;
	--muted:     #a7a097;
	--muted-2:   #837c73;

	--gold:      #c9a24b;
	--gold-2:    #e7cd85;
	--gold-deep: #a87f31;
	--gold-grad: linear-gradient(135deg, #f0d896 0%, #d7b35e 35%, #c9a24b 60%, #a87f31 100%);
	--wood:      #6b4f34;

	--maxw: 1200px;
	--gut: clamp(20px, 5vw, 48px);
	--radius: 16px;

	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }

.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 200;
	background: var(--gold); color: #1a130a; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* broken-image fallback */
.img-broken {
	background: linear-gradient(135deg, #211e24, #14131a 60%, #0e0d12) !important;
	position: relative;
}
.img-broken::after {
	content: "BR PORTAS"; position: absolute; inset: 0;
	display: grid; place-items: center;
	font-family: var(--serif); letter-spacing: .25em; font-size: 14px;
	color: rgba(201, 162, 75, .35);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
	font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
	color: var(--muted-2); font-weight: 500; margin: 0 0 18px;
}
.eyebrow.gold { color: var(--gold); }

.section-title {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(28px, 4.4vw, 50px); line-height: 1.08; letter-spacing: .01em;
	margin: 0 0 18px;
}
.section-lead { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; margin: 0 auto; }

.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }

/* gold text gradient utility */
.gold-text {
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
	font-size: 14px; font-weight: 600; letter-spacing: .04em;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
	will-change: transform;
}
.btn .ico { width: 18px; height: 18px; }
.btn-gold {
	background: var(--gold-grad); color: #20170a;
	box-shadow: 0 14px 36px -16px rgba(201, 162, 75, .8);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -16px rgba(201, 162, 75, .9); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2);
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
	border-bottom: 1px solid transparent;
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-top: 18px; padding-bottom: 18px; transition: padding .4s var(--ease);
}
.site-header.scrolled {
	background: rgba(10, 10, 11, .82);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--line);
}
.site-header.scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }

.brand-logo { width: auto; height: 56px; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 46px; }

.nav { display: flex; gap: 30px; }
.nav a {
	font-size: 14px; color: var(--text); letter-spacing: .03em; position: relative; padding: 6px 0; opacity: .9;
}
.nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
	background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover { opacity: 1; color: var(--gold-2); }
.nav a:hover::after { width: 100%; }

.header-cta { padding: 11px 20px; font-size: 13px; }

.nav-toggle {
	display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2);
	border-radius: 10px; padding: 0; position: relative;
}
.nav-toggle span {
	position: absolute; left: 11px; width: 22px; height: 1.6px; background: var(--text);
	transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
	position: fixed; inset: 0; z-index: 95;
	background: linear-gradient(160deg, #0d0c10, #08080a);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
	padding: 80px var(--gut) 40px;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 28px; }
.mobile-menu nav a {
	font-family: var(--serif); font-size: 30px; padding: 8px 0; color: var(--text);
}
.mobile-menu nav a:hover { color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
	padding-top: 110px; padding-bottom: 32px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.35) 32%, rgba(8,8,10,.55) 70%, rgba(8,8,10,.96) 100%),
		radial-gradient(120% 80% at 20% 30%, rgba(10,10,12,.2), rgba(10,10,12,.85) 90%);
}
.hero-content { max-width: 820px; margin-top: auto; }
.hero-title {
	font-family: var(--serif); font-weight: 600; color: #fff;
	font-size: clamp(32px, 4.8vw, 62px); line-height: 1.05; letter-spacing: .005em; margin: 0 0 18px;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold-2); display: block; }
.hero-sub { font-size: clamp(15px, 1.5vw, 18px); color: #e6e1d8; max-width: 60ch; margin: 0 0 26px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
	margin-top: clamp(28px, 4.5vh, 56px);
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
	border-top: 1px solid var(--line); padding-top: 22px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); color: var(--gold-2); line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: .04em; line-height: 1.35; }

.scroll-cue {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 14px; display: grid; place-items: start center;
}
.scroll-cue span { width: 3px; height: 8px; margin-top: 7px; border-radius: 3px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{ transform: translateY(0); opacity: 1; } 70%{ transform: translateY(14px); opacity: 0; } 100%{ opacity: 0; } }

/* ---------- Processo ---------- */
.processo { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.process-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step;
}
.process-step {
	position: relative; padding: 36px 28px 34px; border: 1px solid var(--line); border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface), rgba(26,24,29,.4));
	overflow: hidden; transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.process-step::before {
	content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold-grad); transition: width .6s var(--ease);
}
.process-step:hover { transform: translateY(-6px); border-color: var(--line-2); }
.process-step:hover::before { width: 100%; }
.process-num { font-family: var(--serif); font-size: 16px; color: var(--gold); letter-spacing: .2em; }
.process-ico { width: 46px; height: 46px; margin: 18px 0 16px; color: var(--gold-2); }
.process-ico svg { width: 100%; height: 100%; }
.process-step h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 10px; }
.process-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* connector arrows */
.process-step:not(:last-child)::after {
	content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
	color: var(--gold-deep); font-size: 18px; z-index: 2;
}

/* ---------- Produtos ---------- */
.produtos { background: var(--bg-2); }
.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.produto-card {
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
	transition: transform .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
}
.produto-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: var(--shadow); }
.produto-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.produto-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.produto-card:hover .produto-media img { transform: scale(1.07); }
.produto-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,12,.55)); }
.produto-body { padding: 26px 26px 30px; }
.produto-body h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; margin: 0 0 10px; }
.produto-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

/* ---------- Portfólio ---------- */
.portfolio { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.gallery {
	display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; margin-bottom: 48px; grid-auto-flow: dense;
}
.gallery-item {
	margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); position: relative;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
	cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter .5s var(--ease); filter: saturate(.95) brightness(.92); }
.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.5);
	border-color: rgba(201, 162, 75, 0.4);
}
.gallery-item:hover img { transform: scale(1.12); filter: saturate(1.05) brightness(1); }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

/* ---------- Stories / Projetos ---------- */
.projetos { background: var(--bg); padding-bottom: clamp(60px, 9vw, 110px); }
.stories-rail {
	display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px var(--gut) 26px; -webkit-overflow-scrolling: touch;
	scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.stories-rail::-webkit-scrollbar { height: 6px; }
.stories-rail::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 6px; }
.story-card {
	flex: 0 0 auto; width: clamp(210px, 24vw, 252px); aspect-ratio: 9 / 16; scroll-snap-align: center;
	position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2);
	background: var(--surface); padding: 0; text-align: left;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.story-card:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow); border-color: var(--gold-deep); }
.story-card > img { width: 100%; height: 100%; object-fit: cover; }
.story-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.15) 0%, transparent 30%, transparent 55%, rgba(8,8,10,.85) 100%); }
.story-play {
	position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%) scale(1);
	border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(20,18,22,.35); backdrop-filter: blur(2px);
	transition: transform .4s var(--ease), background .4s var(--ease); opacity: .92;
}
.story-play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.story-card:hover .story-play { transform: translate(-50%,-50%) scale(1.08); background: rgba(201,162,75,.45); }
.story-caption {
	position: absolute; left: 16px; bottom: 16px; right: 64px; font-family: var(--serif); font-size: 19px; color: #fff; line-height: 1.15;
}
.story-like {
	position: absolute; right: 12px; bottom: 12px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
	background: rgba(16,15,17,.5); border: 1px solid var(--line-2); border-radius: 14px; padding: 7px 8px 6px; backdrop-filter: blur(4px);
	transition: transform .3s var(--ease), background .3s var(--ease);
}
.story-like svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; transition: fill .3s var(--ease), stroke .3s var(--ease), transform .3s var(--ease); }
.story-like .story-count { font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.story-like.liked svg, .sv-like.liked svg { fill: #e0556b; stroke: #e0556b; }
.story-like:active svg { transform: scale(.82); }
.story-like.pop svg, .sv-like.pop svg { animation: heartPop .45s var(--ease); }
@keyframes heartPop { 0%{ transform: scale(1);} 35%{ transform: scale(1.4);} 60%{ transform: scale(.9);} 100%{ transform: scale(1);} }

/* Story viewer */
.story-viewer {
	position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; gap: 12px;
	background: rgba(6,6,8,.92); backdrop-filter: blur(10px);
	opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	padding: 24px;
}
.story-viewer.open { opacity: 1; visibility: visible; }
.sv-stage { position: relative; margin: 0; width: min(420px, 92vw); aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.sv-stage img, .sv-stage video { width: 100%; height: 100%; object-fit: cover; }
.sv-stage figcaption { position: absolute; left: 18px; bottom: 18px; right: 78px; font-family: var(--serif); font-size: 22px; color: #fff; z-index: 5; }
.sv-loader {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 44px; height: 44px; border: 3px solid rgba(255,255,255,.15);
	border-top-color: var(--gold-2); border-radius: 50%;
	animation: svSpin 1s linear infinite; z-index: 10;
}
@keyframes svSpin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.sv-like {
	position: absolute; right: 14px; bottom: 16px; display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
	background: rgba(16,15,17,.55); border: 1px solid var(--line-2); border-radius: 16px; padding: 9px 11px 8px;
}
.sv-like svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; }
.sv-like b { color: #fff; font-size: 12px; }
.sv-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; font-size: 26px; line-height: 1; }
.sv-nav { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #fff; font-size: 26px; line-height: 1; transition: background .3s var(--ease); }
.sv-nav:hover { background: rgba(201,162,75,.3); }

/* ---------- Avaliações ---------- */
.avaliacoes { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.google-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.google-badge strong { color: var(--text); }
.google-badge .stars { color: var(--gold-2); letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.review-card { margin: 0; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.review-card .stars { color: var(--gold-2); letter-spacing: 3px; font-size: 16px; }
.review-card blockquote { margin: 16px 0 18px; font-size: 16px; color: #e6e1d8; font-style: italic; line-height: 1.6; }
.review-card figcaption { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .03em; }

/* ---------- Sobre ---------- */
.sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sobre-media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.sobre-media::before { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px rgba(201,162,75,.18); border-radius: 20px; pointer-events: none; }
.sobre-media img { width: 100%; height: 100%; object-fit: cover; }
.sobre-body p { color: var(--muted); margin: 0 0 16px; }
.sobre-body .section-title { text-align: left; }
.sobre-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; }
.pillar { padding-left: 16px; border-left: 1px solid var(--gold-deep); }
.pillar h4 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 6px; color: var(--gold-2); }
.pillar p { font-size: 14px; margin: 0; }

/* ---------- Mapa ---------- */
.mapa { background: var(--bg); }
.mapa-wrap { position: relative; display: grid; grid-template-columns: 380px 1fr; min-height: 460px; }
.mapa-card {
	background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
	border-radius: var(--radius) 0 0 var(--radius); padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column; gap: 16px; z-index: 2;
}
.mapa-card h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0; }
.mapa-addr { color: var(--muted); margin: 0; }
.mapa-info { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mapa-info li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.mapa-info span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.mapa-info a:hover { color: var(--gold-2); }
.mapa-card .btn { margin-top: auto; align-self: flex-start; }
.mapa-embed { border: 1px solid var(--line); border-left: none; border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; }
.mapa-embed iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Contato ---------- */
.contato { background: linear-gradient(180deg, var(--bg), #0c0b0e); }
.contato-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contato-intro .section-title { text-align: left; }
.contato-intro .section-lead { margin: 0 0 30px; }
.contato-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contato-list li { display: flex; gap: 16px; align-items: center; }
.ci-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold-2); }
.ci-ico svg { width: 22px; height: 22px; }
.contato-list strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 2px; }
.contato-list a, .contato-list span { color: var(--text); }
.contato-list a:hover { color: var(--gold-2); }

.contato-form {
	background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 3.5vw, 40px);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
	width: 100%; background: #131218; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text);
	padding: 14px 16px; font-family: inherit; font-size: 15px; transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5d574f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #16151c; box-shadow: 0 0 0 3px rgba(201,162,75,.14); }
.field.invalid input, .field.invalid textarea { border-color: #c45b5b; }
.field-error { display: block; color: #e08a8a; font-size: 12.5px; margin-top: 6px; min-height: 1px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contato-form .btn { margin-top: 6px; }
.form-feedback { margin: 16px 0 0; font-size: 14px; text-align: center; min-height: 20px; }
.form-feedback.ok { color: #8fd9a0; }
.form-feedback.err { color: #e08a8a; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; }
.faq-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
	transition: border-color .3s var(--ease);
}
.faq-item:hover,
.faq-item[open] { border-color: rgba(201,162,75,.32); }
.faq-item[open] { background: var(--surface-2); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 28px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(17px, 1.6vw, 21px);
	color: var(--text);
	flex: 1;
	line-height: 1.3;
	transition: color .25s;
}
.faq-item[open] summary h3 { color: var(--gold-2); }
.faq-ico {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
	font-size: 18px;
	font-style: normal;
	transition: transform .35s var(--ease), background .25s, border-color .25s;
}
.faq-ico::before { content: "+"; line-height: 1; }
.faq-item[open] .faq-ico {
	transform: rotate(45deg);
	background: rgba(201,162,75,.12);
	border-color: rgba(201,162,75,.4);
}
.faq-item > p {
	margin: 0;
	padding: 0 28px 24px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

/* ---------- CTA strip ---------- */
.cta-strip {
	padding: clamp(60px, 9vw, 110px) 0;
	position: relative;
	background: url('../img/externas/porta_externa (12).jpeg') no-repeat center/cover;
	border-top: 1px solid var(--line);
}
.cta-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(8, 8, 10, 0.8);
	z-index: 1;
}
.cta-strip .container {
	position: relative;
	z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-strip h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 42px); margin: 0; max-width: 18ch; line-height: 1.1; color: #fff; }

/* ---------- Footer + doors animation ---------- */
.site-footer { position: relative; background: #08080a; border-top: 1px solid var(--line); overflow: hidden; }
.footer-doors { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; perspective: 1400px; }
.door {
	position: absolute; top: 0; bottom: 0; width: 50%;
	background:
		repeating-linear-gradient(90deg, rgba(201,162,75,.05) 0 2px, transparent 2px 60px),
		linear-gradient(180deg, #100e12, #0a090c);
	border: 1px solid rgba(201,162,75,.1);
	transform-style: preserve-3d;
}
.door-left { left: 0; transform-origin: left center; border-right: 1px solid rgba(201,162,75,.16); animation: doorL 14s var(--ease) infinite; }
.door-right { right: 0; transform-origin: right center; border-left: 1px solid rgba(201,162,75,.16); animation: doorR 14s var(--ease) infinite; }
.door::after { content: ""; position: absolute; top: 50%; width: 8px; height: 40px; transform: translateY(-50%); border-radius: 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); opacity: .5; }
.door-left::after { right: 12px; }
.door-right::after { left: 12px; }
.door-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 40%, rgba(201,162,75,.16), transparent 70%); opacity: 0; animation: doorGlow 14s var(--ease) infinite; }
@keyframes doorL {
	0%, 18% { transform: rotateY(0deg); }
	46%, 64% { transform: rotateY(-74deg); }
	92%, 100% { transform: rotateY(0deg); }
}
@keyframes doorR {
	0%, 18% { transform: rotateY(0deg); }
	46%, 64% { transform: rotateY(74deg); }
	92%, 100% { transform: rotateY(0deg); }
}
@keyframes doorGlow { 0%, 20% { opacity: 0; } 50%, 62% { opacity: 1; } 90%, 100% { opacity: 0; } }

.footer-inner {
	position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
	padding-top: clamp(60px, 8vw, 96px); padding-bottom: 56px;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin: 0 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); transition: all .35s var(--ease); }
.footer-social a:hover { color: #1a130a; background: var(--gold-grad); border-color: transparent; transform: translateY(-3px); }
.footer-col h4 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0 0 18px; color: var(--gold-2); }
.footer-col a, .footer-contact p { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 11px; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact p { margin-top: 4px; }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted-2); }

/* ---------- Floating buttons ---------- */
.floats { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 34px -10px rgba(0,0,0,.7); transition: transform .35s var(--ease); position: relative; }
.float:hover { transform: translateY(-4px) scale(1.05); }
.float-wa { background: linear-gradient(145deg, #2bd968, #1aa84f); }
.float-ig { background: linear-gradient(145deg, #f9a03f, #d6256b 55%, #8a3ab9); }
.float-wa::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(43,217,104,.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{ transform: scale(1); opacity: .7; } 100%{ transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
	.hero-img { animation: none; transform: none; }
	.door-left, .door-right, .door-glow, .scroll-cue span, .float-wa::after { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	/* Em telas estreitas a imagem é cortada na horizontal: foca na porta pivotante (lado direito), não na árvore */
	.hero-img { object-position: 70% center; }
	.nav { display: none; }
	.header-cta { display: none; }
	.nav-toggle { display: block; }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.process-step:nth-child(2)::after, .process-step:not(:last-child)::after { content: none; }
	.produtos-grid { grid-template-columns: repeat(2, 1fr); }
	.reviews-grid { grid-template-columns: 1fr; }
	.sobre-grid { grid-template-columns: 1fr; }
	.sobre-media { max-width: 480px; margin-inline: auto; }
	.contato-grid { grid-template-columns: 1fr; }
	.mapa-wrap { grid-template-columns: 1fr; }
	.mapa-card { border-radius: var(--radius) var(--radius) 0 0; }
	.mapa-embed { border-left: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
	.gi-wide { grid-column: span 2; }
}

@media (max-width: 680px) {
	/* No celular (retrato) o corte é mais agressivo: empurra o foco ainda mais para a porta */
	.hero-img { object-position: 76% center; }
	.hero { padding-top: 100px; padding-bottom: 24px; }
	.hero-title { font-size: clamp(30px, 8vw, 40px); line-height: 1.08; }
	.hero-sub { font-size: 15px; margin-bottom: 22px; }
	.hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-top: 18px; margin-top: 22px; }
	.stat-num { font-size: 26px; }
	.process-grid { grid-template-columns: 1fr; }
	.produtos-grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.gi-tall { grid-row: span 2; }
	.footer-inner { grid-template-columns: 1fr; }
	.cta-strip .container { flex-direction: column; align-items: flex-start; }
	.sobre-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
	.gi-wide, .gi-tall { grid-column: auto; grid-row: auto; }
}

/* ---------- Portfolio Lightbox ---------- */
.portfolio-lightbox {
	position: fixed; inset: 0; z-index: 170; display: flex; align-items: center; justify-content: center;
	background: rgba(6,6,8,.95); backdrop-filter: blur(12px);
	opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	padding: 24px;
}
.portfolio-lightbox.open { opacity: 1; visibility: visible; }
.pl-stage { position: relative; margin: 0; max-width: min(1000px, 92vw); max-height: 85vh; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.pl-stage img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; border-radius: 8px; border: 1px solid var(--line); }
.pl-stage figcaption { margin-top: 14px; font-family: var(--serif); font-size: 18px; color: var(--gold-2); text-align: center; }
.pl-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .3s var(--ease); display: flex; align-items: center; justify-content: center; }
.pl-close:hover { background: rgba(201,162,75,.3); }
