/* ============================================================
   DOMINIO - Página de apoio comercial aos planos BRASCAST
   ============================================================ */

/* ============ SEÇÃO 1: HERO ============ */
.dm-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 70px) 0 84px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.dm-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.dm-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.dm-blob-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(23,141,114,.22) 0%, rgba(23,141,114,.08) 35%, transparent 70%); top: -230px; right: -190px; }
.dm-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(42,173,142,.16) 0%, rgba(42,173,142,.06) 40%, transparent 70%); top: 30%; left: -210px; }
.dm-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.dm-hero-inner h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); margin: 0 0 16px; text-wrap: balance; }
.dm-hero-inner .sub { font-size: 18px; color: var(--text-muted); line-height: 1.45; margin: 0 auto 32px; max-width: 720px; text-wrap: pretty; }

/* Lista de beneficios com check */
.dm-hero-benefits { list-style: none; padding: 0; margin: 0 auto 36px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; max-width: 720px; }
.dm-hero-benefits li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); font-weight: 600; }
.dm-hero-benefit-check { width: 22px; height: 22px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dm-hero-benefit-check svg { width: 12px; height: 12px; }

.dm-hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============ SEÇÃO 2: POR QUE TER DOMÍNIO ============ */
.dm-why-radio { padding: 96px 0; background: var(--bg); }
.dm-why-radio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dm-why-radio-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 28px 24px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dm-why-radio-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 24px rgba(23,141,114,.1); }
.dm-why-radio-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.dm-why-radio-icon svg { width: 22px; height: 22px; }
.dm-why-radio-card h3 { font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 8px; letter-spacing: -.005em; }
.dm-why-radio-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ============ SEÇÃO 3: EXEMPLOS REAIS (browser bars) ============ */
.dm-examples { padding: 96px 0; background: var(--bg-soft); }
.dm-examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.dm-example { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dm-example:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 10px 28px rgba(23,141,114,.12); }
.dm-example-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.dm-example-dots { display: inline-flex; gap: 6px; }
.dm-example-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #e0e8e5; }
.dm-example-dots i:first-child { background: #ff6058; }
.dm-example-dots i:nth-child(2) { background: #ffbe2f; }
.dm-example-dots i:nth-child(3) { background: #2bc940; }
.dm-example-lock { color: var(--green); display: flex; align-items: center; }
.dm-example-lock svg { width: 14px; height: 14px; }
.dm-example-url { padding: 22px 24px; font-family: monospace; font-size: clamp(15px, 1.8vw, 19px); font-weight: 700; letter-spacing: -.01em; word-break: break-all; line-height: 1.3; }
.dm-example-protocol { color: var(--text-muted); opacity: .55; }
.dm-example-www { color: var(--text-muted); opacity: .75; }
.dm-example-name { color: var(--text); }
.dm-example-tld { color: var(--green-dark); }

/* ============ SEÇÃO 4: NÓS CUIDAMOS DE TUDO ============ */
.dm-care { padding: 96px 0; background: var(--bg); }
.dm-care-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dm-care-card { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border: 1.5px solid var(--border); border-radius: 16px; padding: 28px 22px; text-align: center; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dm-care-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 24px rgba(23,141,114,.1); }
.dm-care-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.dm-care-icon svg { width: 22px; height: 22px; }
.dm-care-card h3 { font-size: 15.5px; font-weight: 800; color: var(--text); margin: 0 0 8px; letter-spacing: -.005em; }
.dm-care-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ============ SEÇÃO 5: FLUXO DE INTEGRAÇÃO (hub-spoke) ============ */
.dm-flow { padding: 96px 0; background: var(--bg-soft); }
.dm-flow-hub { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 26px; max-width: 860px; margin: 0 auto; aspect-ratio: 1.15; }

/* Linhas SVG conectando centro aos satélites (passam por trás dos cards) */
.dm-flow-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.dm-flow-hub-lines line { stroke: var(--green-mid); stroke-width: 2; stroke-dasharray: 6 6; opacity: .55; vector-effect: non-scaling-stroke; }

/* Card central (Domínio) - destaque com gradiente verde */
.dm-flow-hub-center { position: relative; z-index: 1; grid-area: 2 / 2; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: 18px; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; box-shadow: 0 12px 32px rgba(23,141,114,.3); }
.dm-flow-hub-center .dm-flow-hub-icon { background: rgba(255,255,255,.18); color: #fff; width: 52px; height: 52px; }
.dm-flow-hub-center strong { font-size: 18px; font-weight: 800; letter-spacing: -.005em; }
.dm-flow-hub-center .dm-flow-hub-desc { font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.4; }

/* Cards satelites */
.dm-flow-hub-node { position: relative; z-index: 1; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dm-flow-hub-node:hover { transform: scale(1.04); border-color: var(--green); box-shadow: 0 10px 28px rgba(23,141,114,.15); }
.dm-flow-hub-node strong { font-size: 14.5px; font-weight: 800; color: var(--text); letter-spacing: -.005em; }
.dm-flow-hub-node .dm-flow-hub-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.dm-flow-hub-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dm-flow-hub-icon svg { width: 22px; height: 22px; }

/* Posicionamento em cruz (3x3 grid, centro na celula central, satelites em N/E/S/W) */
.dm-flow-hub-node--top    { grid-area: 1 / 2; }
.dm-flow-hub-node--right  { grid-area: 2 / 3; }
.dm-flow-hub-node--bottom { grid-area: 3 / 2; }
.dm-flow-hub-node--left   { grid-area: 2 / 1; }

/* ============ SEÇÃO 6: FAQ ============ */
.dm-faq { padding: 96px 0; background: var(--bg); }
.dm-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.dm-faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.dm-faq-item:hover { border-color: var(--green-mid); }
.dm-faq-item[open] { border-color: var(--green); box-shadow: 0 4px 14px rgba(23,141,114,.08); }
.dm-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--text); list-style: none; transition: color .15s; position: relative; }
.dm-faq-item summary::-webkit-details-marker { display: none; }
.dm-faq-item summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green-light); color: var(--green); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s, color .2s; }
.dm-faq-item[open] summary { color: var(--green-dark); }
.dm-faq-item[open] summary::after { background: var(--green); color: #fff; transform: rotate(45deg); }
.dm-faq-item p { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ============ SEÇÃO 7: CTA FINAL ============ */
.cta-support { display: block; margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.8); font-weight: 500; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .dm-why-radio-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-examples-grid { grid-template-columns: 1fr; max-width: 540px; }
  .dm-care-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .dm-hero { padding: calc(var(--nav-h) + 35px) 0 60px; }
  .dm-why-radio, .dm-examples, .dm-care, .dm-flow, .dm-faq { padding: 64px 0; }
  .dm-hero-benefits { gap: 10px 18px; }
  .dm-hero-benefits li { font-size: 14px; }
  .dm-why-radio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dm-care-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-example-url { padding: 18px 18px; font-size: 14px; }
  .dm-faq-item summary { padding: 16px 18px; font-size: 14.5px; }
  .dm-faq-item p { padding: 0 18px 18px; }
  /* Flow vira stack vertical no mobile */
  .dm-flow-hub { display: flex; flex-direction: column; aspect-ratio: auto; max-width: 380px; gap: 12px; }
  .dm-flow-hub-lines { display: none; }
  .dm-flow-hub-node { padding: 18px 18px; }
  .dm-flow-hub-center { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .dm-hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .dm-hero-cta .btn { justify-content: center; }
  .dm-why-radio-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .dm-care-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
