/* ============================================================
   ALLIANCE — Páginas internas (pilar / serviço)
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.in-hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; padding: clamp(52px,8vw,92px) 0; }
.in-hero .chev { position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 40 L30 20 L60 40" fill="none" stroke="%23ffffff" stroke-width="1.5"/></svg>'); background-size: 60px 60px; }
.in-hero .wrap { position: relative; }
.in-back { display: inline-block; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 24px; }
.in-back:hover { color: #fff; }
.in-hero-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.in-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-family: var(--corpo-f); margin-bottom: 14px; }
.in-eyebrow.light { color: rgba(255,255,255,.82); }
.in-hero h1 { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(30px,5vw,52px); line-height: 1.06; max-width: 16em; }
.in-hero p { color: rgba(255,255,255,.9); font-size: clamp(16px,1.7vw,19px); line-height: 1.6; max-width: 600px; margin-top: 18px; }
.in-hero .btn { margin-top: 28px; }
.in-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.in-hero-ctas .btn { margin-top: 0; }

/* ── Blocos ─────────────────────────────────────────────── */
.in-block { padding: clamp(48px,7vw,80px) 0; }
.in-papel { background: var(--papel); }
/* FAQ: espaçamento mais enxuto antes e (sobretudo) depois da sanfona */
.in-faq-block { padding-top: clamp(20px,3vw,32px); padding-bottom: clamp(20px,3vw,32px); }
.in-block:has(+ .in-faq-block) { padding-bottom: clamp(28px,4vw,44px); }
.in-faq-block + .in-block { padding-top: clamp(28px,4vw,44px); }
.in-narrow { max-width: 760px; }
.in-h2 { font-family: var(--display); font-weight: 700; color: var(--titulo); font-size: clamp(24px,3.2vw,34px); line-height: 1.12; margin-bottom: 28px; }
.in-h3 { font-family: var(--display); font-weight: 700; color: var(--titulo); font-size: 18px; margin: 30px 0 14px; }
.in-lead { font-size: 16px; color: var(--corpo); line-height: 1.7; }
.in-lead + .in-lead { margin-top: 16px; }
.in-inclui, .in-difs { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.in-inclui li, .in-difs li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--corpo); line-height: 1.5; }
.in-inclui li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--teal); font-weight: 700; }
.in-difs li::before { content: '→'; position: absolute; left: 0; color: var(--azul); font-weight: 700; }

/* ── Cards de serviço ───────────────────────────────────── */
.in-serv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.in-serv-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 24px; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.in-serv-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 40px rgba(20,35,90,.1); }
.in-serv-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--titulo); }
.in-serv-card p { font-size: 14px; color: var(--corpo); line-height: 1.55; flex: 1; }
.in-serv-link { font-size: 13.5px; font-weight: 700; color: var(--teal); margin-top: 6px; }

/* ── Cards de pilar ─────────────────────────────────────── */
.in-pil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.in-pil-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 20px 22px; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.in-pil-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 36px rgba(20,35,90,.1); }
.in-pil-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.in-pil-card strong { display: block; font-family: var(--display); font-size: 16px; color: var(--titulo); }
.in-pil-card span { font-size: 13px; color: var(--corpo); line-height: 1.45; }

/* ── FAQ (sanfona) ──────────────────────────────────────── */
.in-faq-list { display: flex; flex-direction: column; gap: 4px; }
.in-faq-item { background: #fff; border: 1px solid var(--borda); border-radius: 9px; overflow: hidden; }
.in-faq-item summary { list-style: none; cursor: pointer; padding: 4px 16px; font-weight: 600; color: var(--titulo); font-size: 13px; line-height: 1.25; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.in-faq-item summary::-webkit-details-marker { display: none; }
.in-faq-item summary:hover { color: var(--azul); }
.in-faq-ic { font-family: var(--display); font-weight: 700; color: var(--teal); font-size: 16px; flex-shrink: 0; transition: transform .25s; }
.in-faq-item[open] .in-faq-ic { transform: rotate(45deg); }
.in-faq-item p { padding: 0 15px 13px; font-size: 13px; color: var(--corpo); line-height: 1.55; }
.in-allpilar { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--azul); text-decoration: none; }
.in-allpilar:hover { text-decoration: underline; }

/* ── Portfólio (strip) ──────────────────────────────────── */
.port-strip { padding: clamp(48px,7vw,80px) 0 clamp(28px,4vw,44px); border-top: 1px solid var(--borda); }
.port-strip-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.port-strip-card { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; text-decoration: none; }
.port-strip-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.port-strip-card:hover .port-strip-bg { transform: scale(1.07); }
.port-strip-tint { position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply; }
.port-strip-over { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.port-strip-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.port-strip-over h3 { font-family: var(--display); font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }

/* ── CTA de contato (página interna) ────────────────────── */
.in-cta-sec { padding: clamp(20px,3vw,32px) 0 clamp(40px,6vw,76px); }
.in-cta-card { position: relative; overflow: hidden; border-radius: 28px; background: var(--grad); padding: clamp(32px,5vw,60px); }
.in-cta-card .chev { position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 40 L30 20 L60 40" fill="none" stroke="%23ffffff" stroke-width="1.5"/></svg>'); background-size: 60px 60px; }
.in-cta-inner { position: relative; max-width: 660px; }
.in-cta-pre { color: rgba(255,255,255,.82); font-family: var(--display); font-weight: 600; font-size: clamp(18px,2.6vw,24px); line-height: 1.1; }
.in-cta-h2 { color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(28px,4.6vw,46px); line-height: 1.04; margin-top: 2px; }
.in-cta-p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.6; margin-top: 16px; max-width: 540px; }
.in-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.in-cta-wpp { font-size: 14px; padding: 11px 22px; }
.in-cta-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; }
.in-cta-info a, .in-cta-info span { color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.in-cta-info a:hover { color: #fff; text-decoration: underline; }

/* ── Página institucional (Agência) ─────────────────────── */
.in-eyebrow:not(.light) { color: var(--teal); }
.in-destaque { font-family: var(--display); font-weight: 600; color: var(--titulo); font-size: clamp(19px,2.4vw,26px); line-height: 1.4; max-width: 900px; }
.in-corpo { margin-top: 22px; display: grid; gap: 16px; max-width: 900px; }
.in-fecho { font-family: var(--display); font-weight: 700; color: var(--titulo); font-size: clamp(18px,2vw,22px); line-height: 1.4; margin-top: 28px; max-width: 900px; }
.in-sub { font-size: 16px; color: var(--corpo); line-height: 1.6; margin: 0; max-width: 720px; }
.in-head { margin-bottom: 32px; }
.in-head .in-eyebrow { margin-bottom: 12px; }
.in-head .in-h2 { margin-bottom: 8px; }

/* Página legal (Política de Privacidade) */
.in-legal { max-width: 820px; }
.in-legal > p { font-size: 15.5px; color: var(--corpo); line-height: 1.75; margin-bottom: 14px; }
.in-legal h3 { font-family: var(--display); font-weight: 700; color: var(--titulo); font-size: 19px; margin: 36px 0 12px; }
.in-legal h3:first-of-type { margin-top: 10px; }
.in-legal ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 16px; }
.in-legal li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--corpo); line-height: 1.6; }
.in-legal li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.in-legal a { color: var(--azul); font-weight: 500; }
.in-legal a:hover { text-decoration: underline; }

/* missão · visão · valores */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvv-card { background: #fff; border: 1px solid var(--borda); border-radius: 20px; padding: 34px 26px; text-align: center; }
.mvv-ic { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 16px; background: rgba(87,190,182,.12); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.mvv-card h3 { font-family: var(--display); font-weight: 700; color: var(--titulo); font-size: 20px; margin-bottom: 12px; }
.mvv-card p { font-size: 14.5px; color: var(--corpo); line-height: 1.6; }
.mvv-list { list-style: none; display: grid; gap: 9px; text-align: center; }
.mvv-list li { font-size: 14.5px; color: var(--corpo); line-height: 1.45; }
/* MVV em fundo escuro (destaque) */
.in-mvv { position: relative; overflow: hidden; background: linear-gradient(135deg, #2E4A9E 0%, #1B2C5E 100%); }
.in-mvv::before { content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 40 L30 20 L60 40" fill="none" stroke="%23ffffff" stroke-width="1.5"/></svg>'); background-size: 60px 60px; }
.in-mvv .wrap { position: relative; }
.in-mvv .in-eyebrow { color: var(--teal); }
.in-mvv .in-h2 { color: #fff; }
.in-mvv .mvv-card { border-color: transparent; box-shadow: 0 18px 44px rgba(13,22,55,.30); }

/* aniversário 16 anos */
.in-aniv { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(56px,8vw,92px) 0; text-align: left; }
.in-aniv .chev { position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 40 L30 20 L60 40" fill="none" stroke="%23ffffff" stroke-width="1.5"/></svg>'); background-size: 60px 60px; }
.in-aniv .wrap { position: relative; }
.in-aniv-num { font-family: var(--display); font-weight: 700; font-size: clamp(66px,12vw,118px); line-height: .9; letter-spacing: -.02em; }
.in-aniv-num span { display: block; font-size: clamp(15px,2vw,19px); font-weight: 600; letter-spacing: .4em; text-transform: uppercase; margin-top: 8px; padding-left: .1em; }
.in-aniv-img { height: clamp(104px,15vw,150px); width: auto; display: block; margin-bottom: 4px; }
.in-aniv p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; margin-top: 18px; }
.in-aniv-close { font-family: var(--display); font-weight: 700; color: #fff !important; font-size: 18px; margin-top: 32px !important; }

/* compliance */
.comp-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.comp-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--azul); color: #fff; font-weight: 600; font-size: 14px; padding: 13px 22px; border-radius: 12px; text-decoration: none; transition: background .2s, transform .2s; }
.comp-btn:hover { background: var(--azul-esc); transform: translateY(-2px); }
.comp-btn svg { flex-shrink: 0; }

/* ── Tablet ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .in-block { padding: clamp(40px,8vw,60px) 0; }
}

/* ── Celular ────────────────────────────────────────────── */
@media (max-width: 560px) {
  .in-hero { padding: 48px 0; }
  .in-hero h1 { max-width: none; }
  .port-strip-row { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .in-cta-card { border-radius: 20px; padding: 30px 22px; }
  /* FAQ: alvo de toque maior no celular */
  .in-faq-item summary { min-height: 44px; padding: 10px 16px; }
  .in-faq-item p { font-size: 13.5px; }
  /* CTAs e botões em largura cheia (mais fáceis de tocar) */
  .in-hero-ctas, .in-cta-btns, .comp-btns { flex-direction: column; align-items: stretch; }
  .in-hero-ctas .btn, .in-cta-btns .btn, .comp-btns .comp-btn { width: 100%; justify-content: center; }
  .in-cta-info { flex-direction: column; align-items: flex-start; gap: 9px; }
}
