/* Vídeos e referências */
.video-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 5px solid #f4b651;
  background: #132b42;
  color: #fff9ec;
}

.video-section::before {
  position: absolute;
  z-index: -1;
  top: -20rem;
  right: -16rem;
  width: 49rem;
  aspect-ratio: 1;
  border: 1px solid rgb(193 222 228 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgb(193 222 228 / 4%), 0 0 0 7rem rgb(193 222 228 / 3%);
  content: "";
  pointer-events: none;
}

.video-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: end;
  column-gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(2rem, 4.5vw, 3.8rem);
}

.video-heading > .eyebrow {
  grid-column: 1 / -1;
}

.video-heading h2,
.sources-grid h2,
.final-grid h2 {
  color: inherit;
}

.video-heading h2 {
  margin-top: .65rem;
  text-wrap: balance;
}

.video-heading .eyebrow,
.video-heading h2 em {
  color: #f4b651;
}

.video-heading > p {
  margin: 0 0 .1rem;
  padding-inline-start: 1.35rem;
  border-inline-start: 1px solid rgb(246 216 163 / 55%);
  color: #dae8ed;
}

.video-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4a657b;
  border-radius: 1.2rem;
  background: #1a374e;
}

.video-frame {
  position: relative;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  background: #152c40;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-copy {
  display: grid;
  align-content: start;
  align-items: start;
  min-height: 11rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.video-card-copy h3 {
  margin: 0;
  color: #fff9ec;
  font-size: clamp(1.32rem, 2.7vw, 2rem);
  line-height: 1.13;
}

.video-card-copy p {
  margin: .65rem 0 .45rem;
  color: #dae8ed;
}

.video-card-copy .underlined-link {
  justify-self: start;
  min-height: 44px;
  color: #ffcf7a;
}

.video-footer {
  display: flex;
  align-items: center;
  gap: 1rem clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 4vw, 2.8rem);
  padding-top: clamp(1.25rem, 3vw, 2.2rem);
  border-top: 1px solid #4a657b;
}

.video-footer .btn {
  flex-shrink: 0;
  background: #f4b651;
  color: #172e3c;
}

.video-footer .btn:hover {
  background: #ffce7b;
}

.video-independent {
  margin: 0;
  color: #dae8ed;
  font-size: .875rem;
}

/* Guia */
.guide-section {
  background: linear-gradient(90deg, #efc37b 0 27%, #fff3db 27% 100%);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.guide-photo {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(1rem, 3vw, 1.7rem);
  background: #06392e;
  box-shadow: 0 12px 32px rgb(60 39 12 / 13%);
}

.guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.guide-photo figcaption {
  margin: 0;
  padding: 1rem clamp(1rem, 3vw, 1.75rem);
  color: #fff9ec;
  font-size: .875rem;
}

.guide-text h2 {
  max-width: 15ch;
  margin-block: .8rem 1.05rem;
}

.guide-text > p {
  margin-bottom: 1.25rem;
}

.guide-text .eyebrow,
.guide-text h2 em {
  color: #894516;
}

.guide-features {
  border-top: 1px solid #d9bd8c;
}

.guide-features > div {
  display: grid;
  grid-template-columns: 2.55rem minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid #d9bd8c;
}

.guide-features > div > span {
  display: grid;
  place-items: center;
  width: 2.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd38c;
  color: #713a10;
}

.guide-features strong,
.guide-features small {
  display: block;
}

.guide-features small {
  margin-top: .14rem;
  color: #514637;
  font-size: .875rem;
  line-height: 1.45;
}

.guide-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .18rem .9rem;
  margin: 1.35rem 0 1rem;
  color: #514637;
}

.guide-price strong {
  color: #06392e;
  font: 700 clamp(1.9rem, 4vw, 2.6rem)/1 Georgia, serif;
  white-space: nowrap;
}

.guide-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: 1.1rem;
  padding: .9rem 1rem;
  border-inline-start: 3px solid #087052;
  background: #f9efcf;
  color: #172e26;
  font-size: .875rem;
}

.guide-disclaimer .icon {
  flex-shrink: 0;
  color: #0a694c;
}

.guide-disclaimer p {
  margin: .15rem 0 0;
}

/* Perguntas frequentes */
.faq-section {
  border-block: 1px solid #e8e0d0;
  background: #fffbf2;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.faq-heading {
  padding-inline-start: clamp(1rem, 3vw, 2.1rem);
  border-inline-start: 3px solid #0a694c;
}

.faq-heading h2 {
  margin-block: .75rem .95rem;
  text-wrap: balance;
}

.faq-heading p {
  margin-bottom: .75rem;
}

.faq-heading .underlined-link {
  min-height: 44px;
}

.faq-items {
  min-width: 0;
  border-top: 1px solid #cdd7cd;
}

.faq-items details {
  border-bottom: 1px solid #cdd7cd;
}

.faq-items details[open] {
  background: #edf5ec;
}

.faq-items summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  min-height: 3.8rem;
  padding: .7rem clamp(.7rem, 2.3vw, 1.3rem);
  color: #142b25;
  font-weight: 730;
  list-style: none;
  cursor: pointer;
  transition: background-color .18s ease;
}

.faq-items summary::-webkit-details-marker {
  display: none;
}

.faq-items summary:hover {
  background: #e7f0e6;
}

.faq-items summary > .icon {
  width: 1.8rem;
  height: 1.8rem;
  padding: .32rem;
  border: 1px solid #a5c2af;
  border-radius: 50%;
  color: #0a694c;
  transition: transform .18s ease;
}

.faq-items details[open] summary > .icon {
  transform: rotate(180deg);
}

.faq-items details > p {
  margin: 0;
  padding: 0 clamp(.7rem, 2.3vw, 1.3rem) 1.1rem;
  color: #364941;
  overflow-wrap: anywhere;
}

.faq-sources {
  margin-top: 1.25rem;
  color: #394b42;
  font-size: .875rem;
}

.faq-sources a {
  color: #0a6146;
  text-underline-offset: .16em;
}

/* Fontes */
.sources-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 0%, #0d694e, transparent 70%),
    #06392e;
  color: #fff9ec;
}

.sources-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 3.25rem);
}

.sources-grid > div:first-child {
  width: min(100%, 42rem);
  margin-inline: auto;
  text-align: center;
}

.sources-grid h2 {
  margin-top: .75rem;
  text-wrap: balance;
}

.sources-grid .eyebrow,
.sources-grid h2 em {
  color: #ffd589;
}

.sources-grid .eyebrow {
  justify-content: center;
}

.sources-grid > div:first-child > p {
  max-width: 38rem;
  margin: .6rem auto 0;
  color: #dcece1;
}

.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  width: min(100%, 59rem);
  margin-inline: auto;
}

.source-links > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  min-height: 5.5rem;
  padding: clamp(.75rem, 2.2vw, 1.3rem);
  border: 1px solid #8cb7a3;
  border-radius: .85rem;
  background: #eff7ed;
  color: #102f27;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.source-links > a:hover {
  border-color: #f4b651;
  background: #fff3db;
}

.source-links > a > span {
  display: grid;
  place-items: center;
  width: clamp(2.15rem, 5vw, 3.1rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a694c;
  color: #fff9ec;
}

.source-links > a:nth-child(even) > span {
  background: #f4b651;
  color: #142b25;
}

.source-links > a > .icon {
  color: #0a694c;
}

.source-links strong,
.source-links small {
  display: block;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.source-links small {
  margin-top: .2rem;
  color: #405a4f;
  font-size: .875rem;
}

/* Chamada final */
.final-section {
  padding-block: clamp(2.5rem, 6vw, 5.25rem);
  background: #f2e1c2;
}

.final-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.4rem, 5vw, 4rem);
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 4.5rem);
  border-radius: clamp(1rem, 3.5vw, 2rem);
  background: #0a674b;
  color: #fff9ec;
}

.final-grid::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 90% 115%, transparent 0 33px, rgb(238 247 236 / 15%) 34px 35px),
    linear-gradient(115deg, #06392e 36%, transparent 80%);
  content: "";
  pointer-events: none;
}

.final-grid h2 em {
  color: #ffcb73;
}

.final-grid h2 {
  max-width: 14ch;
  margin-bottom: .75rem;
}

.final-grid p {
  max-width: 37rem;
  margin: 0;
  color: #e7f0e7;
}

.final-grid > .btn {
  justify-self: start;
  background: #f4b651;
  color: #142b25;
}

.final-grid > .btn:hover {
  background: #ffce7b;
}

.video-section a:focus-visible,
.sources-section a:focus-visible,
.final-section a:focus-visible {
  outline-color: #ffce7b;
}

@media (max-width: 900px) {
  .guide-grid {
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .guide-photo img {
    aspect-ratio: 4 / 5;
  }

  .faq-grid {
    gap: clamp(1.5rem, 4.5vw, 3.5rem);
  }
}

@media (max-width: 730px) {
  .video-heading,
  .guide-grid,
  .faq-grid,
  .final-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-heading > p {
    margin-top: .8rem;
  }

  .video-footer {
    flex-direction: column;
    align-items: start;
  }

  .video-footer .btn {
    flex-shrink: 1;
  }

  .guide-section {
    background: linear-gradient(180deg, #efc37b 0 clamp(10rem, 43vw, 18rem), #fff3db 0);
  }

  .guide-photo img {
    aspect-ratio: 16 / 10;
  }

  .guide-text h2 {
    max-width: 20ch;
  }

  .sources-grid > div:first-child {
    margin-inline: 0;
    text-align: start;
  }

  .sources-grid .eyebrow {
    justify-content: flex-start;
  }

  .sources-grid > div:first-child > p {
    margin-inline: 0;
  }

}

@media (max-width: 560px) {
  .video-cards,
  .source-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-card-copy {
    min-height: 0;
  }

  .video-footer .btn,
  .guide-text > .btn,
  .final-grid > .btn {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .faq-items summary,
  .faq-items summary > .icon,
  .source-links > a {
    transition: none;
  }
}
