.tmfaq-widget,
.tmfaq-widget * {
  box-sizing: border-box;
}

.tmfaq-widget {
  --tmfaq-paper: #f5f8fa;
  --tmfaq-paper-blue: #e6f0f5;
  --tmfaq-navy: #31577e;
  --tmfaq-navy-deep: #263f59;
  --tmfaq-night: #20252a;
  --tmfaq-accent: #b8d6e9;
  --tmfaq-open: #dceaf2;
  --tmfaq-line: rgba(49, 87, 126, .22);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: clamp(58px, 6vw, 88px) 24px;
  background-color: var(--tmfaq-paper);
  color: var(--tmfaq-navy-deep);
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.tmfaq-widget::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(49, 87, 126, .042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 87, 126, .042) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
}

.tmfaq-widget::after {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -150px;
  width: 620px;
  height: 330px;
  border: 1px solid rgba(49, 87, 126, .1);
  border-radius: 50%;
  content: "";
  transform: rotate(-9deg);
}

.tmfaq-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.tmfaq-margin-sketch {
  position: absolute;
  z-index: -1;
  display: block;
  background-position: center 42px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: var(--tmfaq-navy);
  pointer-events: none;
  opacity: .66;
}

.tmfaq-margin-sketch::before {
  position: absolute;
  top: 7px;
  color: currentColor;
  content: "";
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.tmfaq-margin-sketch::after {
  position: absolute;
  bottom: 7px;
  color: currentColor;
  content: "";
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.tmfaq-study-corner {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  border-color: currentColor;
  opacity: .78;
}

.tmfaq-study-corner-tl {
  top: 28px;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.tmfaq-study-corner-tr {
  top: 28px;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

.tmfaq-study-corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.tmfaq-study-corner-br {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.tmfaq-margin-sketch-left {
  top: 60px;
  left: -352px;
  width: 350px;
  height: 500px;
  background-image: url("../images/faq-head-study.png");
  transform: rotate(-1.5deg);
}

.tmfaq-margin-sketch-left::before {
  left: 9px;
  content: "ESTUDO 01 / CABEÇA + FORMA";
}

.tmfaq-margin-sketch-left::after {
  left: 43px;
  content: "FORMA / ESTRUTURA";
}

.tmfaq-margin-sketch-right {
  top: 245px;
  right: -362px;
  bottom: auto;
  width: 360px;
  height: 500px;
  background-image: url("../images/faq-bird-study.png");
  transform: rotate(1deg);
}

.tmfaq-margin-sketch-right::before {
  right: 9px;
  content: "ESTUDO 02 / TEXTURA + RENDER";
}

.tmfaq-margin-sketch-right::after {
  right: 43px;
  content: "CONSTRUÇÃO / TEXTURA";
}

.tmfaq-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: 188px;
  padding: clamp(32px, 4vw, 48px) clamp(34px, 5vw, 66px);
  border-top: 2px solid var(--tmfaq-navy);
  background-color: var(--tmfaq-paper-blue);
  box-shadow: 0 18px 48px rgba(38, 63, 89, .09);
  color: var(--tmfaq-navy-deep);
  grid-template-columns: minmax(300px, 1fr) minmax(290px, 410px);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(44px, 7vw, 100px);
  clip-path: polygon(0 0, 98.5% 0, 100% 18%, 99.1% 100%, 0 100%);
}

.tmfaq-intro::before {
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 42%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(49, 87, 126, .15);
  border-radius: 48% 52% 46% 54%;
  content: "";
  transform: rotate(14deg);
}

.tmfaq-intro::after {
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: -72px;
  width: 330px;
  height: 154px;
  background: rgba(49, 87, 126, .08);
  clip-path: polygon(20% 0, 100% 18%, 100% 100%, 0 100%);
  content: "";
  transform: rotate(-2deg);
}

.tmfaq-blueprint {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(49, 87, 126, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 87, 126, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.tmfaq-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 11px;
  margin: 0 0 12px;
  color: var(--tmfaq-navy);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tmfaq-eyebrow::before {
  width: 38px;
  border-top: 1px solid currentColor;
  content: "";
  opacity: .75;
  transform: rotate(-3deg);
}

.tmfaq-title {
  position: relative;
  align-self: start;
  max-width: 620px;
  margin: 0;
  color: var(--tmfaq-navy-deep);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(48px, 4.8vw, 66px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .92;
}

.tmfaq-title::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -6px;
  left: 17%;
  height: 14px;
  background: var(--tmfaq-accent);
  clip-path: polygon(1% 35%, 97% 0, 100% 68%, 4% 100%);
  content: "";
  opacity: .76;
  transform: rotate(-1deg);
}

.tmfaq-lead {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 390px;
  margin: 0 0 25px;
  color: #526779;
  font-size: 16px;
  line-height: 1.58;
}

.tmfaq-legend {
  position: absolute;
  z-index: 2;
  right: clamp(34px, 5vw, 66px);
  bottom: 24px;
  display: flex;
  width: min(31%, 350px);
  align-items: center;
  gap: 12px;
  color: var(--tmfaq-navy);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tmfaq-legend i {
  flex: 1;
  border-top: 1px solid rgba(49, 87, 126, .45);
  transform: rotate(-.5deg);
}

.tmfaq-legend strong {
  color: var(--tmfaq-navy-deep);
  font-size: 15px;
}

.tmfaq-content {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 40px) clamp(14px, 2.2vw, 24px) 0;
}

.tmfaq-content::before {
  position: absolute;
  top: 20px;
  left: 4px;
  width: 92px;
  height: 1px;
  background: var(--tmfaq-navy);
  box-shadow: 17px 5px 0 rgba(49, 87, 126, .22);
  content: "";
  opacity: .48;
  transform: rotate(-2deg);
}

.tmfaq-columns {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.tmfaq-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.tmfaq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(49, 87, 126, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 4px 5px 0 rgba(184, 214, 233, .22), 0 10px 24px rgba(38, 63, 89, .045);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tmfaq-item:nth-child(odd) {
  transform: rotate(-.1deg);
}

.tmfaq-item:nth-child(even) {
  transform: rotate(.1deg);
}

.tmfaq-item::after {
  position: absolute;
  top: 7px;
  right: 48px;
  width: 24px;
  border-top: 1px solid rgba(49, 87, 126, .14);
  content: "";
  transform: rotate(-7deg);
}

.tmfaq-item:hover {
  border-color: rgba(49, 87, 126, .42);
  box-shadow: 6px 7px 0 rgba(184, 214, 233, .28), 0 12px 26px rgba(38, 63, 89, .06);
  transform: translateY(-2px) rotate(0);
}

.tmfaq-item.is-open {
  border-color: rgba(49, 87, 126, .46);
  background-color: var(--tmfaq-open) !important;
  box-shadow: 7px 8px 0 rgba(184, 214, 233, .3);
  transform: rotate(0);
}

.tmfaq-item-heading {
  margin: 0;
  padding: 0;
  font: inherit;
}

.tmfaq-trigger {
  display: grid;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
}

.tmfaq-trigger:focus-visible {
  outline: 3px solid rgba(49, 87, 126, .45);
  outline-offset: -4px;
}

.tmfaq-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(49, 87, 126, .24);
  color: var(--tmfaq-navy);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  transform: rotate(-2deg);
}

.tmfaq-question {
  color: var(--tmfaq-navy-deep);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 600;
  line-height: 1.28;
}

.tmfaq-icon {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(49, 87, 126, .36);
  border-radius: 50%;
  transform: rotate(2deg);
}

.tmfaq-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  border-top: 1.5px solid var(--tmfaq-navy);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.tmfaq-icon i:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tmfaq-item.is-open .tmfaq-icon {
  background: var(--tmfaq-navy);
}

.tmfaq-item.is-open .tmfaq-icon i {
  border-color: #fff;
}

.tmfaq-item.is-open .tmfaq-icon i:last-child {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.tmfaq-answer {
  border-top: 1px dashed rgba(49, 87, 126, .24);
}

.tmfaq-answer[hidden] {
  display: none;
}

.tmfaq-answer-content {
  padding: 18px 24px 22px 58px;
  color: #526779;
  font-size: 15px;
  line-height: 1.58;
  animation: tmfaq-answer-in 200ms ease both;
}

.tmfaq-answer-content p {
  margin: 0 0 10px;
}

.tmfaq-answer-content p:last-child {
  margin-bottom: 0;
}

.tmfaq-more {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: 132px;
  margin-top: clamp(30px, 4vw, 46px);
  padding: 28px clamp(28px, 4vw, 52px);
  background-color: var(--tmfaq-navy-deep);
  box-shadow: 0 18px 42px rgba(32, 37, 42, .14);
  color: #fff;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  clip-path: polygon(0 7%, 2% 0, 100% 0, 100% 88%, 98.4% 100%, 0 100%);
}

.tmfaq-more::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(184, 214, 233, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 214, 233, .055) 1px, transparent 1px);
  background-size: 31px 31px;
  content: "";
}

.tmfaq-more::after {
  position: absolute;
  z-index: -1;
  top: -135px;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(184, 214, 233, .16);
  border-radius: 50%;
  content: "";
}

.tmfaq-more-copy {
  max-width: 690px;
}

.tmfaq-more-label {
  margin: 0 0 4px !important;
  color: var(--tmfaq-accent);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.tmfaq-more-copy h3 {
  margin: 0 0 5px;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.tmfaq-more-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.5;
}

.tmfaq-more-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 205px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(184, 214, 233, .62);
  border-radius: 3px;
  background-color: var(--tmfaq-navy);
  box-shadow: 5px 6px 0 rgba(184, 214, 233, .12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tmfaq-more-button i {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.tmfaq-more-button i::before {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 10px;
  border-top: 1px solid currentColor;
  content: "";
  transform: translateY(-50%);
}

.tmfaq-more-button i::after {
  position: absolute;
  top: 9px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.tmfaq-more-button:hover,
.tmfaq-more-button:focus-visible {
  background: #fff;
  box-shadow: 3px 4px 0 rgba(184, 214, 233, .28);
  color: var(--tmfaq-navy-deep);
  text-decoration: none;
  transform: translate(2px, 2px);
}

.tmfaq-more-button:hover i,
.tmfaq-more-button:focus-visible i {
  border-color: rgba(38, 63, 89, .45);
}

.tmfaq-more-arrow {
  position: absolute;
  z-index: 0;
  right: 244px;
  bottom: 12px;
  width: 82px;
  height: 38px;
  border-bottom: 1px solid rgba(184, 214, 233, .34);
  border-radius: 0 0 52% 48%;
  transform: rotate(-7deg);
}

.tmfaq-more-arrow::after {
  position: absolute;
  right: -1px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(184, 214, 233, .55);
  border-bottom: 1px solid rgba(184, 214, 233, .55);
  content: "";
  transform: rotate(-38deg);
}

@keyframes tmfaq-answer-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1380px) {
  .tmfaq-margin-sketch-left {
    left: -165px;
    opacity: .34;
  }

  .tmfaq-margin-sketch-right {
    right: -185px;
    opacity: .34;
  }
}

@media (max-width: 900px) {
  .tmfaq-intro {
    grid-template-columns: minmax(250px, 1fr) minmax(230px, 330px);
    column-gap: 34px;
  }

  .tmfaq-title {
    font-size: clamp(46px, 7vw, 60px);
  }

  .tmfaq-margin-sketch {
    opacity: .12;
  }
}

@media (max-width: 760px) {
  .tmfaq-widget {
    padding: 42px 15px;
  }

  .tmfaq-margin-sketch {
    display: none;
  }

  .tmfaq-intro {
    display: block;
    min-height: 278px;
    padding: 34px 27px 58px;
    clip-path: polygon(0 0, 97% 0, 100% 5%, 100% 100%, 0 100%);
  }

  .tmfaq-title {
    max-width: 520px;
    margin-bottom: 20px;
    font-size: clamp(44px, 13vw, 57px);
  }

  .tmfaq-lead {
    max-width: 520px;
    margin: 0;
  }

  .tmfaq-legend {
    right: 27px;
    bottom: 22px;
    width: 42%;
  }

  .tmfaq-content {
    padding: 26px 4px 0;
  }

  .tmfaq-columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tmfaq-more {
    min-height: 0;
    padding: 29px 25px;
    grid-template-columns: 1fr;
    gap: 20px;
    clip-path: polygon(0 3%, 3% 0, 100% 0, 100% 96%, 97% 100%, 0 100%);
  }

  .tmfaq-more-button {
    width: 100%;
  }

  .tmfaq-more-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .tmfaq-trigger {
    min-height: 60px;
    padding-right: 12px;
    grid-template-columns: 31px minmax(0, 1fr) 26px;
    gap: 9px;
  }

  .tmfaq-number {
    width: 28px;
    height: 28px;
  }

  .tmfaq-question {
    font-size: 15px;
  }

  .tmfaq-answer-content {
    padding: 16px 16px 19px 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmfaq-item,
  .tmfaq-icon i,
  .tmfaq-answer-content,
  .tmfaq-more-button {
    animation: none !important;
    transition: none !important;
  }
}
