/* ============================================================
   Guias editoriais XR Studio (ex.: ar-ou-vr-para-eventos.html).
   Layout de leitura: coluna única, tabelas comparativas, bloco de
   resposta curta e FAQ em <details> (conteúdo sempre no HTML).
   Cabeçalho em xr-header.css; descoberta em xr-discovery.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
body { background: #080808; color: #fff; overflow-x: hidden; font-family: 'Rubik', Arial, Helvetica, sans-serif; }

.gd { padding-top: 96px; }
.gd-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Cabeçalho do guia */
.gd-hero { position: relative; padding: 48px 0 0; overflow: hidden; }
.gd-hero::before {
	content: ''; position: absolute; top: -220px; left: -220px; width: 700px; height: 700px;
	background: radial-gradient(circle, rgba(255,36,142,0.1) 0%, transparent 65%); pointer-events: none;
}
.gd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 28px; }
.gd-crumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.gd-crumbs a:hover { color: #FF248E; }
.gd-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #FF248E; margin: 0 0 16px; }
.gd-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; color: #fff; margin: 0 0 22px; }
.gd-lede { font-size: 19px; line-height: 1.65; color: rgba(255,255,255,0.7); margin: 0 0 22px; }
.gd-meta { font-size: 14px; color: rgba(255,255,255,0.45); margin: 0; }
.gd-meta strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.gd-cover { max-width: 1060px; margin: 40px auto 0; padding: 0 24px; }
.gd-cover img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); }

/* Resposta curta e resumo */
.gd-answer {
	margin: 48px 0 24px; padding: 28px 30px; border-radius: 18px;
	background: linear-gradient(135deg, rgba(255,36,142,0.12), rgba(100,36,255,0.08));
	border: 1px solid rgba(255,36,142,0.3);
}
.gd-answer h2, .gd-keys h2, .gd-toc h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #FF248E; margin: 0 0 12px; }
.gd-answer p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.88); margin: 0; }
.gd-keys, .gd-toc { margin: 0 0 24px; padding: 26px 30px; border-radius: 18px; background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08); }
.gd-keys ul, .gd-toc ol { margin: 0; padding-left: 20px; }
.gd-keys li, .gd-toc li { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.72); margin-bottom: 8px; }
.gd-toc a { color: rgba(255,255,255,0.8); text-decoration: none; border-bottom: 1px solid rgba(255,36,142,0.35); }
.gd-toc a:hover { color: #FF248E; }

/* Corpo */
.gd-body { padding: 24px 0 8px; }
.gd-body h2 { font-size: 34px; font-weight: 800; line-height: 1.2; color: #fff; margin: 64px 0 18px; scroll-margin-top: 110px; }
.gd-body h3 { font-size: 22px; font-weight: 700; line-height: 1.3; color: #fff; margin: 36px 0 12px; }
.gd-body p, .gd-body li { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.72); }
.gd-body p { margin: 0 0 18px; }
.gd-body ul, .gd-body ol { margin: 0 0 20px; padding-left: 22px; }
.gd-body li { margin-bottom: 8px; }
.gd-body strong { color: #fff; font-weight: 600; }
.gd-body a, .gd-cta a:not(.gd-btn) { color: #ff6bb5; text-decoration: underline; text-underline-offset: 3px; }
.gd-body a:hover, .gd-cta a:not(.gd-btn):hover { color: #FF248E; }
.gd-note { font-size: 15px !important; color: rgba(255,255,255,0.55) !important; }

/* Tabelas */
.gd-table { margin: 28px 0; overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.gd-table:focus-visible { outline: 2px solid #FF248E; outline-offset: 2px; }
.gd-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.gd-table caption { caption-side: top; text-align: left; padding: 16px 18px 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.gd-table th, .gd-table td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.55; border-top: 1px solid rgba(255,255,255,0.07); }
.gd-table thead th { color: #FF248E; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255,36,142,0.06); }
.gd-table tbody th { color: #fff; font-weight: 600; width: 26%; }
.gd-table td { color: rgba(255,255,255,0.68); }

/* Fórmula, colunas, listas */
.gd-formula { margin: 24px 0; padding: 22px 26px; border-left: 3px solid #FF248E; background: rgba(255,255,255,0.03); border-radius: 0 14px 14px 0; }
.gd-formula p { margin: 0; font-size: 15px; }
.gd-formula .gd-formula-eq { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.gd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.gd-card { padding: 24px 24px 8px; border-radius: 16px; background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08); }
.gd-card h3 { margin-top: 0; }
.gd-card li { font-size: 15px; }
.gd-steps li::marker { color: #FF248E; font-weight: 700; }
.gd-check { list-style: none; padding-left: 0 !important; }
.gd-check li { position: relative; padding-left: 30px; }
.gd-check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #FF248E; font-weight: 700; }

/* Cases */
.gd-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
.gd-case-static:hover { border-color: rgba(255,255,255,0.08); transform: none; }
.gd-figure { margin: 28px 0; }
.gd-figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.gd-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); }
.gd-case { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08); text-decoration: none !important; transition: border-color 300ms, transform 300ms; }
.gd-case:hover { border-color: rgba(255,36,142,0.4); transform: translateY(-4px); }
.gd-case img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gd-case-body { padding: 18px 20px 20px; }
.gd-case-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #FF248E; margin-bottom: 6px; }
.gd-case h3 { font-size: 19px !important; margin: 0 0 8px !important; color: #fff; }
.gd-case p { font-size: 14px !important; line-height: 1.6 !important; margin: 0 !important; color: rgba(255,255,255,0.62) !important; }
.gd-case b { display: inline-block; margin-top: 12px; font-size: 13px; color: #ff6bb5; font-weight: 600; }
.gd-price { margin: 28px 0; padding: 28px 30px; border-radius: 18px; text-align: center; background: #0d0d0d; border: 1px solid rgba(255,36,142,0.3); }
.gd-price-label { font-size: 13px !important; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5) !important; margin: 0 0 6px !important; }
.gd-price-value { font-size: 40px !important; font-weight: 800; color: #fff !important; line-height: 1.15 !important; margin: 0 0 8px !important; }
.gd-price-note { font-size: 14px !important; color: rgba(255,255,255,0.55) !important; margin: 0 !important; }

/* FAQ */
.gd-faq details { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; margin-bottom: 12px; background: #0d0d0d; transition: border-color 300ms; }
.gd-faq details[open] { border-color: rgba(255,36,142,0.35); }
.gd-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #FF248E; transition: transform 300ms; }
.gd-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gd-faq summary h3 { font-size: 17px; margin: 0; line-height: 1.45; }
.gd-faq summary:hover h3 { color: #FF248E; }
.gd-faq details p { padding: 0 24px 20px; margin: 0; font-size: 16px; }

/* Fontes */
.gd-sources { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.gd-sources h2 { font-size: 22px !important; margin-top: 0 !important; }
.gd-sources li { font-size: 14px !important; }
.gd-about { font-size: 14px !important; color: rgba(255,255,255,0.5) !important; margin-top: 20px !important; }

/* CTA */
.gd-cta { margin: 56px 0 88px; padding: 44px 36px; text-align: center; border-radius: 22px; background: radial-gradient(circle at 50% 0%, rgba(255,36,142,0.16), transparent 70%), #0d0d0d; border: 1px solid rgba(255,36,142,0.25); }
.gd-cta h2 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 14px; }
.gd-cta p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 28px; }
.gd-cta .gd-cta-alt { font-size: 14px; margin: 22px auto 0; }
.gd-btn {
	display: inline-flex; align-items: center; gap: 10px;
	background: linear-gradient(135deg,#FF248E,#d4006e); color: #fff !important;
	font-size: 15px; font-weight: 700; padding: 18px 34px; border-radius: 50px;
	text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em;
	box-shadow: 0 6px 32px rgba(255,36,142,0.4); transition: transform 300ms, box-shadow 300ms;
}
.gd-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,36,142,0.55); }
.gd-btn i { font-size: 20px; }

/* Rodapé e WhatsApp (iguais às páginas de serviço) */
.lp-footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0; text-align: center; }
.lp-footer img { height: 32px; margin-bottom: 16px; }
.lp-footer p { font-size: 13px; color: rgba(255,255,255,0.25); margin: 0; }
.lp-footer a { color: rgba(255,255,255,0.4); text-decoration: none; margin: 0 12px; font-size: 13px; }
.lp-footer a:hover { color: #FF248E; }
.lp-float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform 300ms; }
.lp-float-wa:hover { transform: scale(1.1); }
.lp-float-wa i { font-size: 28px; color: #fff; }

@media (max-width: 768px) {
	.gd { padding-top: 76px; }
	.gd-wrap, .gd-cover { padding: 0 16px; }
	.gd-hero { padding-top: 28px; }
	.gd-hero h1 { font-size: clamp(28px, 8vw, 36px); }
	.gd-lede { font-size: 17px; }
	.gd-cover { margin-top: 28px; }
	.gd-cover img { border-radius: 14px; }
	.gd-answer, .gd-keys, .gd-toc { padding: 22px 20px; }
	.gd-answer p { font-size: 17px; }
	.gd-body h2 { font-size: 26px; margin-top: 52px; }
	.gd-body h3 { font-size: 20px; }
	.gd-body p, .gd-body li { font-size: 16px; }
	.gd-cols, .gd-cases { grid-template-columns: 1fr; }
	.gd-price-value { font-size: 30px !important; }
	.gd-cta { padding: 34px 20px; }
	.gd-cta h2 { font-size: 26px; }
	.gd-btn { width: 100%; justify-content: center; padding: 16px 20px; }
	.lp-float-wa { width: 52px; height: 52px; bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px)); right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.gd-btn, .lp-float-wa, .gd-faq summary::after { transition: none; }
}
