/* Home B2B: estilos isolados para não afetar o catálogo e as páginas internas. */
body.home-page { font-family: "Segoe UI", "Avenir Next", Arial, Helvetica, sans-serif; }
body.home-page h1,
body.home-page h2,
body.home-page h3 { font-family: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif; }
.home-page .site-header { box-shadow: 0 4px 18px rgba(23, 32, 51, 0.04); }
.home-page .header-inner { min-height: 82px; }
.home-page .brand__logo { width: 72px; height: 56px; }
.home-page .brand__name { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.03em; }
.home-page .site-nav__list { gap: 0.25rem; }
.home-page .site-nav__list > li { position: relative; }
.home-page .site-nav__list > li > a,
.home-page .products-menu > summary { display: inline-flex; min-height: 42px; align-items: center; gap: 0.35rem; padding: 0.65rem 0.78rem; border-radius: 999px; color: var(--color-ink); font-size: 0.9rem; font-weight: 800; cursor: pointer; list-style: none; }
.home-page .products-menu > summary::-webkit-details-marker { display: none; }
.home-page .products-menu > summary::after { content: "⌄"; color: var(--color-primary); font-size: 1rem; line-height: 1; }
.home-page .site-nav__list > li > a:hover,
.home-page .products-menu > summary:hover,
.home-page .products-menu[open] > summary { color: var(--color-primary); background: #eef0ff; }
.home-page .products-menu__panel { position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 25; display: grid; min-width: 245px; gap: 0.2rem; padding: 0.6rem; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
.home-page .products-menu__panel a { display: block; padding: 0.7rem 0.8rem; border-radius: 0.65rem; color: var(--color-ink); font-size: 0.88rem; font-weight: 700; }
.home-page .products-menu__panel a:hover { color: var(--color-primary); background: #f5f6ff; }
.home-page .nav-contact { min-height: 42px; margin-left: 0.3rem; padding: 0.65rem 1rem; border-radius: 999px; color: #fff !important; background: var(--color-primary) !important; }
.home-page .nav-contact:hover { background: var(--color-primary-dark) !important; }
.home-hero { overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem) 0; background: linear-gradient(135deg, #f5f6ff 0%, #fff 57%, #fff8ed 100%); }
.home-hero__grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); }
.home-hero__content, .home-hero__media { min-width: 0; }
.home-page .home-hero h1 { max-width: 700px; margin-bottom: 1.15rem; font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif; font-size: clamp(2.05rem, 3.25vw, 3.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.home-hero__title-line { display: block; }
.home-hero__content > p { max-width: 640px; color: var(--color-muted); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.65; overflow-wrap: anywhere; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.home-search { display: flex; align-items: center; gap: 0.65rem; max-width: 560px; margin-top: 1.5rem; padding: 0.4rem 0.4rem 0.4rem 1rem; border: 1px solid #dce0f1; border-radius: 999px; background: #fff; box-shadow: 0 4px 18px rgba(32, 39, 88, 0.05); }
.home-search:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(63, 72, 204, 0.12); }
.home-search__icon { flex-shrink: 0; color: var(--color-primary); }
.home-search input { width: 100%; min-width: 0; min-height: 44px; padding: 0.4rem 0; border: 0; outline: 0; border-radius: 0; color: var(--color-ink); background: transparent; font: inherit; font-size: 0.95rem; }
.home-search input::placeholder { color: #66718a; opacity: 1; }
.home-search .button { flex-shrink: 0; min-height: 44px; padding: 0.65rem 1.25rem; }
.home-hero__media .home-search { max-width: none; margin: 0 0 1.25rem; }
@media (max-width: 380px) {
  .home-search { gap: 0.4rem; padding-left: 0.7rem; }
  .home-search input { font-size: 0.8rem; }
  .home-search .button { padding-inline: 0.85rem; }
}
.home-hero__media { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.home-hero__media img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); object-fit: cover; object-position: center 42%; box-shadow: var(--shadow-md); }
.home-hero__content > :last-child { margin-bottom: 0; }
 .home-hero .eyebrow,
 .home-hero__title-line,
 .home-hero__content > p,
 .home-hero__actions,
 .home-hero__media img { animation-fill-mode: both; animation-iteration-count: 1; }
 .home-hero .eyebrow,
 .home-hero__title-line,
 .home-hero__content > p,
 .home-hero__actions,
 .home-hero__media img { animation: home-hero-fade-up 300ms ease-out both; }
 @keyframes home-hero-fade-up {
   from { opacity: 0; transform: translateY(12px); }
   to { opacity: 1; transform: translateY(0); }
 }
 @keyframes home-hero-title-in {
   from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
   to { opacity: 1; transform: translateY(0); filter: blur(0); }
 }
 @keyframes home-hero-image-reveal {
   from { clip-path: inset(0 100% 0 0 round var(--radius-lg)); transform: scale(1.03); }
   to { clip-path: inset(0 0 0 0 round var(--radius-lg)); transform: scale(1); }
 }
.home-section { padding: clamp(2.5rem, 4.5vw, 4rem) 0; }
.home-section--soft { background: var(--color-soft); }
.home-section--dark { color: #fff; background: #202758; }
.home-section--dark h2, .home-section--dark h3 { color: #fff; }
.home-section--dark .eyebrow { color: #b8bfff; }
.home-section--dark .button--outline { border-color: #fff; color: #fff; }
.home-section--dark .button--outline:hover { color: var(--color-primary); background: #fff; }
.home-section--dark .home-section__intro, .home-section--dark .home-section__intro p { color: #dce0ff; }
.home-section__intro { max-width: 720px; margin-bottom: 1.75rem; }
.home-section__intro h2 { margin-bottom: 0.8rem; }
.home-section__intro p { margin-bottom: 0; color: var(--color-muted); font-size: 1.08rem; }
.home-section__intro--center { margin-right: auto; margin-left: auto; text-align: center; }
.home-metrics { border-bottom: 1px solid var(--color-line); background: #fff; }
.home-metrics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-metric { display: grid; gap: 0.3rem; padding: 1.6rem 1.35rem; border-right: 1px solid var(--color-line); }
.home-metric:first-child { padding-left: 0; }
.home-metric:last-child { border-right: 0; }
.home-metric strong { color: var(--color-primary); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.1; }
.home-metric__counter { white-space: nowrap; }
.home-metric > span { color: var(--color-muted); font-size: 0.9rem; }
.home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.home-category-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.home-category-card:hover { border-color: rgba(63, 72, 204, 0.4); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.home-category-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #f8fafc; }
.home-category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.home-category-card:hover .home-category-card__media img { transform: scale(1.04); }
.home-category-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.home-category-card h3 { margin-bottom: 0.55rem; font-size: 1.12rem; }
.home-category-card p { flex: 1; margin-bottom: 1rem; color: var(--color-muted); font-size: 0.94rem; }
.home-category-card a { color: var(--color-primary); font-size: 0.9rem; font-weight: 800; }
.home-tradition__content p { color: var(--color-muted); font-size: 1.06rem; }
.home-course__topics, .home-audience__list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.home-course__topics li { padding: 0.5rem 0.75rem; border: 1px solid rgba(63, 72, 204, 0.18); border-radius: 999px; color: var(--color-primary); background: #f5f6ff; font-size: 0.88rem; font-weight: 700; }
.home-tradition { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.home-tradition__media img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-sm); }
.home-motto { display: inline-block; margin-top: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--color-primary); color: var(--color-primary); font-size: 1.25rem; font-weight: 800; }
.home-course { display: grid; align-items: center; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.home-course__media { padding: 0.55rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); }
.home-course__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: calc(var(--radius-lg) - 0.45rem); object-fit: cover; }
.home-course .button { min-height: 50px; padding-inline: 1.35rem; }
.home-course__topics { margin-bottom: 1.6rem; }
.home-audience { border-top: 1px solid var(--color-line); }
.home-audience__list { justify-content: center; gap: 0.75rem; max-width: 960px; margin-inline: auto; margin-bottom: 0; }
.home-audience__list li { display: flex; flex: 0 0 calc((100% - 2.25rem) / 4); align-items: center; justify-content: center; padding: 0.8rem 0.65rem; border: 1px solid var(--color-line); border-radius: 0.8rem; color: var(--color-ink); background: #fff; font-size: 0.94rem; font-weight: 700; text-align: center; }
.home-cta { padding: clamp(2.5rem, 4vw, 3.5rem) 0; color: #fff; background: linear-gradient(135deg, #3038a9, #3f48cc); }
.home-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.home-cta h2 { max-width: 680px; margin-bottom: 0.6rem; color: #fff; }
.home-cta p { max-width: 680px; margin-bottom: 0; color: #dce0ff; }
.home-cta__actions { display: flex; flex: 0 1 360px; flex-wrap: wrap; gap: 0.7rem; }
.home-cta .button--outline { border-color: #fff; color: #fff; }
.home-cta .button--outline:hover { color: var(--color-primary); background: #fff; }
.home-page.scroll-reveal-ready [data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  will-change: opacity, transform;
}
.home-page.scroll-reveal-ready.scroll-reveal-active [data-scroll-reveal] {
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.home-page.scroll-reveal-ready [data-scroll-reveal="left"] { transform: translate3d(-24px, 0, 0); }
.home-page.scroll-reveal-ready [data-scroll-reveal="right"] { transform: translate3d(24px, 0, 0); }
.home-page.scroll-reveal-ready [data-scroll-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
.home-page .site-footer { padding: 4rem 0 1.5rem; }
.home-footer__grid { display: grid; grid-template-columns: 1.25fr 0.9fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.home-footer__column h2 { margin-bottom: 0.85rem; color: #fff; font-size: 1rem; }
.home-footer__column p, .home-footer__column li, .home-footer__column a { color: #dce0ff; font-size: 0.9rem; }
.home-footer__column p { margin-bottom: 0.65rem; }
.home-footer__column ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.home-footer__column a:hover { color: #fff; }
.home-footer__brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.home-footer__brand img { width: 58px; height: 48px; object-fit: contain; }
.home-footer__brand strong { color: #fff; font-size: 1.2rem; }
.home-footer__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.home-footer__social a { padding: 0.4rem 0.65rem; border: 1px solid rgba(220, 224, 255, 0.35); border-radius: 999px; }
.home-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(220, 224, 255, 0.2); color: #b9c0ec; font-size: 0.82rem; }
.home-footer__bottom a { color: #dce0ff; }
@media (max-width: 1100px) {
  .home-page .site-nav__list > li > a, .home-page .products-menu > summary { padding-inline: 0.55rem; font-size: 0.82rem; }
  .home-page .nav-contact { padding-inline: 0.75rem; }
  .home-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .home-page .products-menu__panel { position: static; min-width: 0; margin: 0.25rem 0 0.35rem; border: 0; border-left: 2px solid #eef0ff; border-radius: 0; box-shadow: none; }
  .home-page .site-nav__list > li > a, .home-page .products-menu > summary, .home-page .nav-contact { width: 100%; justify-content: flex-start; border-radius: 0.65rem; }
  .home-page .nav-contact { margin: 0.25rem 0 0; }
  .home-hero__grid, .home-tradition { grid-template-columns: 1fr; }
  .home-hero__media { max-width: 560px; justify-self: center; }
  .home-course { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 2rem; }
}
@media (max-width: 820px) {
  .home-course { grid-template-columns: 1fr; }
  .home-course__media { width: 100%; max-width: 600px; justify-self: center; order: -1; }
}
@media (max-width: 720px) {
  .home-metrics__grid, .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-metric:nth-child(2) { border-right: 0; }
  .home-metric:nth-child(n + 3) { border-top: 1px solid var(--color-line); }
  .home-category-card__body { padding: 1rem; }
  .home-cta__inner { grid-template-columns: 1fr; }
  .home-cta__inner { display: grid; }
  .home-cta__actions { justify-content: flex-start; }
}
@media (max-width: 500px) {
  .home-audience__list li { flex-basis: calc((100% - 0.75rem) / 2); font-size: 0.88rem; }
  .home-audience__list li:last-child { flex-basis: 100%; }
  .home-page .header-inner { min-height: 76px; }
  .home-page .brand__logo { width: 64px; height: 52px; }
  .home-hero { padding-top: 2rem; }
  .home-hero h1 { font-size: clamp(1.95rem, 9vw, 2.65rem); line-height: 1.12; }
  .home-hero__actions, .home-cta__actions { display: grid; }
  .home-hero__actions .button, .home-cta__actions .button { width: 100%; }
  .home-metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category-grid, .home-footer__grid { grid-template-columns: 1fr; }
  .home-metric, .home-metric:first-child, .home-metric:last-child { padding: 1rem .6rem; border-right: 0; border-top: 1px solid var(--color-line); }
  .home-metric:nth-child(-n + 2) { border-top: 0; }
  .home-page.scroll-reveal-ready [data-scroll-reveal] { transform: translate3d(0, 16px, 0); }
  .home-page.scroll-reveal-ready [data-scroll-reveal="left"] { transform: translate3d(-12px, 0, 0); }
  .home-page.scroll-reveal-ready [data-scroll-reveal="right"] { transform: translate3d(12px, 0, 0); }
  .home-page.scroll-reveal-ready [data-scroll-reveal].is-revealed { transform: translate3d(0, 0, 0); }
  .home-footer__bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .eyebrow,
  .home-hero__title-line,
  .home-hero__content > p,
  .home-hero__actions,
  .home-hero__media img {
    animation: none;
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-page.scroll-reveal-ready [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
