@font-face {
  font-family: "Gilroy H";
  src: url("../fonts/Gilroy-Heavy.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Gilroy B";
  src: url("../fonts/Gilroy-Bold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Gilroy SB";
  src: url("../fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Gilroy R";
  src: url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Gilroy RI";
  src: url("../fonts/Gilroy-RegularItalic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Gilroy M";
  src: url("../fonts/Gilroy-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-light: #f6f6f6;
  --bg-dark: #121212;
  --bg-footer: #1a1a1a;

  --text-dark: #202020;
  --text-light: #fff;

  --bg-claro: var(--bg-light);
  --texto-escuro: var(--text-dark);

  --brand: #f69743;
  --brand-hover: #f88622;
  --header-bg: #0c0c0c;

  /* Paleta das tags de categorias de projeto */
  --tag-projeto-default: #ffffff;
  --tag-projeto-filme: #ffffff;
  --tag-projeto-campanha: #ffffff;
  --tag-projeto-motion: #ffffff;
  --tag-projeto-solucao: #ffffff;
  --tag-projeto-branding: #ffffff;
  --tag-projeto-fotografia: #ffffff;
  --tag-projeto-texto: #000000;

  --gradient-dark: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 1) 50%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --container-pad: 40px;
}

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

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
}

@supports (-webkit-touch-callout: none) {

  html,
  body {
    min-height: -webkit-fill-available;
  }
}

body {
  margin: 0;
  font-family: "Gilroy M", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.22;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

hr {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.tt-container,
.container-fluid {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.conteudo {
  p {
    margin-bottom: 2rem;
  }

  ul {
    padding-left: 1rem;
  }

  li {
    margin-bottom: .6rem;
  }
}

.wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}

.wpcf7-not-valid-tip {
  color: #ab1010 !important;
}

.wpcf7 {
  form {
    position: relative;
    transition: opacity .3s ease;

    &.submitting {
      opacity: .5;
    }

    &.submitting::after {
      content: "";
      width: 48px;
      height: 48px;
      border: 5px solid #ab1010;
      border-bottom-color: transparent;
      border-radius: 50%;
      display: inline-block;
      animation: rotation 1s linear infinite;
      position: absolute;
      z-index: 2;
      top: calc(50% - 48px);
      left: calc(50% - 24px);
    }
  }

  .wpcf7-spinner {
    display: none !important;
  }
}

@keyframes rotation {
  to {
    transform: rotate(360deg);
  }
}

.btn-contato {
  width: 209px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--text-light);
  text-decoration: none;
  text-align: center;

  &:hover {
    background: var(--brand-hover);
    color: var(--text-light);
  }
}

.pagina-404 {
  .titulo-pagina h1 {
    font-size: clamp(72px, 15vw, 180px);
    line-height: 1;
    margin: 0;
  }

  .titulo p {
    margin: 8px 0 0;
    color: #6a6a6a;
    font-size: 18px;
  }
}

.btn-404 {
  width: auto;
  min-width: 250px;
  max-width: 100%;
  padding: 14px 26px;
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(248, 134, 34, .28);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;

  svg {
    width: 26px;
    height: 20px;
    flex-shrink: 0;
  }

  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(248, 134, 34, .34);
  }
}

.btn-ver-todos {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;

  &:hover {
    color: var(--text-dark);
  }
}

header {
  .nav-header {
    position: relative;
    width: 100%;
    padding: 22px 30px;
    border-radius: 14px;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(12px) saturate(145%);
    backdrop-filter: blur(12px) saturate(145%);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .14);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;

    .menu-itens {
      display: flex;
      justify-content: center;
      flex: 1;
      
      ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;

        li {
          margin-right: 32px;

          &:last-child {
            margin-right: 0;
          }
        }
      }

      a {
        color: var(--text-light);
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
        text-decoration: none;
      }
    }

    .social-itens {
      display: flex;
      gap: 12px;

      a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        color: var(--text-light);
      }

      svg {
        width: 18px;
        height: 18px;

        path {
          fill: currentColor;
        }
      }
    }

    .nav-search {
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--text-light);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;

      &:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 4px;
      }

      svg {

        circle,
        path {
          stroke: currentColor;
          fill: none;
        }
      }
    }

    .header-search-panel {
      position: absolute;
      right: 24px;
      top: calc(100% + 12px);
      width: min(620px, calc(100vw - 48px));
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, .2);
      background: #111;
      box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
      z-index: 110;
    }

    .header-search-form {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 8px;

      input[type="search"] {
        height: 44px;
        padding: 0 14px;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 255, 255, .35);
        background: #f8f8f8 !important;
        color: #111;
        font-size: 15px;
      }
    }

    .header-search-submit,
    .header-search-close {
      height: 44px;
      border-radius: 999px;
      border: 0;
      padding: 0 18px;
      font-size: 14px;
      font-weight: 600;
      line-height: 1;
      cursor: pointer;
    }

    .header-search-submit {
      background: var(--brand);
      color: #fff;

      &:hover {
        background: var(--brand-hover);
      }
    }

    .header-search-close {
      width: 44px;
      padding: 0;
      background: rgba(255, 255, 255, .14);
      color: #fff;
      font-size: 24px;
    }

    &.search-active {
      z-index: 2147483646;

      .header-search-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        z-index: 2147483647;
      }
    }

    &.active {
      .menu-itens {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }

      .social-itens {
        right: 24px;
        right: calc(24px + env(safe-area-inset-right));
        top: 120px;
        top: calc(120px + env(safe-area-inset-top));
        opacity: 1;
      }

      .open-menu {
        color: var(--text-light);
        opacity: 0;
        pointer-events: none;
      }

      .social-itens a {
        color: var(--text-light);
      }
    }
  }
}

.open-menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-light);
}

.close-menu {
  display: none;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-light);
  position: absolute;
  right: -100vw;
  z-index: 100;
  transition: right .3s ease, opacity .3s ease;
}

.topo-pagina {
  padding: clamp(48px, 7vw, 80px) 0;

  .btn-cta {
    display: inline-block;
    height: fit-content;
    padding: clamp(14px, 2.2vw, 20px) clamp(22px, 4vw, 45px);
    border-radius: 999px;
    border: 1px solid var(--brand-hover);
    background: transparent;
    color: #585858;
    font-family: "Gilroy";
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.1;
    text-decoration: none;
    transition: all .3s ease;
  }
}

.breadcrumb {
  margin-bottom: 21px;

  a {
    display: inline-block;
    padding: 7px 24px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 400;
    line-height: 120%;
    border-radius: 4px 24px 24px 4px;
    background: #eaeaea;
    box-shadow: 3px 0 4px rgba(0, 0, 0, .15);
    text-decoration: none;
    margin-left: -5px;
  }

  li {
    &:first-child a {
      margin-left: 0;
      position: relative;
      z-index: 2;
    }

    &:last-child a {
      background: transparent;
      box-shadow: none;
    }
  }
}

.reading-search {
  padding: 26px 0 84px;

  .bread-crumb {
    margin-bottom: 26px;
  }

  #blog-roll.search {
    padding: 0;
  }

  .page-header {
    margin-bottom: 26px;

    .the-title h1 {
      margin: 0;
      color: #121212;
      font-family: "Gilroy M";
      font-size: clamp(32px, 4vw, 52px);
      line-height: 1.08;
    }
  }

  .post-excerpt {
    margin: 0 0 20px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;

    &:hover {
      transform: translateY(-2px);
      border-color: #ffd4af;
      box-shadow: 0 18px 32px rgba(0, 0, 0, .08);
    }

    .thumb {
      border-radius: 10px;
      overflow: hidden;
    }

    .thumb-img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }

    .hide {
      display: none;
    }
  }

  .excerpt-header {
    margin-bottom: 10px;

    .the-title h1 {
      margin: 0;
      font-size: clamp(24px, 2.2vw, 32px);
      line-height: 1.2;
    }

    .the-title a {
      color: #101010;
      text-decoration: none;
    }

    .the-date p {
      margin: 10px 0 0;
      color: #6d6d6d;
      font-family: "Gilroy R";
      font-size: 14px;
      line-height: 1.35;
    }

    .the-categories {
      margin-top: 8px;
      color: #f88622;
      font-family: "Gilroy M";
      font-size: 12px;
      letter-spacing: .5px;
      text-transform: uppercase;
      line-height: 1.3;
    }

    .the-categories a {
      color: inherit;
      text-decoration: none;
    }
  }

  .the-content a {
    color: #363636;
    font-family: "Gilroy R";
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
  }

  .search-empty {
    margin: 0;
    padding: 18px 20px;
    border-radius: 10px;
    background: #f1f1f1;
    color: #333;
    font-family: "Gilroy R";
    font-size: 16px;
  }

  .pagenate {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pagenate .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #202020;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pagenate .page-numbers.current {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
  }
}

.titulo-pagina {
  h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.12;
  }
}

.card-projeto,
.card-principal {
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  overflow: hidden;

  .box-img {
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
}

.card-projeto {
  img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    aspect-ratio: 331 / 180;
    border-radius: var(--radius-sm);
    transition: transform .5s ease;
  }

  &:hover img {
    transform: scale(1.08);
  }

  .categoria {
    margin: 11px 0;
  }

  p {
    color: #000;
    font-size: 24px;
    font-weight: 500;
  }
}

.card-principal {
  height: 630px;

  img {
    height: 630px;
    object-fit: cover;
  }

  p {
    color: var(--text-light);
    font-size: 40px;
    font-weight: 500;
  }

  .bg-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 630px;
    width: 100%;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
    color: inherit;
    text-decoration: none;
  }
}

:is(.card-redes, .card-projeto, .card-principal, .card-carousel-projeto) {
  .categoria {
    --tag-bg: var(--tag-projeto-default);
    width: fit-content;
    padding: 9px 10px 8px;
    border-radius: 8px;
    background: var(--tag-bg);
    color: var(--tag-projeto-texto);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;

    &.cat-minidoc,
    &.cat-minidocs,
    &.cat-mini-doc,
    &.cat-mini-docs,
    &.cat-motion {
      --tag-bg: var(--tag-projeto-motion);
    }

    &.cat-campanha,
    &.cat-campanhas {
      --tag-bg: var(--tag-projeto-campanha);
    }

    &.cat-webseries,
    &.cat-web-serie,
    &.cat-web-series,
    &.cat-filme,
    &.cat-filmes {
      --tag-bg: var(--tag-projeto-filme);
    }

    &.cat-solucao,
    &.cat-solucoes,
    &.cat-solucoes-estrategicas {
      --tag-bg: var(--tag-projeto-solucao);
    }

    &.cat-branding,
    &.cat-brandings,
    &.cat-brandin {
      --tag-bg: var(--tag-projeto-branding);
    }

    &.cat-fotografia,
    &.cat-fotografias {
      --tag-bg: var(--tag-projeto-fotografia);
    }
  }
}

.newsletter {
  h2 {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    line-height: 120%;
  }

  input {
    width: 100%;
    height: 44px;
    padding-left: 15px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #0a0a0a;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
  }

  .box-imgs img {
    width: 60px;
  }

  .box-form-news {
    .wpcf7 {
      form {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
      }
    }

    .wpcf7-form-control-wrap {
      flex: 1;
      min-width: 220px;
    }
  }

  .wpcf7 {

    input[type="submit"],
    button,
    .wpcf7-submit {
      margin-top: 1rem;
      height: 36px;
      font-size: 14px;
      align-items: center;
      justify-content: center;
    }
  }

  button br {
    display: none;
  }
}
.botoes-flutuantes {
  position: fixed;
  right: 3rem;
  right: calc(3rem + env(safe-area-inset-right));
  bottom: 0;
  bottom: env(safe-area-inset-bottom);
  z-index: 2147483647;
  display: flex;
  flex-direction: column;

  a {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;

    &.btn-atendimento {
      background: #f89742;
    }

    &.btn-chat {
      background: #808889;
    }

    &.btn-whatsapp {
      background: #00cc45;
    }
  }
}

footer {
  padding-top: 60px;
  background: var(--bg-light);

  .box-footer {
    border-radius: var(--radius-lg);
    background: #1c1c1c;
    padding: 48px 40px;
  }

  .box-contato {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    h2 {
      max-width: 420px;
      color: var(--text-light);
      font-size: 28px;
      font-weight: 600;
      line-height: 120%;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .btn-contato {
      padding: 10px 20px;
      font-size: 12px;
    }
  }

  hr {
    height: 3px !important;
    background: #2d2d2d;
    margin: 24px 0;
  }

  .box-primario,
  .box-secundario,
  .footer-col {
    display: flex;
    flex-direction: column;
  }

  .box-primario a {
    color: var(--text-light);
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: .64px;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-decoration: none;
  }

  .box-secundario a {
    max-width: 110px;
    padding-left: 10px;
    color: #9f9f9f;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 12px;
    text-decoration: none;
    text-transform: none;
  }

  .box-endereco {
    h3 {
      color: #ffa353;
      font-size: 12px;
      font-weight: 400;
      line-height: 120%;
      margin-bottom: 17px;
    }

    p {
      color: var(--text-light);
      font-size: 10px;
      font-weight: 400;
      line-height: 120%;
      letter-spacing: .8px;
      margin-bottom: 38px;
    }

    a {
      display: block;
      margin-bottom: 12px;
      color: var(--text-light);
      font-size: 10px;
      font-weight: 600;
      line-height: 120%;
      letter-spacing: .8px;
      text-decoration: underline;
      text-decoration-skip-ink: none;
    }
  }

  .footer-links-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-enderecos {
    gap: 18px;
  }

  .footer-copy {
    max-width: 1100px;
    margin: 0 auto;
  }

  .copy {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    p,
    a {
      margin: 0;
      color: #808889;
      font-size: 14px;
      font-weight: 400;
    }
  }
}

body.is-dark {
  background: var(--bg-dark) !important;
  color: var(--text-light);

  #page,
  #content,
  .site,
  .site-content,
  .content-area,
  main,
  article,
  section,
  .container-fluid,
  .tt-container {
    background: transparent !important;
    color: inherit;
  }

  .breadcrumb a {
    background: transparent;
    box-shadow: none;
    color: var(--text-light);
  }

  .titulo-pagina h1,
  .topo-pagina .complemento-topo p,
  .filtros p,
  .filtros label {
    color: var(--text-light) !important;
  }

  .filtros::after {
    background: #3b3b3b;
  }

  .newsletter {
    background: #2c2c2c;

    h2,
    input {
      color: var(--text-light);
    }

    input {
      border-bottom-color: var(--text-light);
    }
  }
}

.bg-escuro-home,
.bg-escuro-sobre,
.bg-escuro-projetos,
.bg-escuro-projeto-single {
  background: var(--bg-dark);
  color: var(--text-light);
}

.inicio-escuro {
  background: var(--gradient-dark);
}

@media (max-width: 1600px) {
  header {
    .nav-header {
      padding: 22px 20px;
    }

    .nav-header .menu-itens a {
      font-size: 14px;
    }
  }
}

@media (max-width: 1200px) {
  :root {
    --container-pad: 24px;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    top: var(--menu-scroll-y, 0px);
    overscroll-behavior: none;
  }

  .open-menu {
    display: block;
  }

  .close-menu {
    position: fixed;
    top: 20px;
    top: calc(20px + env(safe-area-inset-top));
    right: -100vw;
  }

  header {
    .nav-header {
      padding: 18px 14px;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      background: var(--header-bg);
      border-color: rgba(255, 255, 255, .16);

      .menu-itens {
        position: fixed;
        inset: 0;
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        background: #0a0a0a;
        padding: 96px 24px 24px;
        padding:
          calc(96px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
        z-index: 99;

        li {
          margin: 0 0 14px 0 !important;
        }

        li a {
          font-size: 19px !important;
          font-weight: 600;
          color: var(--text-light);
        }

        li .nav-search-toggle {
          font-size: 19px !important;
          font-weight: 600;
          color: var(--text-light);
          width: auto;
        }
      }

      ul {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        text-align: right;
      }

      .social-itens {
        position: fixed;
        z-index: 100;
        top: 90px;
        right: -100vw;
        opacity: 0;
        transition: right .3s ease, opacity .3s ease;
      }

      .header-search-panel {
        position: fixed;
        right: 24px;
        right: calc(24px + env(safe-area-inset-right));
        left: auto;
        top: 90px;
        top: calc(90px + env(safe-area-inset-top));
        width: calc(100vw - 48px);
        max-width: 620px;
      }

      &.active {
        .close-menu {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          right: 24px;
          right: calc(24px + env(safe-area-inset-right));
          top: 20px;
          top: calc(20px + env(safe-area-inset-top));
          color: var(--text-light);
        }
      }
    }
  }
}

@media (max-width: 992px) {
  body {
    font-size: 17px;
    line-height: 1.3;
  }

  footer {
    .box-contato {
      flex-direction: column;
    }

    .box-contato h2 {
      text-align: center;
      margin-bottom: 30px;
    }

    .footer-links-row {
      flex-direction: column;
      gap: 24px;
    }

    .footer-col {
      width: 100%;
    }

    .footer-copy {
      padding: 0 12px;
    }

    .copy {
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
  }

  .card-projeto {
    width: calc(50% - .75rem);
  }

  .card-projeto img {
    height: 240px;
  }

  .card-principal {

    img,
    .bg-layer {
      height: 540px;
    }

    .bg-layer {
      padding: 20px;
    }

    p {
      font-size: 32px;
      margin-bottom: 0;
    }
  }

  .reading-search {
    .post-excerpt {
      padding: 16px;
    }

    .excerpt-header .the-title h1 {
      font-size: clamp(22px, 4.4vw, 30px);
    }
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 18px;
  }

  body {
    font-size: 16px;
    line-height: 1.35;
  }

  .breadcrumb {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    a {
      margin-left: 0;
      padding: 6px 14px;
      font-size: 12px;
    }
  }

  .btn-404 {
    min-width: 210px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .card-projeto {
    width: 100%;
  }

  .reading-search {
    padding: 20px 0 56px;

    .page-header .the-title h1 {
      font-size: clamp(28px, 8vw, 40px);
    }

    .post-excerpt {
      padding: 14px;
    }

    .excerpt-header {
      margin-top: 12px;
    }

    .the-content a {
      font-size: 15px;
    }
  }

  header {
    .nav-header {
      .header-search-form {
        grid-template-columns: 1fr auto;
      }

      .header-search-submit {
        grid-column: 1 / -1;
      }
    }
  }

  .botoes-flutuantes {
    right: 1rem;
    right: calc(1rem + env(safe-area-inset-right));
    bottom: 75px;
    bottom: calc(75px + env(safe-area-inset-bottom));
  }
}
