/* =====================================================================
   RGS · Página do Gêmeo Digital da Operação (/gemeo/)
   Usa a base do site (rgs-site.<build>.css: tokens, cabeçalho, botões, seções, rodapé, bandeiras)
   e acrescenta só os componentes próprios desta página (prefixo gd-).
   ===================================================================== */

/* ---------- abertura ---------- */
.gd-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.gd-hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 55% at 78% 48%, rgba(0,163,255,.14), transparent 70%),
  radial-gradient(ellipse 45% 50% at 12% 80%, rgba(123,92,255,.10), transparent 70%); }
.gd-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .95fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.gd-hero-title { font-family: var(--brand-font); font-weight: 800; font-size: clamp(2.5rem, 3.95vw, 4.3rem); line-height: 1.06; letter-spacing: -.02em; }
.gd-hero-title span { display: block; white-space: nowrap; }
.gd-hero-title em { font-style: normal; background-clip: text; -webkit-background-clip: text; color: transparent; }
.gd-hero-title .c1 { background-image: linear-gradient(100deg, var(--blue), var(--cyan)); }
.gd-hero-title .c2 { background-image: linear-gradient(100deg, var(--cyan), var(--violet)); }
.gd-gold, .gd-punch { font-family: var(--serif); font-style: italic; font-weight: 600; background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, #9C7420); background-clip: text; -webkit-background-clip: text; color: transparent; }
.gd-hero-title .gd-gold { font-size: 1.22em; line-height: 1.05; letter-spacing: -.01em; padding-bottom: .06em; }
.gd-hero-text { max-width: 560px; margin-top: 30px; color: var(--muted-light); font-size: 1.06rem; line-height: 1.8; font-weight: 400; }
.gd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* planta viva */
.gd-twin { position: relative; aspect-ratio: 1.12 / 1; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #0D1522 0%, #080B11 62%, #070A10 100%); box-shadow: var(--shadow); }
.gd-twin::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 48%, #000 30%, transparent 80%); }
.gd-twin canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gd-twin-tabs { position: absolute; top: 18px; left: 18px; display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8,12,18,.72); backdrop-filter: blur(8px); }
.gd-twin-tabs span { padding: 7px 13px; border-radius: 999px; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transition: background .4s, color .4s; }
.gd-twin-tabs span.on { background: rgba(0,212,255,.14); color: var(--ink); }
.gd-twin-legend { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 16px; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.gd-twin-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.gd-twin-legend .ok { background: #35D49A; } .gd-twin-legend .warn { background: #FAB219; } .gd-twin-legend .crit { background: #FF6B6B; }
.gd-twin figcaption { position: absolute; right: 18px; bottom: 16px; color: #5E6B78; font-size: .56rem; letter-spacing: .1em; }

/* ---------- blocos comuns ---------- */
.gd-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.gd-note { margin-top: 26px; color: #6F7C8B; font-size: .82rem; line-height: 1.7; }

/* ---------- 01 · ponto cego ---------- */
.gd-pain-list { list-style: none; margin-top: 38px; border-top: 1px solid var(--line); }
.gd-pain-list li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gd-pain-list b { font-family: var(--brand-font); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.gd-pain-list span { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.gd-punch { display: inline-block; margin-top: 40px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.1; }

/* ---------- 02 · método ---------- */
.gd-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.gd-step { position: relative; padding: 42px 36px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); overflow: hidden; }
.gd-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cyan); }
.gd-step[data-step="2"]::before { background: var(--violet); }
.gd-step[data-step="3"]::before { background: var(--gold); }
.gd-step-tag { font-family: var(--brand-font); font-style: italic; font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; color: var(--cyan); }
.gd-step[data-step="2"] .gd-step-tag { color: #9A84FF; }
.gd-step[data-step="3"] .gd-step-tag { color: var(--gold); }
.gd-step h3 { margin-top: 18px; font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1.05; }
.gd-step ul { list-style: none; margin-top: 24px; }
.gd-step li { position: relative; padding: 11px 0 11px 22px; color: var(--muted-light); font-size: .94rem; line-height: 1.55; border-top: 1px solid var(--line); }
.gd-step li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* ---------- filme ---------- */
.gd-film-head { display: flex; flex-direction: column; }
.gd-film-frame { margin-top: 56px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.45); background: #06090d; aspect-ratio: 16 / 9; }
.gd-film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #06090d; }

/* ---------- 03 · implantação ---------- */
.gd-timeline { list-style: none; position: relative; }
.gd-timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--cyan), var(--violet), var(--gold)); opacity: .5; }
.gd-timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 34px; }
.gd-timeline li > span { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #0E141D; border: 1px solid rgba(0,212,255,.35); color: var(--cyan); font-family: var(--brand-font); font-weight: 800; font-size: .95rem; }
.gd-timeline h3 { font-family: var(--brand-font); font-size: 1.15rem; font-weight: 700; padding-top: 4px; }
.gd-timeline p { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ---------- 04 · caixa de soluções ---------- */
.gd-box-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; margin-top: 70px; }
.gd-box-card { padding: 44px 40px; border: 1px solid rgba(0,212,255,.28); border-radius: var(--radius); background: linear-gradient(160deg, rgba(0,163,255,.08), rgba(10,13,18,.2)); }
.gd-box-custom { border-color: rgba(212,175,55,.38); background: linear-gradient(160deg, rgba(212,175,55,.09), rgba(10,13,18,.2)); }
.gd-box-tag { color: var(--cyan); font-size: .62rem; font-weight: 800; letter-spacing: .3em; }
.gd-box-custom .gd-box-tag { color: var(--gold); }
.gd-box-card h3 { margin-top: 18px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1.05; }
.gd-box-card p:last-child { margin-top: 18px; color: var(--muted-light); font-size: 1rem; line-height: 1.8; }
.gd-box-plus { align-self: center; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); font-family: var(--brand-font); font-size: 1.6rem; font-weight: 700; }
.gd-box-line { margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--muted-light); text-align: center; }

/* ---------- 05 · verticais ---------- */
.gd-vert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.gd-vert { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.02); }
.gd-vert canvas { display: block; width: 100%; height: 250px; background: radial-gradient(ellipse at 50% 45%, #0D1522, #080B11 70%); border-bottom: 1px solid var(--line); }
.gd-vert h3 { padding: 28px 32px 0; font-family: var(--brand-font); font-size: 1.4rem; font-weight: 800; }
.gd-vert p { padding: 12px 32px 34px; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.gd-any { margin-top: 56px; padding: 36px 40px; border: 1px dashed rgba(212,175,55,.4); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.gd-any p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.1rem); color: var(--gold-light); }
.gd-any ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-any li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-light); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 06 · perguntas ---------- */
.gd-faq-list details { border-bottom: 1px solid var(--line); }
.gd-faq-list details:first-child { border-top: 1px solid var(--line); }
.gd-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--brand-font); font-size: 1.12rem; font-weight: 700; }
.gd-faq-list summary::-webkit-details-marker { display: none; }
.gd-faq-list summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.gd-faq-list details[open] summary::after { transform: rotate(45deg); }
.gd-faq-list details p { padding: 0 40px 26px 0; color: var(--muted-light); font-size: .98rem; line-height: 1.8; }

/* ---------- contato ---------- */
.gd-cta .section-intro { margin-top: 30px; }
.gd-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.gd-cta-actions .button-ghost { text-transform: none; letter-spacing: .04em; font-size: .78rem; }
.gd-contact-line { margin-top: 30px; color: var(--muted-light); font-size: .9rem; }
.gd-contact-line span { margin-right: 12px; color: var(--muted); font-size: .58rem; letter-spacing: .26em; }

/* ---------- responsivo ---------- */
@media (max-width: 1120px) {
  .gd-hero { min-height: 0; padding-top: 130px; }
  .gd-hero-grid, .gd-split { grid-template-columns: 1fr; }
  .gd-twin { max-width: 760px; }
  .gd-method-grid, .gd-vert-grid { grid-template-columns: 1fr; }
  .gd-box-grid { grid-template-columns: 1fr; }
  .gd-box-plus { justify-self: center; }
}
@media (max-width: 560px) {
  .gd-hero-title { font-size: clamp(2rem, 9.6vw, 2.7rem); }
  .gd-pain-list li { grid-template-columns: 1fr; gap: 6px; }
  .gd-step { padding: 34px 26px; }
  .gd-box-card { padding: 34px 26px; }
  .gd-any { padding: 28px 24px; }
  .gd-twin-tabs span { padding: 6px 9px; letter-spacing: .1em; }
  .gd-twin-legend { gap: 10px; }
  .gd-faq-list details p { padding-right: 0; }
}
