/* =========================================================
   INSTITUTO ERRIELE — style.css (mesclagem v1 + v2)
   Da seção 1 até a 8 ("Nossas soluções"): base = versão 1.
   Da seção 9 em diante ("Sobre Allan Erriele"): base = versão 2.
   As classes globais (.eyebrow, .btn, .gold-btn, .navy-btn,
   .outline-btn, footer) usam a escala da v1 em toda a página —
   as fontes de 7-10px que a v2 usava nessas mesmas classes
   foram normalizadas para a escala da v1.

   Índice:
   1. Reset / base
   2. Header e navegação
   3. Hero
   4. Soluções (cards em destaque)
   5. Sobre / Instituto
   6. Faixa de números (stats)
   7. Método (6 etapas)
   8. Soluções detalhadas (4 colunas) — "Nossas soluções"
   9. Sobre Allan Erriele
   10. Empresas
   11. CTA final
   12. Rodapé
   13. Responsivo (≤780px e ≤500px)
   ========================================================= */

/* ---------- 1. Reset / base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #16233a;
  background: #f7f8fa;
  font-family: Montserrat, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

/* ---------- 2. Header e navegação ---------- */
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  width: 100%;
  color: #fff;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: #0d2b52;
  box-shadow: 0 4px 18px #00000026;
}
.nav {
  width: min(1140px, calc(100% - 48px));
  height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ffffff33;
}
.brand img,
footer img {
  width: 136px;
}
.links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 34px;
}
.links a,
.mobile-links a,
footer nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.9;
}
.links a:hover,
footer nav a:hover {
  color: #e7ae22;
}
.top-cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
}
.top-cta {
  background: #e7ae22;
  color: #0e2a52;
}
.menu-btn {
  display: none;
  position: relative;
  z-index: 31;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  margin-left: auto;
}
.mobile-links {
  display: none;
}
.mobile-backdrop {
  display: none;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- 3. Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding-top: 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.mockup-hero {
  background: #14365f url("../assets/gestao-comercial.webp") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #092b55ef 0%,
    #143d70e6 55%,
    #143d70bd 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: clamp(12px, 3vh, 32px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #18365e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #fff;
}
.eyebrow.gold {
  color: #e7ae22;
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow i {
  width: 30px;
  height: 2px;
  background: #e7ae22;
  display: block;
}
.hero h1 {
  max-width: 690px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw + 2.4vh, 4rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: clamp(8px, 2.2vh, 24px) 0 clamp(6px, 1.8vh, 18px);
}
.hero h1 strong {
  display: block;
  color: #e7ae22;
  font-weight: 700;
}
.hero p {
  max-width: 480px;
  color: #fffcc;
  font-size: clamp(12px, 1.6vh, 15px);
  line-height: 1.6;
  margin: 0 0 clamp(6px, 1.6vh, 28px);
}
.gold-btn {
  background: #e7ae22;
  color: #0d2b52;
}
.gold-btn:hover {
  background: #f4c541;
}
.navy-btn {
  background: #0d2b52;
  color: #fff;
}
.outline-btn {
  border: 1px solid #0d2b52;
  color: #0d2b52;
}
.btn {
  transition: 0.18s ease;
}
.btn:hover,
.top-cta:hover {
  transform: translateY(-2px);
}
@media (max-height: 480px) {
  /* Telas muito baixas (celular deitado) — aperta o ritmo vertical do hero
     e esconde o segundo parágrafo (info complementar) pra garantir que o
     título e o botão sempre caibam sem cortar. */
  .hero-inner {
    padding-bottom: 6px;
  }
  .hero h1 {
    font-size: clamp(1.3rem, 2.4vw + 1.6vh, 4rem);
    margin: 6px 0 5px;
  }
  .hero p {
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 5px;
  }
  .hero p:nth-of-type(2) {
    display: none;
  }
}
@media (max-height: 340px) {
  /* Extremo (celular antigo deitado) — some com o rótulo pra sobrar espaço
     pro que importa: título e botão. */
  .hero .eyebrow {
    display: none;
  }
  .hero h1 {
    font-size: clamp(1.1rem, 2vw + 1.2vh, 4rem);
    margin: 4px 0 4px;
  }
  .hero p {
    margin: 0 0 4px;
  }
}
.social-rail {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 105px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-rail a {
  width: 28px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
.social-rail a:hover {
  background: #fff;
  color: #0d2b52;
}
.social-rail svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 900px) {
  /* Abaixo de 900px o hero-inner encosta perto o bastante da borda esquerda
     pra colidir com o rail de ícones sociais — vira uma fileira horizontal
     dentro do fluxo normal, logo abaixo do botão, em vez de ficar fixa na
     lateral. O hero também empilha em coluna pra caber os dois. */
  .hero {
    flex-direction: column;
    justify-content: center;
  }
  .social-rail {
    position: static;
    flex-direction: row;
    width: min(760px, calc(100% - 48px));
    margin: 28px auto 40px;
    left: auto;
    bottom: auto;
  }
}

/* ---------- 4. Soluções (cards em destaque) ---------- */
.feature-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 88px;
}
.challenge-heading {
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  max-width: 700px;
  margin: 128px auto 30px;
  padding: 0 24px;
}
.feature-grid {
  width: min(965px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-grid article {
  position: relative;
  min-height: 130px;
  background: #fff;
  padding: 25px 46px 24px 26px;
  display: flex;
  gap: 17px;
  box-shadow: 0 10px 28px #102e5312;
  border-radius: 14px;
  overflow: hidden;
}
.feature-grid article > a {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  background: #e7ae22;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #e7ae22;
  border: 1px solid #e7ae22;
  border-radius: 50%;
  flex: none;
}
.feature-icon svg {
  width: 22.5px;
  height: 22.5px;
}
.feature-grid h3 {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  color: #122f56;
  margin: 0 0 8px;
}
.feature-grid p {
  color: #6e7887;
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- 5. Sobre / Instituto ---------- */
.mockup-section {
  width: min(1140px, calc(100% - 48px));
  margin: 88px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.about-visual {
  position: relative;
  min-height: 490px;
}
.about-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-number {
  position: absolute;
  bottom: -35px;
  left: -40px;
  background: #e7ae22;
  color: #fff;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
}
.case-number strong {
  font-family: "Playfair Display", serif;
  font-size: 41px;
}
.case-number span {
  font-size: 11px;
  margin-top: 3px;
}
.about-copy {
  padding: 67px 45px;
}
.about-copy h2,
.method-copy h2,
.services-detail h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.07;
  color: #102e56;
  margin: 18px 0 20px;
}
.companies h2,
.final h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  line-height: 1.07;
  color: #102e56;
  margin: 18px 0 20px;
}
.about-copy h2 em,
.services-detail h2 em {
  color: #e7ae22;
  font-style: normal;
}
.about-copy p,
.method-copy p,
.final p {
  color: #707987;
  font-size: 13px;
  line-height: 1.75;
}
.about-copy ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 10px;
}
.about-copy li {
  color: #596678;
  font-size: 11px;
}
.about-copy li:before {
  content: "✓";
  color: #e7ae22;
  font-weight: 800;
  margin-right: 9px;
}
.about-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.about-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.about-social a {
  width: 30px;
  height: 30px;
  border: 1px solid #102e56;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #102e56;
  transition: background 0.2s ease, color 0.2s ease;
}
.about-social a:hover {
  background: #102e56;
  color: #fff;
}
.about-social svg {
  width: 14px;
  height: 14px;
}
.founder-quote {
  margin: 26px 0;
  padding: 22px 24px;
  background: #f3f5f8;
  border-left: 3px solid #e7ae22;
  border-radius: 0 10px 10px 0;
}
.founder-quote p {
  margin: 0 0 12px;
  color: #18365e;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
}
.founder-quote cite {
  display: block;
  font-style: normal;
}
.founder-quote cite strong {
  display: block;
  color: #102e56;
  font-size: 13px;
}
.founder-quote cite span {
  display: block;
  color: #8792a1;
  font-size: 10px;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

/* ---------- 7. Método (6 etapas) ---------- */
.method-section {
  background: #0b2e56;
  color: #fff;
  padding: 0;
}
.method-inner {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(100deg, #0b2e56 0%, #0b2e56 70%, transparent 100%),
    url("../assets/vendas.webp") center/cover no-repeat;
}
.method-copy {
  padding: 78px 64px 40px;
  max-width: 420px;
}
.method-copy h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}
.method-copy h2 strong {
  color: #e7ae22;
}
.method-copy p {
  color: #ffffffbf;
  max-width: 380px;
}
.method-steps {
  padding: 0 64px 70px;
  max-width: 380px;
}
.steps {
  margin: 28px 0;
  border-top: 1px solid #ffffff30;
}
.steps div {
  display: flex;
  gap: 17px;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff30;
}
.steps b {
  font-family: "Playfair Display", serif;
  color: #e7ae22;
  font-size: 19px;
}
.steps span {
  font-size: 11px;
  color: #ffffffb3;
}
.steps strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}
@media (min-width: 1200px) {
  .method-section {
    padding: 88px 24px;
    background:
      linear-gradient(
        100deg,
        #0b2e56 0%,
        #0b2e56 50%,
        #0b2e56b3 70%,
        transparent 100%
      ),
      url("../assets/vendas.webp") center/cover no-repeat;
  }
  .method-inner {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: none;
  }
  .method-copy {
    grid-column: 1;
    padding: 0;
    max-width: 480px;
  }
  .method-steps {
    grid-column: 2;
    padding: 0;
    max-width: 460px;
  }
}

/* ---------- 8. Soluções detalhadas (4 colunas) — "Nossas soluções" ---------- */
.services-detail {
  background: #fff;
  padding: 88px 24px;
  text-align: center;
}
.services-detail h2 {
  max-width: 690px;
  margin: 20px auto 42px;
}
.service-columns {
  width: min(960px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-columns > div {
  padding: 28px;
  background: #f3f5f8;
  text-align: left;
  border-top: 3px solid #e7ae22;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.service-columns h3 {
  font-family: "Playfair Display", serif;
  color: #123762;
  font-size: 21px;
  margin: 0 0 12px;
}
.service-columns p {
  color: #707987;
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.service-columns p:first-of-type {
  flex: 1 0 auto;
}
.service-columns p:last-of-type {
  color: #8792a1;
  font-size: 11px;
  margin: 0 0 16px;
}
.service-columns p strong {
  color: #123762;
}
.service-columns a {
  color: #123762;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* =========================================================
   A PARTIR DAQUI: conteúdo trazido da versão 2 (export-html).
   As regras abaixo eram declaradas em blocos de ajuste sucessivos
   no CSS original (uma versão, depois dois blocos de "ajuste
   fino" mais abaixo no arquivo); foram consolidadas aqui numa
   única declaração por seletor, já com o resultado final da
   cascata aplicado.
   ========================================================= */

/* ---------- 9. Sobre Allan Erriele ---------- */
.allan {
  position: relative;
  min-height: 568px;
  background: #123762;
  color: #fff;
  display: grid;
  grid-template-columns: 280px 1fr 160px;
  column-gap: 72px;
  align-items: center;
  padding: 88px max(20px, calc((100% - 1140px) / 2)) 0;
  overflow: hidden;
}
.allan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #ffffff40 50%,
    transparent
  );
}
.allan-photo {
  position: relative;
  align-self: end;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
}
.allan-watermark {
  position: absolute;
  left: -6px;
  bottom: 20px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 90px;
  line-height: 0.8;
  color: #ffffff0d;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 0;
}
.allan-photo img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 90%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom center;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.allan-copy {
  position: relative;
  z-index: 2;
  padding: 42px 28px;
  max-width: 460px;
  justify-self: center;
}
.allan-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 14px 0;
}
.allan-copy h2 strong {
  color: #e7ae22;
}
.allan-copy p {
  max-width: 390px;
  color: #ffffffa8;
  font-size: 13px;
  line-height: 1.7;
}
.content-panel {
  border-left: 1px solid #ffffff30;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.content-panel span {
  font-size: 10px;
  color: #ffffff91;
  text-transform: uppercase;
}
.content-panel b {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  line-height: 1.2;
}
.content-panel a {
  color: #e7ae22;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.content-books {
  display: flex;
  gap: 6px;
  margin: 6px 0 4px;
}
.content-books a {
  flex: 1;
  display: block;
}
.content-books img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 4px 10px #00000050;
  transition: transform 0.15s ease;
}
.content-books a:hover img {
  transform: translateY(-3px);
}
.content-books-caption {
  font-size: 9px;
  line-height: 1.5;
  color: #ffffff80;
  margin: 0 0 6px;
}

/* ---------- 10. Empresas ---------- */
.companies {
  padding: 88px 0;
  background: #f3f5f8;
  text-align: center;
  overflow: hidden;
}
.companies .eyebrow,
.companies h2 {
  padding: 0 24px;
}
.companies h2 {
  max-width: 700px;
  margin: 20px auto 50px;
}
.company-track-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.company-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: companyScroll 26s linear infinite;
}
.company-track:hover {
  animation-play-state: paused;
}
.company-logo {
  flex: 0 0 auto;
  width: 220px;
  height: 145px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-logo img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.company-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes companyScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-links,
  .mobile-backdrop {
    transition: none;
  }
  .company-track {
    animation: none;
  }
  .company-track-wrap {
    overflow-x: auto;
  }
}

/* ---------- 11. CTA final ---------- */
.final {
  text-align: center;
  padding: 88px 24px;
  margin-bottom: 50px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.final h2 {
  max-width: 680px;
  margin: 20px auto;
}
.final p {
  max-width: 570px;
  margin: 0 auto 28px;
}
.final-form {
  width: min(1140px, 100%);
  margin: 0 auto;
  background: #e7ae22;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 28px #102e5312;
  text-align: left;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.final-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.final-field-wide {
  grid-column: 1 / -1;
}
.final-field {
  display: grid;
  gap: 6px;
}
.final-field label,
.final-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #123762;
}
.final-field input {
  width: 100%;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  color: #16233a;
  padding: 12px 14px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
}
.final-field input:focus {
  outline: none;
  border-color: #e7ae22;
}
.final-form-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.final-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.final-form-actions .btn {
  flex: none;
  border: none;
  cursor: pointer;
}
.final-lgpd-link {
  font-size: 11px;
  color: #123762;
  text-decoration: underline;
}
.final-lgpd-link:hover {
  color: #e7ae22;
}
.final-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.final-checks label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  color: #43506c;
  line-height: 1.4;
  text-transform: none;
  cursor: pointer;
}
.final-checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #e7ae22;
  flex: none;
}
@media (max-width: 860px) {
  .final-form {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .final-form-fields {
    grid-template-columns: 1fr;
  }
  .final-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 12. Rodapé ---------- */
footer {
  background: #123762;
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.15fr;
  gap: 40px;
  padding: 64px max(24px, calc((100% - 1200px) / 2)) 44px;
}
.footer-divider {
  width: 40px;
  height: 2px;
  background: #e7ae22;
  margin: 18px 0;
}
.footer-tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}
.footer-tagline strong {
  color: #e7ae22;
  font-weight: 700;
}
.footer-desc {
  font-size: 13px;
  color: #ffffffb3;
  line-height: 1.7;
  margin-top: 14px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  background: #e7ae22;
  border-color: #e7ae22;
  color: #123762;
}
.footer-social svg {
  width: 15px;
  height: 15px;
}
.footer-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.footer-col-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff14;
  display: grid;
  place-items: center;
  color: #e7ae22;
  flex: none;
}
.footer-col-icon svg {
  width: 17px;
  height: 17px;
}
.footer-col-header h3 {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 800;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #ffffffcc;
}
.footer-contact-list a {
  color: inherit;
  transition: color 0.2s ease;
}
.footer-contact-list a:hover {
  color: #e7ae22;
}
.footer-contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ffffff30;
  display: grid;
  place-items: center;
  color: #e7ae22;
  flex: none;
}
.footer-contact-icon svg {
  width: 13px;
  height: 13px;
}
.footer-cta {
  border: 1px solid #ffffff40;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-cta:hover {
  background: #e7ae22;
  border-color: #e7ae22;
  color: #123762;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffffffcc;
  transition: color 0.2s ease;
}
.footer-links a::before {
  content: "\203A";
  color: #e7ae22;
  font-weight: 700;
}
.footer-links a:hover {
  color: #e7ae22;
}
.footer-highlight {
  background: #ffffff0d;
  border: 1px solid #ffffff20;
  border-radius: 14px;
  padding: 26px;
}
.footer-highlight h3 {
  font-size: 19px;
  font-family: "Playfair Display", serif;
  color: #fff;
  line-height: 1.25;
  margin-top: 16px;
}
.footer-highlight p {
  font-size: 13px;
  color: #ffffffb3;
  line-height: 1.6;
}
.footer-highlight-strong {
  color: #e7ae22 !important;
  font-weight: 700;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  padding: 22px max(24px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #ffffff90;
  transition: color 0.2s ease;
}
.footer-bottom-item:hover {
  color: #e7ae22;
}
.footer-bottom-item svg {
  width: 15px;
  height: 15px;
  color: #ffffff70;
  flex: none;
}
.footer-copy {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff70;
}
.footer-rights {
  font-size: 11px;
  color: #ffffff90;
}
.footer-credit {
  text-align: center;
  padding: 14px 24px 22px;
  font-size: 10px;
  color: #ffffff60;
  border-top: 1px solid #ffffff14;
}
.footer-credit a {
  color: #ffffffa0;
  font-weight: 700;
  transition: color 0.2s ease;
}
.footer-credit a:hover {
  color: #e7ae22;
}

/* ---------- 13. Responsivo ---------- */
@media (max-width: 780px) {
  .links,
  .top-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .mobile-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 80vw);
    background: #123762;
    padding: 100px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 30;
    overflow-y: auto;
    box-shadow: -8px 0 24px #00000040;
  }
  .mobile-links.open {
    transform: translateX(0);
  }
  .mobile-links a {
    padding: 14px 0;
    border-bottom: 1px solid #ffffff2c;
  }
  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #05122780;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 25;
  }
  .mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .challenge-heading {
    margin: 128px auto 24px;
    font-size: clamp(0.95rem, calc(5.7vw - 5.5px), 1.7rem);
    white-space: nowrap;
  }
  .mockup-section {
    grid-template-columns: 1fr;
  }
  .about-visual {
    min-height: 360px;
  }
  .about-copy {
    padding: 55px 30px;
  }
  .case-number {
    left: 15px;
  }
  .method-section {
    padding: 56px 24px;
  }
  .service-columns {
    grid-template-columns: 1fr 1fr;
  }
  .allan {
    grid-template-columns: 1fr;
    min-height: 560px;
    text-align: center;
    padding: 88px 20px 40px;
  }
  .allan-photo {
    height: 300px;
    order: 1;
  }
  .allan-photo img {
    height: 100%;
    max-height: 300px;
  }
  .allan-watermark {
    font-size: 70px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
  }
  .allan-copy {
    padding: 28px 20px 25px;
    order: 3;
  }
  .allan-copy p {
    margin: 0 auto 10px;
  }
  .content-panel {
    border-left: 0;
    border-top: 1px solid #ffffff30;
    padding: 15px 0 0;
    align-items: center;
    order: 2;
  }
  .company-logo {
    width: 150px;
    height: 100px;
    margin: 0 16px;
  }
  .company-logo img {
    max-height: 70px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 48px 24px 32px;
  }
  .footer-brand,
  .footer-highlight {
    grid-column: 1/-1;
  }
  .footer-bottom {
    padding: 20px 24px;
    justify-content: flex-start;
  }
}
@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .nav {
    width: calc(100% - 32px);
    height: 70px;
  }
  .brand img {
    width: 116px;
  }
  .hero-inner {
    width: calc(100% - 58px);
  }
  .feature-grid {
    width: calc(100% - 32px);
  }
  .mockup-section {
    width: calc(100% - 32px);
    margin: 65px auto;
  }
  .about-visual {
    min-height: 300px;
  }
  .about-copy {
    padding: 43px 24px;
  }
  .about-copy h2,
  .method-copy h2,
  .services-detail h2 {
    font-size: 1.4rem;
  }
  .companies h2,
  .final h2,
  .allan-copy h2 {
    font-size: 2.3rem;
  }
  .service-columns {
    grid-template-columns: 1fr;
  }
  .services-detail {
    padding: 68px 20px;
  }
  .company-logo {
    width: 120px;
    height: 84px;
    margin: 0 12px;
  }
  .company-logo img {
    max-height: 56px;
  }
}

/* ---------- 14. Páginas internas (Livros / Artigos) ---------- */
.page-hero {
  background: #0d2b52;
  color: #fff;
  text-align: center;
  padding: 190px 24px 80px;
}
.page-hero .eyebrow {
  justify-content: center;
}
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 18px auto 16px;
  max-width: 700px;
}
.page-hero p {
  color: #ffffffb3;
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.article-featured {
  width: min(1000px, calc(100% - 48px));
  margin: -50px auto 40px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px #102e5318;
  display: block;
}
.article-featured-media {
  position: relative;
  background: #0b2038;
  aspect-ratio: 700 / 320;
  min-height: 260px;
}
.article-featured-media .article-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.article-featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 36px 24px;
  background: linear-gradient(to top, #05122fe6 0%, #05122fb0 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-featured-tag {
  display: inline-flex;
  align-self: flex-start;
  background: #e7ae22;
  color: #0d2b52;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.article-featured-overlay h2 {
  font-family: "Playfair Display", serif;
  color: #e7ae22;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin: 0;
}
.article-featured-category {
  color: #ffffffcc;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.article-featured-content {
  padding: 26px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-featured-content p {
  color: #707987;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 6px;
  max-width: 640px;
}
.article-featured-content .btn {
  align-self: flex-start;
}
.article-date {
  display: block;
  color: #8c96a4;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
}
@media (max-width: 780px) {
  .article-featured-media {
    min-height: 320px;
  }
  .article-featured-overlay {
    padding: 40px 24px 20px;
  }
  .article-featured-content {
    padding: 20px 24px 30px;
  }
}

.book-grid,
.article-grid {
  width: min(1000px, calc(100% - 48px));
  margin: -50px auto 100px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}
.book-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.article-featured + .article-grid {
  margin-top: 0;
}

.book-card,
.article-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 10px 28px #102e5312;
  text-align: left;
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.article-card .article-banner {
  margin: -34px -30px 4px;
  width: calc(100% + 60px);
  border-radius: 14px 14px 0 0;
}
.article-page .article-banner {
  margin-bottom: 28px;
}
.book-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.book-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.book-cover {
  display: block;
  align-self: center;
  height: 230px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 22px;
  border-radius: 3px;
  box-shadow: 0 16px 30px #10142c3d;
}
.book-card .book-role,
.book-card h2,
.book-card p {
  text-align: left;
}
.book-card .book-role,
.article-card time {
  display: block;
  color: #e7ae22;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-card time {
  color: #8c96a4;
}
.book-card h2 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: 22px;
  margin: 10px 0 14px;
}
.article-card h2 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
}
.article-card h2 a {
  color: inherit;
}
.article-card h2 a:hover {
  color: #e7ae22;
}
.book-card p,
.article-card p {
  color: #707987;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 22px;
}
.article-card p {
  margin: 0;
}
.article-card .read-more {
  display: block;
  margin-top: auto;
  padding-top: 6px;
  color: #123762;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.article-card .read-more:hover {
  color: #e7ae22;
}

.article-page {
  width: min(760px, calc(100% - 48px));
  margin: -50px auto 100px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  padding: 56px;
  box-shadow: 0 10px 28px #102e5312;
}
.article-signature {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 28px;
}
.article-signature img {
  width: 160px;
  height: auto;
  display: block;
}
.article-page .article-meta {
  color: #8c96a4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article-page h1 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 24px;
}
.article-page h2 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: 20px;
  margin: 34px 0 14px;
}
.article-page p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 20px;
}
.article-page ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.85;
}
.article-page li {
  margin-bottom: 8px;
}
.article-page .btn {
  margin-top: 10px;
}
.article-page .back-link {
  display: inline-block;
  margin-top: 10px;
  color: #123762;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.article-page .back-link:hover {
  color: #e7ae22;
}

@media (max-width: 780px) {
  .page-hero {
    padding: 150px 24px 60px;
  }
  .book-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-page {
    padding: 34px 24px;
  }
}

/* ---------- 14b. Galeria (fotos e vídeos) ---------- */
.gallery-section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 70px;
}
.gallery-section-title {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 26px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px #102e5312;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b2038;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card b {
  display: block;
  font-size: 14px;
  color: #102e56;
  padding: 16px 18px 4px;
}
.video-card p {
  font-size: 13px;
  color: #707987;
  line-height: 1.6;
  padding: 0 18px 18px;
  margin: 0;
}
.photo-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.photo-public-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px #102e5312;
}
.photo-public-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-public-card figcaption {
  font-size: 12px;
  color: #707987;
  padding: 10px 14px;
}
@media (max-width: 600px) {
  .video-grid,
  .photo-public-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 15. Palestras / Treinamentos / Triagem ---------- */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 88px max(24px, calc((100% - 1140px) / 2));
}
.offer-light {
  background: #fff;
}
.offer-dark {
  background: #0d2b52;
  color: #fff;
}
.offer-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.18;
  margin: 16px 0 18px;
}
.offer-light .offer-copy h2 {
  color: #102e56;
}
.offer-dark .offer-copy h2 {
  color: #fff;
}
.offer-copy h2 strong {
  color: #e7ae22;
}
.offer-copy p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 440px;
  margin: 0 0 26px;
}
.offer-light .offer-copy p {
  color: #596678;
}
.offer-dark .offer-copy p {
  color: #ffffffb3;
}
.offer-topics-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e7ae22;
  margin-bottom: 16px;
}
.offer-topics ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.offer-topics li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.offer-topics li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid #e7ae22;
  color: #e7ae22;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.offer-light .offer-topics li {
  color: #43506ceb;
}
.offer-dark .offer-topics li {
  color: #ffffffd9;
}


@media (max-width: 780px) {
  .offer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 24px;
  }
  .offer-copy {
    order: 1;
  }
  .offer-topics {
    order: 2;
  }
  .offer-topics ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- 16. Palestras (cards com selo e ícones) ---------- */
.offer-cards {
  padding: 88px max(24px, calc((100% - 1140px) / 2));
}
.offer-cards-light {
  background: #f7f8fa;
}
.offer-header {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
  margin-bottom: 46px;
}
.offer-header-copy h2 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin: 16px 0 20px;
}
.offer-header-copy h2 strong {
  color: #e7ae22;
  font-style: normal;
}
.offer-divider {
  width: 46px;
  height: 3px;
  background: #e7ae22;
  margin-bottom: 20px;
}
.offer-header-copy p {
  color: #596678;
  font-size: 14px;
  line-height: 1.75;
  max-width: 460px;
}
.offer-badge {
  position: relative;
  width: 220px;
  height: 220px;
  justify-self: center;
}
.offer-badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: offer-badge-spin 26s linear infinite;
}
.offer-badge-ring text,
.offer-badge-ring textPath {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  fill: #c7cbd6;
}
.offer-badge-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid #e7ae22;
  background: #fff;
  color: #e7ae22;
  display: grid;
  place-items: center;
}
.offer-badge-icon svg {
  width: 40px;
  height: 40px;
}
@keyframes offer-badge-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.offer-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 20px #102e5310;
}
.offer-card-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #faf1de;
  color: #e7ae22;
  display: grid;
  place-items: center;
}
.offer-card-icon svg {
  width: 24px;
  height: 24px;
}
.offer-card h3 {
  font-family: "Playfair Display", serif;
  color: #102e56;
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}
.offer-cta {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .offer-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .offer-header-copy p {
    margin: 0 auto;
  }
  .offer-divider {
    margin: 0 auto 20px;
  }
  .offer-badge {
    margin: 10px auto 0;
  }
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .offer-cards {
    padding: 60px 24px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-card {
    padding: 20px;
  }
}
