/* gustavo.g2d.com.br — estilos compartilhados (PT e EN). Sem build: edite aqui direto. */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-var.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --accent: #047857;        /* emerald-700: contraste AA sobre branco */
  --accent-2: #10b981;
  --accent-soft: #ecfdf5;
  --sky: #0ea5e9;
  --dark: #0b1220;
  --radius: 18px;
  --max: 1120px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Syne", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--dark); color: #cbd5e1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section.dark .eyebrow { color: #6ee7b7; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 680px; }
.section.dark .lead { color: #cbd5e1; }
.head { margin-bottom: 44px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; }
.nav .btn { padding: 9px 18px; font-size: .9rem; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: #128c3e; color: #fff; }
.btn-wa:hover { background: #0d6e30; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 80% -10%, rgba(14,165,233,.13), transparent 70%),
    radial-gradient(ellipse 55% 50% at -5% 100%, rgba(16,185,129,.12), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero .name { font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.hero h1 .soft { color: #94a3b8; }
.hero .lead { margin: 22px 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; justify-self: center; width: min(380px, 80vw); }
.hero-photo img { border-radius: 50%; width: 100%; }
.hero-photo .tag { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: .85rem; font-weight: 600; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(15,23,42,.25); }
.hero-photo .tag b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--accent); }
.hero-photo .t1 { left: -18px; bottom: 34px; }
.hero-photo .t2 { right: -10px; top: 26px; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; width: min(240px, 64vw); }
  .hero-photo .tag { font-size: .75rem; padding: 7px 10px; }
  .hero-photo .tag b { font-size: 1rem; }
  .hero-photo .t1 { left: -34px; }
  .hero-photo .t2 { right: -34px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 24px; } }

/* Cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #cbd5e1; box-shadow: 0 18px 40px -24px rgba(15,23,42,.3); }
.card p { margin: 0; font-size: .98rem; }
.card .num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: #e2e8f0; line-height: 1; margin-bottom: 14px; transition: color .2s; }
.card:hover .num { color: var(--accent-2); }
.section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section.dark .card p { color: #cbd5e1; }

/* Leadership list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23047857' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks b { color: var(--ink); }
.quote { border-left: 3px solid var(--accent-2); padding: 6px 0 6px 20px; font-size: 1.12rem; color: var(--ink); font-weight: 500; margin: 28px 0 0; }

/* Now (g2D, mentoria, conteúdo) */
.now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .now { grid-template-columns: 1fr; } }
.now .card { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.now .card h3 { font-size: 1.35rem; margin: 0; }
.now .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6ee7b7; }
.now ul { margin: 0; padding-left: 18px; font-size: .95rem; }
.now li { margin-bottom: 4px; }
.now .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.now .more:hover { color: #6ee7b7; }

/* Mentoria */
.mentor-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 860px) { .mentor-box { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.pills li { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps b { display: block; color: var(--ink); }

/* YouTube */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }
.video { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.video:hover { color: var(--ink); box-shadow: 0 18px 40px -24px rgba(15,23,42,.35); transform: translateY(-2px); }
.video .thumb { position: relative; aspect-ratio: 16/9; background: #e2e8f0; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 40px; border-radius: 12px; background: rgba(15,23,42,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") center/22px no-repeat; }
.video .meta { padding: 16px 18px 18px; font-weight: 700; line-height: 1.35; }
.video .meta small { display: block; font-weight: 500; color: var(--muted); margin-top: 6px; font-size: .82rem; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.topics li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--ink); background: #fff; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, transform .2s; }
.channel:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.channel svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.channel small { display: block; color: var(--muted); font-size: .85rem; }
.channel strong { display: block; font-size: 1rem; word-break: break-word; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0; font-size: .92rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.socials a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.socials a:hover { color: var(--accent); }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto; background: var(--dark); color: #e2e8f0; border-radius: 16px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; font-size: .9rem; line-height: 1.5; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 280px; }
.consent a { color: #6ee7b7; }
.consent .row { display: flex; gap: 8px; }
.consent button { font: inherit; font-weight: 700; border-radius: 999px; padding: 8px 16px; cursor: pointer; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; }
.consent button.ok { background: #fff; color: var(--ink); border-color: #fff; }

/* Reveal on scroll (só com JS; sem JS tudo aparece) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Páginas de texto (privacidade, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 56px 20px 88px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin-top: 2em; }

/* Como trabalho: 4 etapas do resultado */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } }
.flow .step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.flow .card { position: relative; }
.note { font-size: .92rem; color: var(--muted); }
.note b { color: var(--ink-2); }
