@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/playfair-display.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/source-sans-3.woff2") format("woff2"); }

:root {
  --navy: #262b52;
  --navy-escuro: #15172b;
  --vermelho: #b3302a;
  --vermelho-escuro: #922520;
  --texto: #1b2333;
  --texto-2: #3a4456;
  --suave: #5a6475;
  --linha: #e3e7ef;
  --fundo: #f2f1ed;
  --whats: #25d366;
  --whats-escuro: #1ebe5a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(15, 31, 61, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--texto); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0; }
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sprite { display: none; }

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

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linha); }
.topo__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { width: auto; height: 52px; border-radius: 6px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { text-decoration: none; font-weight: 600; color: var(--navy); }
.menu a:hover { color: var(--vermelho); }
.menu .menu__cta { padding: 9px 18px; border-radius: 999px; background: var(--vermelho); color: #fff; }
.menu .menu__cta:hover { background: var(--vermelho-escuro); color: #fff; }

/* Hero */
.hero { position: relative; padding: 80px 0 120px; color: #fff; background: radial-gradient(circle at 80% 20%, #3a4175 0, transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-escuro) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.selo { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.hero h1 span { display: block; margin-top: 12px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; color: #dfe6f3; }
.hero__lead { max-width: 560px; margin: 22px 0 32px; font-size: 1.15rem; color: #c9d3e6; }
.hero__logo img { width: 100%; max-width: 500px; margin-inline: auto; border-radius: 16px; box-shadow: 0 25px 60px rgba(0, 0, 0, .4); }

/* Botões */
.botoes { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--whats { background: var(--whats); color: #053d1d; }
.btn--whats:hover { background: var(--whats-escuro); }
.btn--insta { background: #fff; color: var(--navy); }
.btn--insta:hover { background: #eef2f9; }

/* Destaques */
.destaques { position: relative; z-index: 2; margin-top: -56px; }
.destaques__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.destaque { padding: 28px 20px; text-align: center; border-right: 1px solid var(--linha); }
.destaque:last-child { border-right: 0; }
.destaque strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--vermelho); }
.destaque span { font-size: .95rem; color: var(--suave); }

/* Seções */
.secao { padding: 96px 0; }
.secao--clara { background: var(--fundo); }
.secao .sobretitulo { margin: 0 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vermelho); }
.secao h2 { margin-bottom: 28px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy); }

.quem { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.quem p { margin: 0 0 16px; color: var(--texto-2); }

.equipe { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; margin-bottom: 80px; padding-bottom: 80px; border-bottom: 1px solid var(--linha); }
.equipe p { margin: 0; color: var(--texto-2); }
.modos { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.modos li { padding: 8px 20px; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; color: var(--navy); }
.experimental { padding: 32px; border-top: 5px solid var(--vermelho); border-radius: var(--raio); background: var(--navy); color: #fff; box-shadow: var(--sombra); }
.experimental h3 { margin-bottom: 12px; font-size: 1.45rem; }
.experimental p { color: #d5d9ea; }

.cartao { padding: 32px; border: 1px solid var(--linha); border-top: 5px solid var(--vermelho); border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.cartao h3 { font-size: 1.45rem; color: var(--navy); }
.cartao .cargo { margin: 4px 0 16px; font-weight: 600; color: var(--vermelho); }
.cartao p { color: var(--texto-2); }
.cartao p:last-child { margin-bottom: 0; }
.cartao ul { list-style: none; margin: 0; padding: 0; }
.cartao li { padding: 12px 0; border-top: 1px solid var(--linha); color: var(--texto-2); }
.cartao li strong { display: block; color: var(--navy); }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.area { padding: 28px 24px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.area:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.area__num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; }
.area h3 { margin-bottom: 8px; font-size: 1.25rem; color: var(--navy); }
.area p { margin: 0; font-size: .98rem; color: var(--suave); }

.trajetoria { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.linha { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--linha); }
.linha li { position: relative; padding-bottom: 32px; }
.linha li:last-child { padding-bottom: 0; }
.linha li::before { content: ""; position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; border: 3px solid var(--vermelho); border-radius: 50%; background: #fff; }
.periodo { display: inline-block; margin-bottom: 4px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--vermelho); }
.linha h3 { font-size: 1.25rem; color: var(--navy); }
.linha .funcao { margin: 2px 0 6px; font-weight: 600; color: var(--texto-2); }
.linha p { margin: 0; color: var(--suave); }
.lateral { display: grid; gap: 20px; }

/* Chamada final */
.cta { padding: 88px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-escuro)); }
.cta h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cta p { max-width: 620px; margin: 0 auto 32px; font-size: 1.15rem; color: #c9d3e6; }
.cta .botoes { justify-content: center; }

/* Rodapé */
.rodape { padding: 36px 0 100px; font-size: .95rem; color: #aab6cc; background: var(--navy-escuro); border-top: 4px solid var(--vermelho); }
.rodape__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.rodape p { margin: 0; }
.rodape .marca img { height: 46px; }
.rodape__links { display: flex; gap: 18px; }
.rodape__links a { font-weight: 600; color: #fff; text-decoration: none; }
.rodape__links a:hover { color: var(--whats); }

/* Botões flutuantes */
.flutuantes { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.flut { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.flut:hover { transform: scale(1.08); }
.flut svg { width: 30px; height: 30px; }
.flut--whats { background: var(--whats); }
.flut--insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

/* Página 404 */
.erro { display: grid; place-items: center; min-height: 100vh; padding: 48px 0; text-align: center; }
.erro img { max-width: 320px; margin: 0 auto 32px; border-radius: 16px; }
.erro h1 { font-size: clamp(2rem, 5vw, 3rem); }
.erro .hero__lead { margin-inline: auto; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 104px; text-align: center; }
  .hero__grid, .quem, .equipe, .trajetoria { grid-template-columns: 1fr; }
  .equipe { gap: 32px; margin-bottom: 56px; padding-bottom: 56px; }
  .hero__logo { order: -1; }
  .hero__logo img { max-width: 340px; }
  .hero__lead { margin-inline: auto; }
  .hero .botoes { justify-content: center; }
  .destaques__grid { grid-template-columns: repeat(2, 1fr); }
  .destaque:nth-child(2) { border-right: 0; }
  .destaque:nth-child(-n+2) { border-bottom: 1px solid var(--linha); }
  .menu a:not(.menu__cta) { display: none; }
  .secao { padding: 72px 0; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .selo { font-size: .74rem; letter-spacing: .03em; }
  .destaque { padding: 22px 12px; }
  .destaque strong { font-size: 1.6rem; }
  .flut { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
