/* =====================================================================
   Institucional v2 (rodada 12, 04/11/2026). Estrutura inspirada em página
   executiva de programa (título à esquerda e retrato à direita, dobras
   alternando escuro e claro, método em abas, chamada final com ficha).
   Paleta terrosa de marca.json, Inter, sem gradiente, sem sombra.
   ===================================================================== */
:root {
  --gx-cafe: var(--fundo); --gx-esp: var(--plano); --gx-plane: var(--plano-1); --gx-terra: var(--apoio);
  --gx-car: var(--destaque); --gx-areia: var(--claro); --gx-soft: var(--claro-3); --gx-papel: var(--claro);
  --gx-card: var(--claro-10); --gx-graf: var(--apoio-1);
}
.gx-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.gx-sec { padding: clamp(80px, 8.5vw, 124px) 0; }
.gx-dark { background: var(--gx-cafe); color: var(--gx-areia); }
.gx-light { background: var(--gx-papel); color: var(--gx-cafe); }
.gx-h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.06; margin: 0; max-width: 18ch; text-wrap: balance; }
.gx-lead { font-size: 18px; line-height: 1.6; margin: 22px 0 0; max-width: 56ch; }
.gx-dark .gx-lead, .gx-dark p { color: var(--gx-soft); }
.gx-light .gx-lead, .gx-light p { color: var(--gx-graf); }
.gx-head { margin-bottom: clamp(48px, 6vw, 80px); }
.gx-ac { color: var(--gx-car); }
.gx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* botões */
.gx-btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s, background-color .2s; }
.gx-btn:hover { transform: translateY(-2px); }
.gx-btn:active { transform: translateY(0); }
.gx-btn:focus-visible, .gx-way:focus-visible, .gx-tabs button:focus-visible { outline: 2px solid var(--gx-car); outline-offset: 4px; }
.gx-btn--ac { background: var(--gx-car); color: var(--gx-cafe); }
.gx-btn--ac:hover { background: var(--destaque-2); }
.gx-dark .gx-btn--soft { background: var(--gx-esp); color: var(--gx-areia); }
.gx-dark .gx-btn--soft:hover { background: var(--plano-13); }
.gx-light .gx-btn--soft { background: var(--claro-5); color: var(--gx-cafe); }
.gx-btn--full { width: 100%; justify-content: center; }
.gx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* 1. abertura */
.gx-hero { position: relative; background: var(--gx-cafe); color: var(--gx-areia); padding: 128px 0 0; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
.gx-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.gx-hero__grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.gx-hero__copy { padding-bottom: 72px; }
.gx-hero__t { font-size: clamp(38px, 3.9vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; margin: 0; max-width: none; color: var(--gx-areia); text-wrap: balance; }
.gx-hero__p { font-size: 19px; line-height: 1.6; color: var(--gx-soft); margin: 28px 0 0; max-width: 46ch; }
.gx-hero__media { position: relative; align-self: end; display: flex; justify-content: center; }
.gx-hero__media img { position: relative; width: min(100%, 470px); height: auto; display: block; }
.gx-hero__disc { position: absolute; width: min(92%, 460px); aspect-ratio: 1; border-radius: 50%; background: var(--gx-esp); bottom: 12%; left: 50%; transform: translateX(-50%); }
.gx-strip { position: relative; list-style: none; margin: 0; padding: 26px 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--gx-cafe); }
.gx-strip li { display: flex; align-items: baseline; gap: 12px; }
.gx-strip b { font-size: 22px; font-weight: 600; color: var(--gx-car); letter-spacing: -0.02em; }
.gx-strip span { font-size: 16px; color: var(--gx-soft); }

/* 2. momentos */
.gx-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gx-tile { background: var(--gx-card); border-radius: 20px; padding: 34px 30px 36px; transition: transform .25s, background-color .25s; }
.gx-tile:hover { transform: translateY(-3px); background: #fff; }
.gx-tile h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--gx-cafe); }
.gx-tile p { font-size: 16.5px; line-height: 1.6; margin: 0; }

/* 3. quem sou */
.gx-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.gx-about__photo { margin: 0; border-radius: 24px; overflow: hidden; background: var(--fundo-1); aspect-ratio: 4 / 5; }
.gx-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.gx-about__copy p { font-size: 18px; line-height: 1.65; margin: 22px 0 0; max-width: 58ch; }
.gx-about .gx-h2 { max-width: 20ch; }
.gx-stats { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gx-stats li { background: var(--gx-plane); border-radius: 16px; padding: 22px 18px; }
.gx-stats b { display: block; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.04em; color: var(--gx-areia); white-space: nowrap; }
.gx-stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--gx-soft); }

/* 4. método em abas */
.gx-tabs { display: grid; grid-template-columns: 300px 1fr; background: var(--gx-cafe); border-radius: 28px; overflow: hidden; color: var(--gx-areia); }
.gx-tabs__list { display: flex; flex-direction: column; padding: 18px; gap: 6px; background: var(--gx-plane); }
.gx-tabs button { all: unset; cursor: pointer; padding: 22px 22px; border-radius: 14px; font-size: 20px; font-weight: 500; color: var(--gx-soft); transition: background-color .2s, color .2s; }
.gx-tabs button:hover { color: var(--gx-areia); }
.gx-tabs button[aria-selected="true"] { background: var(--gx-esp); color: var(--gx-areia); }
.gx-tabs__panels { padding: clamp(36px, 5vw, 64px); min-height: 340px; }
.gx-panel h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; margin: 0; color: var(--gx-car); }
.gx-panel p { font-size: 18px; line-height: 1.65; color: var(--gx-soft) !important; margin: 20px 0 0; max-width: 56ch; }
.gx-panel ul { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gx-panel li { background: var(--gx-esp); color: var(--gx-areia); border-radius: 999px; padding: 10px 18px; font-size: 15px; }

/* 5. formas de trabalhar */
.gx-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.gx-split__aside { position: sticky; top: 120px; }
.gx-split__aside .gx-btn { margin-top: 34px; }
.gx-ways { display: grid; gap: 16px; }
.gx-way { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; background: var(--gx-plane); border-radius: 22px; padding: 16px 28px 16px 16px; color: var(--gx-areia); text-decoration: none; transition: background-color .25s, transform .25s; }
.gx-way:hover { background: var(--plano-7); transform: translateX(4px); }
.gx-way img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.gx-way h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.gx-way p { font-size: 16.5px; line-height: 1.55; margin: 10px 0 0; }
.gx-way .gx-way__who { color: var(--gx-car) !important; font-size: 15px; margin-top: 6px; }
.gx-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--gx-areia); }

/* 6. comparativo */
.gx-table { overflow-x: auto; border-radius: 22px; background: var(--gx-card); }
.gx-table table { width: 100%; border-collapse: collapse; min-width: 860px; }
.gx-table th, .gx-table td { text-align: left; padding: 22px 24px; font-size: 16px; line-height: 1.5; vertical-align: top; }
.gx-table thead th { font-size: 18px; font-weight: 600; color: var(--gx-cafe); background: var(--claro-6); }
.gx-table tbody th { font-weight: 600; color: var(--gx-terra); width: 16%; }
.gx-table td { color: var(--gx-graf); }
.gx-table tbody tr:nth-child(even) { background: var(--claro-8); }

/* 7. chamada com ficha */
.gx-cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.gx-cta .gx-h2 { max-width: 16ch; }
.gx-card { background: var(--gx-plane); border-radius: 26px; padding: 36px; }
.gx-card h3 { font-size: 24px; font-weight: 600; margin: 0 0 22px; color: var(--gx-areia); }
.gx-card dl { margin: 0 0 30px; display: grid; gap: 4px; }
.gx-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; }
.gx-card dt { color: var(--gx-car); font-size: 15px; }
.gx-card dd { margin: 0; color: var(--gx-areia); font-size: 16px; }

/* barra fixa de chamada */
.gx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--gx-esp); color: var(--gx-areia); transform: translateY(110%); transition: transform .35s; }
.gx-bar.on { transform: none; }
.gx-bar .gx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.gx-bar p { margin: 0; font-size: 17px; font-weight: 500; }
.gx-bar .gx-btn { padding: 13px 22px; font-size: 15px; }

/* entrada suave (só para quem aceita movimento) */
@media (prefers-reduced-motion: no-preference) {
  .gx-js .gx-in { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .gx-js .gx-in.vis { opacity: 1; transform: none; }
}

/* celular e tablet */
@media (max-width: 960px) {
  .gx-hero { padding-top: 110px; min-height: 0; }
  .gx-hero__grid, .gx-about, .gx-split, .gx-cta__grid { grid-template-columns: 1fr; }
  .gx-hero__copy { padding-bottom: 8px; }
  .gx-hero__media img { width: min(78%, 360px); }
  .gx-split__aside { position: static; }
  .gx-grid3 { grid-template-columns: 1fr 1fr; }
  .gx-stats { grid-template-columns: 1fr 1fr; }
  .gx-tabs { grid-template-columns: 1fr; }
  .gx-tabs__list { flex-direction: row; overflow-x: auto; }
  .gx-tabs button { padding: 14px 18px; font-size: 17px; white-space: nowrap; }
  .gx-about__photo { max-width: 460px; }
}
@media (max-width: 600px) {
  .gx-wrap { width: calc(100% - 40px); }
  .gx-hero__t { font-size: 31px; }
  .gx-hero__p { font-size: 17px; }
  .gx-h2 { font-size: 30px; }
  .gx-grid3 { grid-template-columns: 1fr; }
  .gx-strip { grid-template-columns: 1fr; gap: 6px; padding: 20px 0 24px; }
  .gx-way { grid-template-columns: 1fr; padding: 14px 14px 22px; gap: 18px; }
  .gx-way img { aspect-ratio: 16 / 9; }
  .gx-way > div { padding: 0 8px; }
  .gx-bar p { display: none; }
  .gx-bar .gx-wrap { justify-content: center; }
  .gx-bar .gx-btn { width: 100%; justify-content: center; }
  .gx-actions .gx-btn { width: 100%; justify-content: center; }
}
