/* ==========================================================================
   MASTER TAX — HOME
   Estrutura revisada para reproduzir o layout do vídeo de referência.
   Mantém 4 carrosséis de logos.
   ========================================================================== */

/* ==========================================================================
   1. FONTES E VARIÁVEIS
   ========================================================================== */

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-Thin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-ExtraLight.woff2") format("woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft";
  src: url("../fonts/AmpleSoftPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ff6818;
  --orange-dark: #e75a00;
  --ink: #242424;
  --muted: #686762;
  --surface: #f1f1ed;
  --surface-2: #f6f6f2;
  --warm: #66584b;
  --header: 70px;
  --container: 1340px;
  --container-narrow: 1180px;
  --font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.popup-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

.container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.section { padding: 92px 0; }

.eyebrow {
  margin: 0 0 14px;
  color: #5f5248;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow--center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 5000;
  background: #fff;
  padding: 8px 12px;
}
.skip-link:focus { left: 8px; }

/* ==========================================================================
   3. BOTÕES
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.button:hover { transform: translateY(-1px); }

.button--accent {
  color: #fff;
  background: var(--orange);
}
.button--accent:hover { background: var(--orange-dark); }

/* ==========================================================================
   4. HEADER
   Topo: transparente + logo branca.
   Após 8%: fundo escuro + logo colorida.
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.20);
  box-shadow: none;
  transition: background-color .38s ease, border-color .38s ease, box-shadow .38s ease, backdrop-filter .38s ease;
}

.site-header.is-scrolled {
  background: rgba(39,39,36,.92);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 8px 26px rgba(0,0,0,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 38px;
  border-right: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
}

.brand__logo {
  width: 180px;
  filter: brightness(0) invert(1);
  transition: filter .38s ease;
}

.site-header.is-scrolled .brand__logo { filter: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-right: auto;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 700;
}

.site-nav a:hover { color: #ffb181; }

.nav-item--dropdown {
  position: relative;
}

.nav-item--dropdown > a {
  display: inline-flex;
  align-items: center;
}

.nav-caret {
  display: inline-flex;
  margin-left: 3px;
  line-height: 0;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  flex-direction: column;
  min-width: 230px;
  padding: 28px 0 10px;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: rgba(20,20,20,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  position: relative;
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown a:hover { background: rgba(255,255,255,.06); }

.button--header {
  padding-inline: 28px;
  color: #fff;
  background: rgba(120,119,116,.88);
  font-size: .88rem;
}
.button--header:hover { background: rgba(140,139,136,.96); }

.nav-toggle {
  display: none;
  padding: 6px;
  background: none;
  border: 0;
}
.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* ==========================================================================
   5. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 640px;
  height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #151515;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--header);
}

.hero__content { max-width: 720px; }

.hero h1 {
  margin: 0 0 30px;
  border-left: 1px solid rgba(255,255,255,.3);
  padding-left: 30px;
  font-family: "AmpleSoft", var(--font);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: normal;
}

.hero p {
  margin: 0 0 26px;
  max-width: 610px;
  color: rgba(255,255,255,.92);
  font-family: "AmpleSoft", var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero__dots {
  position: absolute;
  right: 9%;
  bottom: 42px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero__dots span {
  width: 30px;
  height: 2px;
  background: rgba(255,255,255,.38);
}
.hero__dots .is-active { background: #fff; }

/* ==========================================================================
   6. CLIENTES — EXATAMENTE 4 CARROSSÉIS
   ========================================================================== */

.clients {
  overflow: hidden;
  background: #fbfbf8;
  border-bottom: 1px solid #ece8e1;
}

.logo-marquee {
  --gap: 72px;
  overflow: hidden;
  padding: 19px 0;
  border-bottom: 1px solid #e8e3da;
}
.logo-marquee:last-child { border-bottom: 0; }

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.logo-marquee--reverse .logo-marquee__track {
  animation-direction: reverse;
  animation-duration: 39s;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
}

.logo-marquee img {
  width: 132px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-marquee img:hover {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   7. SOBRE NÓS
   ========================================================================== */

.about {
  overflow: hidden;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 580px;
  gap: clamp(46px,5vw,88px);
  align-items: center;
}

.about-copy {
  position: relative;
  max-width: 680px;
  padding-left: 38px;
}

.about-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 205px;
  background: rgba(255,104,24,.72);
}

.about-copy .eyebrow {
  margin-bottom: 26px;
  font-size: .9rem;
}

.about-copy h2 {
  margin: 0 0 38px;
  font-family: "AmpleSoft", var(--font);
  font-size: clamp(2rem,2.65vw,3rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.about-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: #5e5c58;
  font-size: .98rem;
  line-height: 1.7;
}

.about-copy__strong {
  margin-top: 25px !important;
  color: #242424 !important;
  font-size: 1.04rem !important;
  font-weight: 700;
  line-height: 1.6 !important;
}

.about-copy .button { margin-top: 18px; }

/* Composição como a referência: fotos + cards separados e alinhados */
.about-visual {
  position: relative;
  width: 580px;
  max-width: 100%;
  height: 490px;
  min-height: 490px;
  margin-left: auto;
}

.about-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo--top {
  top: 0;
  left: 0;
  width: 355px;
  height: 260px;
  border-radius: 0 64px 0 64px;
}

.about-photo--bottom {
  right: 0;
  bottom: 0;
  width: 355px;
  height: 260px;
  border-radius: 0 64px 0 64px;
}

.stat {
  position: absolute;
  z-index: 3;
  width: 195px;
  height: 195px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--warm);
  color: #fff;
  border-radius: 0 34px 0 34px;
}

.stat--top {
  top: 0;
  right: 0;
}

.stat--bottom {
  left: 0;
  bottom: 0;
}

.stat__icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: #ffae56;
}
.stat__icon svg {
  width: 100%;
  height: 100%;
}

.stat strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 11px;
  color: #fff;
  font-family: "AmpleSoft", var(--font);
  font-size: 3.05rem;
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.03em;
}

.stat strong small {
  font-size: .42em;
  font-weight: 700;
}

.stat > span:last-child {
  margin: 0;
  color: #fff;
  font-family: "AmpleSoft", var(--font);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ==========================================================================
   8. SOLUÇÕES
   ========================================================================== */

.solutions {
  width: 100%;
  min-height: 760px;
  display: block;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.solutions__container {
  width: min(calc(100% - 36px), 1500px);
  max-width: 1500px;
  margin-inline: auto;
}

.solutions h2,
.blog h2 {
  margin: 0;
  font-family: "AmpleSoft", var(--font);
  font-size: clamp(2rem,3vw,3rem);
  line-height: 1.2;
}

.solutions-grid {
  --size: clamp(300px, 27vw, 440px);
  width: 100%;
  min-height: calc(var(--size) + 70px);
  margin-top: 56px;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.solution-card {
  position: relative;
  width: var(--size);
  height: var(--size);
  margin-left: calc(var(--size) * -.50);
  flex: 0 0 auto;
  overflow: hidden;
  color: #242424;
  background: #fff;
  border: 1px solid rgba(255,104,24,.42);
  border-radius: 50%;
  text-decoration: none;
  transition: color .35s ease, background-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.solution-card:first-child { margin-left: 0; }
.solution-card:nth-child(1) { z-index: 1; }
.solution-card:nth-child(2) { z-index: 2; }
.solution-card:nth-child(3) { z-index: 3; }
.solution-card:nth-child(4) { z-index: 2; }
.solution-card:nth-child(5) { z-index: 1; }

.solution-card__media,
.solution-card__overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) blur(2px);
  transform: scale(1.08);
}

.solution-card__overlay {
  background: rgba(18,18,18,.58);
}

.solution-card__content {
  position: relative;
  z-index: 2;
  width: 68%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-align: left;
}

.solution-card__content img {
  max-width: 175px;
  max-height: 50px;
}

.solution-card__content span {
  font-size: .98rem;
  line-height: 1.52;
}

.solution-card.is-active,
.solution-card:hover,
.solution-card:focus-visible {
  z-index: 100;
  color: #fff;
  border-color: rgba(255,104,24,.32);
  box-shadow: 0 18px 42px rgba(0,0,0,.17);
  transform: scale(1.08);
}
.solution-card.is-active .solution-card__media,
.solution-card.is-active .solution-card__overlay,
.solution-card:hover .solution-card__media,
.solution-card:hover .solution-card__overlay,
.solution-card:focus-visible .solution-card__media,
.solution-card:focus-visible .solution-card__overlay { opacity: 1; }
.solution-card.is-active .solution-card__content img,
.solution-card:hover .solution-card__content img,
.solution-card:focus-visible .solution-card__content img { filter: none; }
.solution-card:focus-visible {
  outline: 3px solid rgba(255, 106, 20, 0.52);
  outline-offset: 5px;
}

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog {
  width: 100%;
  background: #f4f4f0;
  text-align: center;
}

.blog .container {
  width: min(
    calc(100% - 80px),
    1380px
  );

  max-width: 1380px;
}


/* ==========================================================================
   GRID
   ========================================================================== */

/* ==========================================================================
   BLOG — CARROSSEL HORIZONTAL
   ========================================================================== */

.blog {
  width: 100%;
  overflow: hidden;

  background: #f4f4f0;

  text-align: center;
}

.blog .container {
  width: min(
    calc(100% - 80px),
    1380px
  );

  max-width: 1380px;

  margin-inline: auto;
}


/* ==========================================================================
   CARROSSEL
   --------------------------------------------------------------------------
   Desktop:
   - 3 posts visíveis
   - 6 posts carregados
   - scroll horizontal
   ========================================================================== */

.blog-grid {
  display: flex;

  width: 100%;

  gap: 34px;

  margin-top: 52px;

  padding-bottom: 22px;

  overflow-x: auto;
  overflow-y: hidden;

  text-align: left;

  scroll-behavior: smooth;

  scroll-snap-type: x proximity;

  overscroll-behavior-inline: contain;

  -webkit-overflow-scrolling: touch;
}


/* ==========================================================================
   BARRA DE ROLAGEM
   ========================================================================== */

.blog-grid::-webkit-scrollbar {
  height: 7px;
}

.blog-grid::-webkit-scrollbar-track {
  background: #deddd8;

  border-radius: 100px;
}

.blog-grid::-webkit-scrollbar-thumb {
  background: #66584b;

  border-radius: 100px;
}

.blog-grid::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}


/* Firefox */

.blog-grid {
  scrollbar-width: thin;

  scrollbar-color:
    #66584b
    #deddd8;
}


/* ==========================================================================
   CARD
   --------------------------------------------------------------------------
   3 cards ocupam aproximadamente a largura inteira.
   ========================================================================== */

.blog-card {
  width: calc(
    (100% - 68px) / 3
  );

  min-width: calc(
    (100% - 68px) / 3
  );

  flex:
    0
    0
    calc(
      (100% - 68px) / 3
    );

  display: flex;

  flex-direction: column;

  background: transparent;

  scroll-snap-align: start;
}


/* ==========================================================================
   IMAGEM
   ========================================================================== */

.blog-card__image {
  position: relative;

  display: block;

  width: 100% !important;

  height: 280px !important;
  max-height: 280px !important;

  flex:
    0
    0
    280px;

  overflow: hidden;

  border-radius:
    0
    42px
    0
    42px;

  text-decoration: none;
}

.blog-card__image img {
  display: block;

  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: 100% !important;

  object-fit: cover !important;

  object-position: center !important;

  transform: scale(1);

  transition:
    transform .45s ease;
}


/* ==========================================================================
   HOVER — FOTO
   ========================================================================== */

.blog-card:hover
.blog-card__image img {
  transform: scale(1.055);
}


/* ==========================================================================
   CONTEÚDO
   ========================================================================== */

.blog-card__content {
  position: relative;

  width: 100%;

  padding:
    18px
    48px
    10px
    0;
}


/* ==========================================================================
   CATEGORIA
   ========================================================================== */

.blog-card__tag {
  display: inline-block;

  margin:
    0
    0
    14px;

  padding:
    5px
    17px;

  color: var(--orange);

  border:
    1px solid
    rgba(255, 104, 24, .7);

  font-size: .7rem;

  line-height: 1.3;

  letter-spacing: .04em;

  text-transform: uppercase;
}


/* ==========================================================================
   TÍTULO
   ========================================================================== */

.blog-card h3 {
  margin:
    0
    0
    13px;

  font-family:
    "AmpleSoft",
    var(--font);

  font-size:
    clamp(
      1.25rem,
      1.5vw,
      1.65rem
    );

  line-height: 1.25;
}

.blog-card h3 a {
  color: #242424;

  text-decoration: none;

  transition:
    color .25s ease;
}


/* Título fica laranja */

.blog-card:hover h3 a {
  color: var(--orange);
}


/* ==========================================================================
   RESUMO
   ========================================================================== */

.blog-card p {
  margin: 0;

  color: #77736f;

  font-size: .92rem;

  line-height: 1.55;

  transition:
    color .25s ease;
}

.blog-card:hover p {
  color: var(--orange);
}


/* ==========================================================================
   SETA DO POST
   ========================================================================== */

.blog-card__arrow {
  position: absolute;

  right: 0;
  bottom: 8px;

  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #66584b;

  color: #fff;

  border-radius: 50%;

  text-decoration: none;

  font-size: 1.1rem;

  transition:
    background-color .25s ease,
    transform .25s ease;
}

.blog-card:hover
.blog-card__arrow {
  background: var(--orange);

  transform: translateX(3px);
}


/* ==========================================================================
   LOADING
   ========================================================================== */

.blog-loading {
  width: 100%;

  flex:
    0
    0
    100%;

  padding: 40px 0;

  color: #77736f;

  text-align: center;
}


/* ==========================================================================
   TABLET
   --------------------------------------------------------------------------
   Mostra aproximadamente 2 posts por vez.
   ========================================================================== */

@media (max-width: 900px) {

  .blog-card {
    width: calc(
      (100% - 24px) / 2
    );

    min-width: calc(
      (100% - 24px) / 2
    );

    flex-basis:
      calc(
        (100% - 24px) / 2
      );
  }

  .blog-grid {
    gap: 24px;
  }

  .blog-card__image {
    height: 250px !important;
    max-height: 250px !important;

    flex-basis: 250px;
  }

}


/* ==========================================================================
   MOBILE
   --------------------------------------------------------------------------
   Um card por vez, deixando parte do próximo aparecer.
   ========================================================================== */

@media (max-width: 760px) {

  .blog .container {
    width:
      calc(100% - 30px);
  }

  .blog-grid {
    gap: 18px;
  }

  .blog-card {
    width: 88%;

    min-width: 88%;

    flex-basis: 88%;
  }

  .blog-card__image {
    height: 230px !important;
    max-height: 230px !important;

    flex-basis: 230px;
  }

}
/* ==========================================================================
   BLOG — ESCONDER SCROLLBAR NATIVA
   ========================================================================== */

.blog-grid {
  scrollbar-width: none;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}


/* ==========================================================================
   BLOG — INDICADOR DO CARROSSEL
   ========================================================================== */

.blog-progress {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  margin-top: 26px;
}


.blog-progress__item {
  display: block;

  width: 58px;
  height: 5px;

  background: #ffb25b;

  border-radius: 100px;

  transition:
    background-color .25s ease,
    opacity .25s ease;
}


.blog-progress__item.is-active {
  background: var(--orange);
}


/* ==========================================================================
   CARD
   ========================================================================== */

.blog-card {
  min-width: 0;

  background: transparent;

  display: flex;
  flex-direction: column;
}


/* ==========================================================================
   IMAGEM
   --------------------------------------------------------------------------
   Altura controlada para manter o padrão da referência.
   ========================================================================== */

.blog-card__image {
  display: block;

  width: 100%;
  height: 285px;

  overflow: hidden;

  border-radius:
    0
    42px
    0
    42px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);

  transition:
    transform .45s ease;
}


/* Leve zoom ao passar o mouse */

.blog-card:hover
.blog-card__image img {
  transform: scale(1.045);
}


/* ==========================================================================
   CONTEÚDO
   ========================================================================== */

.blog-card__content {
  position: relative;

  padding-top: 18px;

  padding-right: 50px;
}


/* ==========================================================================
   CATEGORIA
   ========================================================================== */

.blog-card__tag {
  display: inline-block;

  margin-bottom: 14px;

  padding:
    5px
    17px;

  color: var(--orange);

  border:
    1px solid
    rgba(255, 104, 24, .65);

  font-size: .7rem;

  line-height: 1.3;

  text-transform: uppercase;

  letter-spacing: .04em;

  transition:
    color .25s ease,
    border-color .25s ease;
}


/* ==========================================================================
   TÍTULO
   ========================================================================== */

.blog-card h3 {
  margin:
    0
    0
    12px;

  font-family:
    "AmpleSoft",
    var(--font);

  font-size:
    clamp(
      1.28rem,
      1.5vw,
      1.65rem
    );

  line-height: 1.25;
}

.blog-card h3 a {
  color: #252525;

  text-decoration: none;

  transition:
    color .25s ease;
}


/* ==========================================================================
   TEXTO
   ========================================================================== */

.blog-card p {
  margin: 0;

  color: #77736f;

  font-size: .92rem;

  line-height: 1.55;

  transition:
    color .25s ease;
}


/* ==========================================================================
   HOVER DO CARD
   --------------------------------------------------------------------------
   Ao passar o mouse:
   - imagem dá leve zoom
   - título fica laranja
   - texto também ganha tom laranja suave
   ========================================================================== */

.blog-card:hover h3 a {
  color: var(--orange);
}

.blog-card:hover p {
  color: #d96a24;
}


/* ==========================================================================
   SETA
   ========================================================================== */

.blog-card__arrow {
  position: absolute;

  right: 0;
  bottom: 2px;

  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #fff;

  background: #66584b;

  border-radius: 50%;

  text-decoration: none;

  font-size: 1.15rem;

  transition:
    background-color .25s ease,
    transform .25s ease;
}

.blog-card:hover
.blog-card__arrow {
  background: var(--orange);

  transform:
    translateX(3px);
}


/* ==========================================================================
   CARREGAMENTO
   ========================================================================== */

.blog-loading {
  grid-column:
    1 / -1;

  padding:
    40px
    0;

  color: #77736f;

  text-align: center;
}


/* ==========================================================================
   RESPONSIVO — TABLET
   ========================================================================== */

@media (max-width: 900px) {

  .blog-grid {
    grid-template-columns:
      1fr
      1fr;
  }

  .blog-card__image {
    height: 260px;
  }

}


/* ==========================================================================
   RESPONSIVO — MOBILE
   ========================================================================== */

@media (max-width: 760px) {

  .blog .container {
    width:
      calc(100% - 30px);
  }

  .blog-grid {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .blog-card__image {
    height: 240px;
  }

}

/* ==========================================================================
   10. DEMONSTRAÇÃO
   ========================================================================== */

.demo {
  width: 100%;
  display: block;
  padding: 72px 0;
  background:
    linear-gradient(
      to bottom,
      #fff 0,
      #fff 38%,
      var(--warm) 38%,
      var(--warm) 100%
    );
}

.demo .container {
  width: min(calc(100% - 90px), 1340px);
  max-width: 1340px;
}

.demo__shell {
  width: 100%;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  overflow: hidden;
  background: #fff;
  border-radius: 0 46px 0 46px;
  box-shadow: 0 12px 34px rgba(0,0,0,.07);
}

.demo__form-wrap {
  padding: 68px 70px 58px;
}

.demo__heading {
  position: relative;
  padding-left: 30px;
}

.demo__heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255,104,24,.72);
}

.demo__form-wrap h2 {
  margin: 0 0 34px;
  font-family: "AmpleSoft", var(--font);
  font-size: clamp(2rem,2.8vw,2.8rem);
}

.demo__media {
  margin: 0;
  min-height: 650px;
}

.demo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-form-frame { min-height: 360px; }

/* ==========================================================================
   FOOTER — MASTER TAX
   Baseado nas proporções reais do footer original
   ========================================================================== */


/* ==========================================================================
   BASE
   ========================================================================== */

.site-footer {
  width: 100%;

  background: #66584b;

  color: #fff;
}


/* ==========================================================================
   PARTE SUPERIOR
   ========================================================================== */

.footer-top {
  width: 100%;

  padding:
    72px
    0
    64px;
}


/* ==========================================================================
   ESTRUTURA PRINCIPAL
   --------------------------------------------------------------------------
   Original:
   50% marca
   25% contatos
   25% menus
   ========================================================================== */

.footer-layout {
  display: grid;

  grid-template-columns:
    2fr
    1fr
    1fr;

  gap: 54px;

  align-items: start;
}


/* ==========================================================================
   COLUNAS
   ========================================================================== */

.footer-col {
  min-width: 0;
}


/* ==========================================================================
   MARCA — LOGO + ÍCONES
   ========================================================================== */

.footer-brand-row {
  display: flex;

  align-items: center;

  gap: 42px;
}


/* ==========================================================================
   LOGO
   --------------------------------------------------------------------------
   No HTML original: 226 x 50
   ========================================================================== */

.footer-logo {
  flex:
    0
    0
    auto;

  display: block;
}


.footer-logo img {
  display: block;

  width: 226px;
  height: auto;

  max-width: none;

  filter: none;
}


/* ==========================================================================
   REDES SOCIAIS SUPERIORES
   ========================================================================== */

.footer-social-boxes {
  display: flex;

  align-items: center;

  gap: 8px;
}


.footer-social-boxes a {
  width: 42px;
  height: 42px;

  flex:
    0
    0
    42px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #fff;

  background: transparent;

  border:
    1px solid
    rgba(255, 255, 255, .85);

  border-radius: 6px;

  text-decoration: none;

  transition:
    background-color .2s ease,
    border-color .2s ease;
}


.footer-social-boxes a:hover {
  background: var(--orange);

  border-color: var(--orange);
}


/* Ícone real */

.footer-social-boxes svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.footer-social-boxes
.footer-social-fill {
  fill: currentColor;

  stroke: none;
}


/* ==========================================================================
   FRASE DA MARCA
   ========================================================================== */

.footer-brand-text {
  max-width: 670px;

  margin:
    34px
    0
    0;

  color: #fff;

  font-family:
    "AmpleSoft",
    var(--font);

  font-size:
    1.65rem;

  font-weight: 700;

  line-height: 1.35;
}


/* ==========================================================================
   TÍTULOS
   ========================================================================== */

.footer-col h3 {
  margin:
    0
    0
    20px;

  color: #fff;

  font-family:
    "AmpleSoft",
    var(--font);

  font-size: 1.15rem;

  font-weight: 700;

  line-height: 1.2;
}


/* ==========================================================================
   CONTATOS
   ========================================================================== */

.footer-email {
  display: flex;

  align-items: flex-start;

  gap: 7px;

  color: #fff;

  text-decoration: none;

  font-size: .9rem;

  line-height: 1.7;
}


.footer-email svg {
  width: 18px;
  height: 18px;

  flex:
    0
    0
    18px;

  margin-top: 4px;

  fill: none;

  stroke: #ff9a35;

  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================================
   REDES INLINE
   ========================================================================== */

.footer-social-inline {
  display: flex;

  align-items: center;

  gap: 24px;

  margin-top: 24px;
}


.footer-social-inline a {
  color: #fff;

  text-decoration: none;

  font-size: .82rem;

  font-weight: 700;

  line-height: 1;
}


.footer-social-inline a:hover {
  color: #ffb25b;
}


/* ==========================================================================
   ÚLTIMA COLUNA — 2 MENUS
   ========================================================================== */

.footer-col--menus {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 36px;
}


/* ==========================================================================
   LINKS
   ========================================================================== */

.footer-menu a {
  display: block;

  width: fit-content;

  margin:
    0
    0
    12px;

  color:
    rgba(255, 255, 255, .97);

  text-decoration: none;

  font-size: .88rem;

  line-height: 1.4;

  transition:
    color .2s ease;
}


.footer-menu a:hover {
  color: #ffb25b;
}


/* ==========================================================================
   FAIXA LARANJA
   ========================================================================== */

.footer-bottom {
  width: 100%;

  padding:
    14px
    0;

  background: var(--orange);

  color: #fff;

  font-size: .72rem;
}


.footer-bottom__inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


.footer-bottom a {
  color: inherit;

  text-decoration: none;
}


.footer-bottom a:hover {
  text-decoration: underline;
}


.footer-credit {
  margin-left: auto;

  text-align: right;

  white-space: nowrap;
}


/* ==========================================================================
   NOTEBOOK
   ========================================================================== */

@media (max-width: 1150px) {

  .footer-layout {
    grid-template-columns:
      1.65fr
      .9fr
      1fr;

    gap: 36px;
  }


  .footer-brand-row {
    gap: 26px;
  }


  .footer-logo img {
    width: 205px;
  }


  .footer-social-boxes a {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }


  .footer-brand-text {
    font-size: 1.45rem;
  }

}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 900px) {

  .footer-layout {
    grid-template-columns:
      1fr
      1fr;

    row-gap: 45px;
  }


  .footer-col--brand {
    grid-column:
      1 / -1;
  }


  .footer-brand-text {
    max-width: 680px;
  }


  .footer-col--menus {
    grid-template-columns:
      1fr
      1fr;
  }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 650px) {

  .footer-top {
    padding:
      50px
      0
      42px;
  }


  .footer-layout {
    grid-template-columns: 1fr;

    gap: 38px;
  }


  .footer-col--brand {
    grid-column: auto;
  }


  .footer-brand-row {
    flex-direction: column;

    align-items: flex-start;

    gap: 24px;
  }


  .footer-logo img {
    width: 210px;
  }


  .footer-brand-text {
    margin-top: 28px;

    font-size: 1.4rem;
  }


  .footer-col--menus {
    grid-template-columns:
      1fr
      1fr;

    gap: 30px;
  }


  .footer-bottom__inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }


  .footer-credit {
    margin-left: 0;

    text-align: left;

    white-space: normal;
  }

}
/* ==========================================================================
   12. POPUP
   ========================================================================== */

.lead-popup[hidden] { display: none; }

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
}

.lead-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px,94vw);
  height: min(690px,88vh);
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  overflow: hidden;
  background: #f6f7f8;
  border-radius: 15px;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

/* ==========================================================================
   POPUP — BOTÃO DE FECHAR
   ========================================================================== */

.lead-popup__close {
  position: absolute;

  top: 18px;
  right: 22px;

  z-index: 5;

  width: auto;
  height: auto;

  padding: 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: #111;

  font-family: Arial, sans-serif;
  font-size: 3rem;
  font-weight: 400;

  line-height: 1;

  cursor: pointer;

  box-shadow: none;

  appearance: none;
  -webkit-appearance: none;
}


/* Hover */

.lead-popup__close:hover {
  color: var(--orange);

  background: transparent;

  border: 0;

  box-shadow: none;
}


/* Clique / foco */

.lead-popup__close:focus,
.lead-popup__close:active {
  border: 0;

  background: transparent;

  box-shadow: none;

  outline: none;
}

.lead-popup__visual {
  position: relative;
  overflow: hidden;
  background: #111;
}

.lead-popup__visual-bg,
.lead-popup__visual-overlay {
  position: absolute;
  inset: 0;
}

.lead-popup__visual-bg {
  background: url("../img/placeholders/mastertax.webp") center/cover no-repeat;
}

.lead-popup__visual-overlay { background: rgba(0,0,0,.66); }

.lead-popup__visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 80px 70px 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.lead-popup__visual-content h2 {
  margin: 0 0 32px;
  color: var(--orange);
  font-family: "AmpleSoft", var(--font);
  font-size: clamp(2.1rem,3.2vw,3.15rem);
  line-height: 1.2;
}

.lead-popup__visual-content p {
  max-width: 470px;
  margin: 0 0 48px;
  font-family: "AmpleSoft", var(--font);
  font-size: 1.45rem;
  line-height: 1.45;
}

.lead-popup__form {
  padding: 58px 32px 30px 48px;
  overflow: auto;
  background: #f5f6f7;
}

/* ==========================================================================
   13. RESPONSIVO
   ========================================================================== */

@media (max-width: 1180px) {
  .container { width: min(calc(100% - 48px), var(--container)); }

  .site-nav { gap: 24px; }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy { max-width: 760px; }

  .about-visual {
    margin: 24px auto 0;
  }

  .solutions-grid {
    --size: 330px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 8vw;
  }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }

  .demo__shell { grid-template-columns: 1fr; }
  .demo__media { min-height: 420px; }

  .hero h1 { font-size: 40px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 30px); }

  .header-inner { gap: 15px; }
  .brand {
    margin-right: auto;
    padding-right: 0;
    border-right: 0;
  }

  .brand__logo { width: 145px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    background: #222;
  }
  .site-nav.is-open { display: flex; }
  .button--header { display: none; }

  .nav-item--dropdown {
    width: 100%;
  }

  .nav-dropdown {
    display: flex;
    position: static;
    margin: 6px 0 4px 14px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    padding: 8px 0;
    font-weight: 600;
    opacity: .85;
  }

  .hero {
    min-height: 640px;
    height: 84svh;
  }
  .hero h1 { font-size: 32px; }

  .about-copy { padding-left: 24px; }
  .about-copy::before { height: 220px; }
  .about-copy h2 { font-size: 2.2rem; }

  .about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .about-photo,
  .stat {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .about-photo--top,
  .about-photo--bottom {
    height: 260px;
    border-radius: 0 52px 0 52px;
  }

  .stat {
    height: auto;
    min-height: 210px;
  }

  .blog .container,
  .demo .container {
    width: calc(100% - 30px);
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .demo__form-wrap {
    padding: 42px 24px;
  }

  .demo__media { min-height: 300px; }

  .footer-main { grid-template-columns: 1fr; }

  .lead-popup { padding: 12px; }

  .lead-popup__dialog {
    height: min(760px,94vh);
    grid-template-columns: 1fr;
    grid-template-rows: 235px 1fr;
  }

  .lead-popup__visual-content { padding: 25px; }
  .lead-popup__visual-content h2 {
    margin-bottom: 12px;
    font-size: 1.8rem;
  }
  .lead-popup__visual-content p {
    margin: 0;
    font-size: 1rem;
  }
  .lead-popup__visual-content img { display: none; }
  .lead-popup__form { padding: 34px 20px 24px; }

  .lead-popup__close {
    top: 8px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    font-size: 2.5rem;
  }
}
/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */

.whatsapp-float {
  position: fixed;

  right: 28px;
  bottom: 28px;

  z-index: 9999;

  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #19cf68;

  border-radius: 50%;

  color: #fff;

  text-decoration: none;

  box-shadow:
    0 7px 20px
    rgba(0, 0, 0, .25);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}


.whatsapp-float svg {
  width: 39px;
  height: 39px;

  fill: currentColor;
}


.whatsapp-float:hover {
  background: #13bd5c;

  transform:
    translateY(-3px)
    scale(1.04);

  box-shadow:
    0 10px 26px
    rgba(0, 0, 0, .28);
}


.whatsapp-float:focus-visible {
  outline:
    3px solid
    rgba(255, 255, 255, .9);

  outline-offset: 4px;
}


/* MOBILE */

@media (max-width: 720px) {

  .whatsapp-float {
    right: 18px;
    bottom: 18px;

    width: 58px;
    height: 58px;
  }


  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }

}