:root {
  --navy: #16233a;
  --navy-2: #1e3152;
  --azul: #3e5f96;
  --aco: #56719a;
  --aco-claro: #7f95b6;
  --texto: #283040;
  --suave: #5b6576;
  --fundo: #ffffff;
  --fundo-alt: #f3f5f9;
  --linha: #dde3ec;
  --wa: #1f9d55;
  --serifa: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --raio: 10px;
  --sombra: 0 10px 30px rgba(22, 35, 58, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--serifa); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: inherit; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.estreito { width: min(860px, 100% - 32px); }

.pular { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.pular:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--claro { background: #fff; color: var(--navy); }
.btn--claro:hover { background: #e8edf5; }
.btn--contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--contorno-escuro { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn--contorno-escuro:hover { background: var(--azul); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #188547; }
.btn--pequeno { padding: .55em 1.2em; font-size: .85rem; }

.sobretitulo {
  font: 700 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--aco-claro); margin-bottom: .9em;
}
.sobretitulo--azul { color: var(--aco); }

.link-seta { font-weight: 700; text-decoration: none; color: var(--azul); }
.link-seta::after { content: " \2192"; transition: margin .2s; }
.link-seta:hover::after { margin-left: 4px; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.topo.rolado { box-shadow: 0 4px 18px rgba(22, 35, 58, .08); border-color: var(--linha); }
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }

.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #3a3a3a; }
.marca img { width: 52px; height: 52px; object-fit: contain; }
.marca__texto { display: flex; flex-direction: column; line-height: 1; }
.marca__nome { font: 700 1.8rem/1 var(--serifa); font-variant: small-caps; letter-spacing: .02em; color: #3a3a3a; }
.marca__sub { font: 600 .9rem/1 var(--serifa); letter-spacing: .55em; text-transform: uppercase; color: #4a4a4a; margin-top: 6px; }
.marca--clara .marca__nome, .marca--clara .marca__sub { color: #fff; }

.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) {
  font-size: .9rem; font-weight: 600; color: var(--texto); text-decoration: none; position: relative; padding: 6px 0;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--azul);
  transform: scaleX(0); transition: transform .2s;
}
.menu a:not(.btn):hover::after { transform: scaleX(1); }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e6ebf3;
  background: radial-gradient(120% 120% at 0% 0%, var(--navy-2) 0%, var(--navy) 60%);
  padding: clamp(56px, 8vw, 104px) 0 0;
}
.hero__formas { position: absolute; inset: 0; pointer-events: none; }
.hero__formas span { position: absolute; top: 0; bottom: 0; right: 0; }
.hero__formas span:nth-child(1) { width: 34%; background: var(--aco-claro); opacity: .18; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.hero__formas span:nth-child(2) { width: 20%; background: var(--aco); opacity: .35; clip-path: polygon(100% 0, 100% 100%, 22% 100%); }
.hero__formas--suave span:nth-child(1) { opacity: .10; }
.hero__formas--suave span:nth-child(2) { opacity: .18; }

.hero__grade { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero__texto { padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 600; margin-bottom: .45em; }
.hero__lead { font-size: 1.12rem; color: #c9d3e3; max-width: 620px; }
.hero__lead strong { color: #fff; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__foto { margin: 0; position: relative; justify-self: center; width: min(400px, 100%); }
.hero__foto::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 10%; bottom: 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(127, 149, 182, .5), rgba(127, 149, 182, .08));
}
.hero__foto img { position: relative; width: 100%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)); }
.hero__foto figcaption {
  position: absolute; z-index: 1; left: -18px; bottom: 36px; background: #fff; color: var(--texto);
  padding: 12px 18px; border-radius: 8px; box-shadow: var(--sombra); max-width: 88%;
}
.hero__foto figcaption strong { display: block; font: 600 1.25rem/1.1 var(--serifa); color: var(--navy); }
.hero__foto figcaption span { font-size: .8rem; color: var(--suave); }

/* ---------- Credenciais ---------- */
.credenciais { background: #fff; border-bottom: 1px solid var(--linha); }
.credenciais__grade { display: grid; grid-template-columns: repeat(4, 1fr); }
.credencial { padding: 30px 24px; border-left: 1px solid var(--linha); }
.credencial:first-child { border-left: 0; padding-left: 0; }
.credencial strong { display: block; font: 600 1.6rem/1.1 var(--serifa); color: var(--azul); margin-bottom: 6px; }
.credencial span { font-size: .9rem; color: var(--suave); line-height: 1.5; }

/* ---------- Seções ---------- */
.secao { padding: clamp(64px, 9vw, 112px) 0; }
.secao--alt { background: var(--fundo-alt); }
.secao__cabeca { max-width: 720px; margin-bottom: 48px; }
.secao__cabeca p:last-child { color: var(--suave); font-size: 1.05rem; }

.cartoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cartao {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 30px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s; position: relative; overflow: hidden;
}
.cartao::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--azul), var(--aco-claro)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cartao:hover { box-shadow: var(--sombra); transform: translateY(-3px); border-color: transparent; }
.cartao:hover::before { transform: scaleX(1); }
.cartao p { color: var(--suave); font-size: .97rem; margin: 0; }
.cartao__icone { width: 48px; height: 48px; border-radius: 12px; background: #e9eef6; display: grid; place-items: center; margin-bottom: 18px; }
.cartao__icone svg { width: 26px; height: 26px; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Recurso de revista ---------- */
.rr { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.rr h3 { margin-top: 1.4em; }
.rr__livro { background: #fff; border-radius: 14px; padding: 28px; box-shadow: var(--sombra); position: sticky; top: 104px; }
.rr__livro img { width: 62%; margin: 0 auto 18px; }
.rr__livro p { font-size: .95rem; color: var(--suave); margin: 0; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks--claro li { color: #d2dae7; }
.checks--claro li strong { color: #fff; }
.checks--claro li::before { background-color: var(--aco-claro); }

/* ---------- Etapas ---------- */
.etapas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: etapa; }
.etapas li { display: flex; gap: 16px; padding: 26px 24px; border-radius: var(--raio); background: var(--fundo-alt); }
.etapas__n {
  flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--sans);
}
.etapas h3 { font-size: 1.3rem; margin-bottom: .3em; }
.etapas p { margin: 0; font-size: .95rem; color: var(--suave); }
.nota { margin: 36px 0 0; padding: 18px 22px; border-left: 3px solid var(--azul); background: #eef2f8; border-radius: 0 8px 8px 0; }

/* ---------- Duas colunas ---------- */
.duas { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.duas--sobre { grid-template-columns: 1.15fr .85fr; align-items: start; }
.duas__foto { margin: 0; }
.duas__foto img { border-radius: 14px; box-shadow: var(--sombra); }
.duas--sobre .duas__foto { position: sticky; top: 104px; }
.duas__texto > p { color: var(--texto); }
.h2-seguinte { margin-top: 1.4em; scroll-margin-top: 100px; }

.trajetoria { margin-top: 28px; border-top: 1px solid var(--linha); }
.trajetoria details { border-bottom: 1px solid var(--linha); }
.trajetoria summary {
  cursor: pointer; list-style: none; padding: 16px 0; display: flex; justify-content: space-between; gap: 12px;
  font: 600 1.3rem/1.2 var(--serifa); color: var(--navy);
}
.trajetoria summary::-webkit-details-marker { display: none; }
.trajetoria summary span { font: 600 .82rem/1.6 var(--sans); color: var(--aco); white-space: nowrap; }
.trajetoria summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--azul); }
.trajetoria details[open] summary::after { content: "\2212"; }
.trajetoria summary span { margin-left: auto; }
.trajetoria ul { list-style: none; padding: 0 0 16px; margin: 0; display: grid; gap: 10px; }
.trajetoria li { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; padding-left: 16px; border-left: 2px solid var(--linha); }
.trajetoria li span { color: var(--suave); font-size: .85rem; white-space: nowrap; }

/* ---------- Parcerias ---------- */
.parcerias { position: relative; overflow: hidden; background: var(--navy); color: #d2dae7; padding: clamp(64px, 9vw, 104px) 0; }
.parcerias h2 { color: #fff; }
.parcerias__grade { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.parcerias__texto > p:not(.sobretitulo) { font-size: 1.05rem; }
.parcerias__foto { justify-self: center; width: min(400px, 100%); border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* ---------- Livros ---------- */
.livros { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.livro {
  display: flex; gap: 24px; align-items: flex-start; text-decoration: none; color: var(--texto);
  background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 28px;
  transition: box-shadow .25s, transform .25s;
}
.livro:hover { box-shadow: var(--sombra); transform: translateY(-3px); }
.livro h3 { font-size: 1.35rem; }
.livro p { font-size: .93rem; color: var(--suave); }
.livro--destaque { grid-row: span 2; flex-direction: column; align-items: center; text-align: center; }
.livro:last-child { grid-column: span 2; }
.livro--destaque img { width: 52%; }
.livro--destaque h3 { font-size: 1.7rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-child { border-top: 1px solid var(--linha); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 600 1.35rem/1.3 var(--serifa); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--azul); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--suave); padding-bottom: 8px; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contato__info > p { color: var(--suave); }
.canais { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.canais a, .canal-sem-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--texto); font-weight: 600; overflow-wrap: anywhere; }
.canais svg { flex: 0 0 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 2px 8px rgba(22, 35, 58, .08); }
.canais small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--aco); }
.canais a:hover { color: var(--azul); }

.form { background: #fff; border-radius: 14px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--sombra); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo--largo, .form__erro, .form__acoes { grid-column: 1 / -1; }
.campo label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.campo label small { font-weight: 500; color: var(--suave); }
.campo input, .campo select, .campo textarea {
  font: 500 1rem/1.4 var(--sans); color: var(--texto); padding: 12px 14px; border: 1px solid #cfd7e3; border-radius: 8px; background: #fbfcfe; width: 100%;
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid rgba(62, 95, 150, .35); border-color: var(--azul); background: #fff; }
.campo .invalido { border-color: #c0392b; }
.form__erro { color: #b03a2e; font-size: .9rem; margin: 0; }
.form__acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--navy); color: #aab6c9; padding: 56px 0 0; font-size: .93rem; }
.rodape__grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.rodape p { margin-top: 18px; }
.rodape nav, .rodape__contato { display: grid; gap: 8px; align-content: start; }
.rodape a { color: #d2dae7; text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape__final { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 20px 0 28px; font-size: .82rem; }
.rodape__privacidade { display: block; margin-top: 8px; font-size: .76rem; color: #8592a8; max-width: 760px; }

.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-flutuante:hover { transform: scale(1.07); }
.wa-flutuante svg { width: 32px; height: 32px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linha); box-shadow: 0 12px 24px rgba(22, 35, 58, .1);
    padding: 8px 16px 18px; display: none;
  }
  .menu.aberto { display: flex; }
  .menu a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--linha); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 14px; }
}
@media (max-width: 960px) {
  .hero__grade, .rr, .duas, .duas--sobre, .contato, .parcerias__grade { grid-template-columns: 1fr; }
  .hero__texto { padding-bottom: 0; }
  .hero__foto { width: min(340px, 100%); }
  .hero__foto figcaption { left: 0; bottom: 24px; }
  .credenciais__grade { grid-template-columns: repeat(2, 1fr); }
  .credencial:nth-child(3) { border-left: 0; padding-left: 0; }
  .credencial:nth-child(even) { padding-right: 0; }
  .credencial:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .cartoes, .etapas { grid-template-columns: repeat(2, 1fr); }
  .rr__livro, .duas--sobre .duas__foto { position: static; }
  .rr__livro { max-width: 420px; }
  .duas__foto { max-width: 520px; }
  .livros { grid-template-columns: repeat(3, 1fr); }
  .livro:not(.livro--destaque) { padding: 22px; }
  .livro:last-child { grid-column: auto; }
  .livro--destaque { grid-row: auto; grid-column: 1 / -1; flex-direction: row; text-align: left; align-items: center; }
  .livro--destaque img { width: 150px; flex: 0 0 150px; }
  .parcerias__foto { width: min(360px, 100%); }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .rodape__grade > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .marca__nome { font-size: 1.5rem; }
  .marca__sub { font-size: .76rem; letter-spacing: .45em; }
  .marca img { width: 44px; height: 44px; }
  .credenciais__grade, .cartoes, .etapas, .livros, .form { grid-template-columns: 1fr; }
  .credencial { border-left: 0 !important; padding: 20px 0 !important; border-top: 1px solid var(--linha); }
  .credencial:first-child { border-top: 0; }
  .livro--destaque { flex-direction: column; text-align: center; }
  .hero__acoes .btn { flex: 1 1 100%; }
  .trajetoria li { flex-direction: column; gap: 2px; }
  .rodape__grade { grid-template-columns: 1fr; }
  .wa-flutuante { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
